[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 112 113 114 115 116 117
- jhsrennie - 2010-09-20 13:05
Talibanhunter Wrote:Looking forward to your plugin jhsrennie.
See http://wiki.xbmc.org/index.php?title=Remote_Control_Reviews. The GP-IR02BK is MS compatible so the registry mods will work. Grab mceremote.zip from xbmcmce.sourceforge.net, run the CreateTestConfig.reg file and reboot, then see what ShowKey reports when you press the eject button. Post the details here.
- StefanM - 2010-09-20 16:09
jhsrennie Wrote:On my to do list is to write a Plugin that will do all the hard work for you ...
Fantastic work JR, if you need help or any other kind of support please write or pm
- Talibanhunter - 2010-09-20 17:01
The eject button sends keyid: 65(0x41) - VK_A
or this: <a mod="ctrl">Notification(Key, a, 3)</a>
- jhsrennie - 2010-09-20 20:39
Talibanhunter Wrote:The eject button sends keyid: 65(0x41) - VK_A
Oops, I now realise I either completely misread your post or mixed it up with someone else. Sorry, I wasted your time asking about the eject button.
To configure your remote run the MSRemote.reg file from mceremote.zip (and reboot) then run the CopyKeyboardDotXML.bat script to copy my customised keyboard.xml to your userdata folder. Incidentally the stuff in my customised keyboard.xml will be in the final release of Dharma though it isn't in beta 2.
You need to make one change to MSRemote.reg because it will configure your power button to send alt-F4, and if you want the power button to suspend your PC you need to change this.
Open MSRemote.reg with Notepad and find the line:
0c,00,00,00,04,04,3d,\ ; Power - was "03,82,00" sends alt-F4
and change it to:
0c,00,00,00,03,82,00,\ ; Power
then run your modified MSRemote.reg and reboot then run the CopyKeyboardDotXML.bat script.
Now you can tweak the function of the buttons by modifying your custom keyboard.xml. To edit the keyboard.xml press Windows-R and in the Run dialog type:
In the keyboard.xml are mappings for all the buttons on your remote, though many of tem are dummy mappings that just display a message. You need to change the action to be the one you want. For example there is a line:
<one mod="ctrl,alt">Notification(Key, Red button, 3)</one>
that controls the mapping for the red button. To make it open the context menu change this line to:
There is a Wiki article that lists all the actions, but the easy way is to look at the keyboard.xml in C:\Program Files\XBMC\system\keymaps as this contains all the default mappings.
- jhsrennie - 2010-09-20 20:41
StefanM Wrote:Fantastic work JR, if you need help or any other kind of support please write or pm
Thanks Stefan. Coding the plugin won't be difficult. I think the hardest bit will be working out exactly what it should do and how the user interface will work.
- elitegamer360 - 2010-09-21 01:13
Thank you JR for helping out in this thread! much appreciated
By the way I'm thinking of adding functionality to the following buttons which are not yet properly functional in revisions 1.1, 1.12 and 1.20 and they are (Red, Green, Yellow, Pictures, Radio, Videos and Music) but I am not sure what to make them do so any suggestions are welcome.
Some remotes may have additional buttons like zoom and eject etc.. I will be able to add functionality to zoom if requested but unfortunately I can't test it/them because my remote does not have these extra buttons.
- elitegamer360 - 2010-09-22 21:08
Just wanted to update regarding my tutorial! it's 55% complete, just going through final checks and preparing one visual example to make it fully comprehensive.
- Talibanhunter - 2010-09-22 21:44
jhsrennie Wrote:Oops, I now realise I either completely misread your post or mixed it up with someone else. Sorry, I wasted your time asking about the eject button.
Thanks, I'll look into it in the weekend. I'll post again if I run in to troubles.
- elitegamer360 - 2010-09-23 22:23
Updated to support the new Dharma MCE commands.
If my first post is becoming too complicated please let me know & I'll simplify it. Dont like complicated stuff my self
- Talibanhunter - 2010-09-24 15:55
JR, What I've done so far: Ran MSRemote.reg, reboot then ran the CopyKeyboardDotXML.bat script. And placed your folder ind the xbmc addons folder. But when I try to run your plugin in xbmc it says it's for windows only however I'm running windows 7 64bit so I can't see what I'm doing wrong.
And I have tried to change the keyboard.xml. Tried the one you sugessted <one mod="ctrl,alt">ContextMenu</one> but the red key still dosen't bring up the contextmenu.