[WINDOWS] HOW-TO use MCE remote in XBMC under Windows the easy way - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/forumdisplay.php?fid=59)
+---- Thread: [WINDOWS] HOW-TO use MCE remote in XBMC under Windows the easy way (/showthread.php?tid=78179)
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
- elitegamer360 - 2010-12-23 02:56
silvine Wrote:Is it possible to change the info button to i? Or live TV to zoom?
Tell me what the info button sends, also tell me what the Live TV & Zoom button sends then I'll let you know. Use showkey to find out what they send.
EDIT: Does the info send mouse click? IF yes let me know which one left or right.
- silvine - 2010-12-23 03:07
The info button right mouse clicks so I am guessing it can't be changed.
Here are the others I pressed that I've no use for.
<t mod="ctrl">Notification(Key, t, 3)</t> ; live tv' or 84 (0x54)-vk_t
<m mod="ctrl,shift">Notification(Key, m, 3)</m>; dvd
<b mod="ctrl,shift">Notification(Key, b, 3)</b>; recorded tv 79(0x4f)-vk_0
<t mod="ctrl,shift">Notification(Key, t, 3)</t>; yellow button
<browser_home>Notification(Key, browser_home, 3)</browser_home>; e button at the top left of my remote
It'd be great if I could bind one button to zoom and another to favourites.
Also when I pause a video and exit to the main navigation pane of XBMC I can see the video on the bottom right corner of the XBMC navigation pane. Is there anyway to bind a button to jump straight back to the video (preferably the 'e' button'? Normally, I just click on my videos and navigate to the video and 'resume' playback.
EDIT: I am not sure what the zoom button on my remote is.
EDIT: I included the keyboard codes for Live and Recorded TV as I am not sure if I am mixing them up
- elitegamer360 - 2010-12-23 03:29
silvine Wrote:The info button right mouse clicks so I am guessing it can't be changed.
Ahhh, this is very easy now you can do it yourself! cant you?
for those buttons:
and for this one:<browser_home>Notification(Key, browser_home, 3)</browser_home>; e button at the top left of your remote
just copy this code and paste it in the .ahk file below the other volume scripts I gave you earlier; I also recomend you use my Keyboard.xml v1.76
Save and exit, right click on the autohotkey icon "the one for blind" in the windows taskbar and select Reload this Script.
Any issues let me know, I'm going to bed now. Night
- silvine - 2010-12-23 04:29
Got it all working. Thanks for the help.
- elitegamer360 - 2010-12-23 19:09
silvine Wrote:Got it all working. Thanks for the help.
Hey silvine, you are welcome
Listen yesterday I did not say anything about the info/i button because I knew It will send a Rightmouse click, so there was no point giving you the script for it to add to the blind ones that I gave you yesterday. Becuase if you added it to them it will take effect in all and any windows screen hence will disable your mouse button, also the disadvantage of it that you might need to disable or enable the script each time you start XBMC which is a NO NO, at least from my point of view.
Well I just come back home and I have written a script that solves the problem above, its kinda simple but a bit more complicated than the one from yesterday. Basicly it will solve the right mouse button problem! And your WM_command buttons including the mouse button will work very well in XBMC and will work like normal out side XBMC :-) i.e out side XBMC "HID compliant consumer device" will take charge.
This is kinda good because as I can see it completley solves the "HID compliant consumer device" incompatiblity problems. I have another ideas in the bag but will reveal in due time. I do not want to spill the beans one time and then find bigger issues at hand :-)
If you are still interested in testing for me I'll post the code here.
- silvine - 2010-12-24 11:12
Yeah post it and I will give it a go. That'd be great.
- elitegamer360 - 2010-12-24 14:28
This time just right click on the Autohotkey "old Blind script" icon on your windows start menu taskbar and select "Edit script" Replace the old Script with this one:
Save then Exit the editing window. Right click again on that hotkey icon and select Reload This Script.
You should be good to go. I remapped my remote last night to emulate your one just to double check :-) let me know if all is good.
The good thing about autohotkey unlike Eventghost it takes ZERO CPU usage and only uses couple of kb's of memorry depending on script size no interference, light and superfast, I'm not arguing which one is better because this is not the subject here. Anyways If this goes well then I've got other plans to benefit XBMC MCE remote lovers
- igjunk - 2010-12-24 22:42
elitegamer360 Wrote:Thanks :-)
I am glad you decided to use the autohotkey to its fullest potential. I think, if you look into it futher, you'll find that there will be no reason to edit any other settings, except for the ahk file to map any key to any function in XBMC, including complex ones such as multiple key presses, sequential presses, etc.
Anyway, above script can just be added to the original "green button" ahk file.
Again, thanks a lot for your hard work and devotion to this project.
P.S. Happy Holidays!
- elitegamer360 - 2010-12-25 01:53
igjunk Wrote:I am glad you decided to use the autohotkey to its fullest potential. I think, if you look into it futher, you'll find that there will be no reason to edit any other settings, except for the ahk file to map any key to any function in XBMC, including complex ones such as multiple key presses, sequential presses, etc.
Ohh no, I'm just scratching the surface here.
Thanks for the support though.
Happy holidays :-)
- djcorvus - 2010-12-25 09:54
First of all, excellent tutorial. I've got it all working, except for a few issues:
1. I can't seem to get letter keypresses working on my remote (for example, when typing in a search on the youtube add-on). I've already got "Remote sends keypresses" turned on in settings.
2. I used to use EventGhost, and that allowed me to send my system to hibernation by pressing the power button on my remote. Since I've followed this tutorial, this is no longer the case. Instead, it brings up a menu with a whole bunch of options, neither of them being Hibernate. I've gone through the 'shutdown function' setting in 'system settings', but nothing seems to work. Is there a way that I can program the power button on my remote to once again put the system into hibernation (I think Windows 7 calls it S3 hybrid sleep mode)?
3. Lastly, I've followed the advanced settings guide to enable the "SmallStepBackwards" function when playing videos, however this doesn't work at all. When I'm playing videos, the back button still throws me back to the video selection screen.
I'm using Windows 7, running the latest XBMC Dharma 10.0.
If anyone could help me with this, it'll be greatly appreciated.
Thanks, and a merry Xmas to everyone!