Talibanhunter Wrote:The eject button sends keyid: 65(0x41) - VK_A
mod: Ctrl
or this: <a mod="ctrl">Notification(Key, a, 3)</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.
But ...
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:
notepad %appdata%\xbmc\userdata\keymaps\keyboard.xml
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:
<one mod="ctrl,alt">ContextMenu</one>
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.
JR