Hi
Nice guide! I followed a similar one to get the MCE remote working without LIRC etc.
Using this type of setup with ir-keytable, how do you add new custom buttons ? Other than what is already listed in the rc6_mce file or in my case the imon_mce file.
More details
here.
Thanks
I am using the rc6_mce keymap file on a HTPC upstairs in my bedroom. This is my modified keymap file if it helps anyone? I found I had to change things like KEY_OK to KEY_ENTER and KEY_FASTFORWARD to KEY_F etc for things to start working, used the keyboard shortcuts
here.
I also had to edit the keyboard.xml in some places, for example to get the DVD button on the MCE remote to open the Videos library in XBMC I had to do this:
rc6_mce keymap:- Rename KEY_DVD to KEY_F6
0x800f0424 KEY_F6 #DVD button - F6 ShowVideoMenu
keyboard.xml:- Add a new line in to the keyboard.xml file
<F6>ActivateWindow(Videos,MovieTitles)</F6> <!-- MCE DVD menu -->
You can see the list of all Actions you can use in the keyboard.xml file
here.
Code:
# table rc6_mce, type: RC6
0x800f0400 KEY_0 #Numeric_0 button
0x800f0401 KEY_1 #Numeric_1 button
0x800f0402 KEY_2 #Numeric_2 button
0x800f0403 KEY_3 #Numeric_3 button
0x800f0404 KEY_4 #Numeric_4 button
0x800f0405 KEY_5 #Numeric_5 button
0x800f0406 KEY_6 #Numeric_6 button
0x800f0407 KEY_7 #Numeric_7 button
0x800f0408 KEY_8 #Numeric_8 button
0x800f0409 KEY_9 #Numeric_9 button
0x800f040a KEY_BACKSPACE #Delete button - Backspace
0x800f040b KEY_ENTER #ENTER button - OK/Enter
0x800f040c KEY_SUSPEND #Was KEY_SLEEP - PC Power Button
0x800f040d KEY_ESC #MEDIA button/MCE Green button - Home
0x800f040e KEY_MUTE #Mute button
0x800f040f KEY_I #Info button - Information
0x800f0410 KEY_VOLUMEUP #Volume Up
0x800f0411 KEY_VOLUMEDOWN #Volume Down
0x800f0412 KEY_PAGEUP #ChannelUp button - PageUp
0x800f0413 KEY_PAGEDOWN #ChannelDown button - PageDown
0x800f0414 KEY_F #FastForward
0x800f0415 KEY_R #Rewind
0x800f0416 KEY_PLAY #Play Button
0x800f0417 KEY_RECORD #Record button - Turns off PC
0x800f0418 KEY_PLAYPAUSE #Was KEY_PAUSE - Pause Button
0x800f0419 KEY_X #Stop
0x800f041a KEY_F1 #Next button
0x800f041b KEY_F2 #Previous button
0x800f041c KEY_NUMERIC_POUND ## button NOT WORKING
0x800f041d KEY_NUMERIC_STAR #* button NOT WORKING
0x800f041e KEY_UP #Up Direction
0x800f041f KEY_DOWN #Down Direction
0x800f0420 KEY_LEFT #Back/Exit
0x800f0421 KEY_RIGHT #Right Direction
0x800f0422 KEY_ENTER #OK button - OK/Enter
0x800f0423 KEY_BACK #Back/Exit
0x800f0424 KEY_F6 #DVD button - F6 ShowVideoMenu
0x800f0425 KEY_TUNER #Not Working Live TV button
0x800f0426 KEY_C #EPG/Guide button - Context Menu
0x800f0427 KEY_ZOOM #Unknown
0x800f0432 KEY_MODE #Button is on Linksys DMA remote - Symbol = L (Linksys Menu button)
0x800f0433 KEY_PRESENTATION #Unknown
0x800f0434 KEY_EJECTCD #Unknown
0x800f043a KEY_BRIGHTNESSUP #Unknown
0x800f0446 KEY_TV #Unknown
0x800f0447 KEY_F3 #AUDIO button - F3 - XBMC Music
0x800f0448 KEY_PVR #Not Working Record TV button
0x800f0449 KEY_F4 #CAMERA button - F4 XBMC Pictures
0x800f044a KEY_F5 #VIDEO button - F5 XBMC Videos
0x800f044c KEY_LANGUAGE #Button is on Linksys DMA remote - Symbol = Radiating Speaker
0x800f044d KEY_TITLE #Button is on Linksys DMA remote - Symbol = Square with a line inside it at the bottom
0x800f044e KEY_PRINT #Unknown
0x800f0450 KEY_RADIO #Not Working Radio button
0x800f045a KEY_T #Subtitle button - Toggle Subtitles
0x800f045b KEY_RED #Red button
0x800f045c KEY_GREEN #Green button
0x800f045d KEY_YELLOW #Yellow button
0x800f045e KEY_BLUE #Blue button
0x800f0465 KEY_POWER2 #TV Power button
0x800f046e KEY_PLAYPAUSE #Not used ?
0x800f046f KEY_PLAYER #Unknown
0x800f0480 KEY_BRIGHTNESSDOWN #Unknown
0x800f0481 KEY_PLAYPAUSE #Not used ?