I've got my MCE remote working using the devinput driver and the RC6 protocol
I'm running
openSUSE 12.1 (x86_64)
3.1.10-1.9-desktop
xbmc-11.0-3.5.x86_64
All the normal buttons work, but I wanted to map an unused button to a xbmc action that is included in the default config.
lirc recognizes the button press and maps it to the correct KEY, but I have not figured out how to get xbmc to take the desired action.
I thought that it would be in the Lircmap.xml. I added the following line, but it did not work. To simplify the example, I have tried to assign 2 buttons the same action
<left>KEY_MEDIA</left>
<left>KEY_LEFT</left>
Here is what I get in the debug log when I press each button. (left, media, left, media)
18:56:05 T:140253824374880 DEBUG: LIRC: Update - NEW at 155304:0001006900000001 00 KEY_LEFT devinput (KEY_LEFT)
18:56:05 T:140253824374880 DEBUG: OnKey: 169 (a9) pressed, action is Left
18:56:06 T:140253824374880 DEBUG: LIRC: Update - NEW at 156554:000100e200000001 00 KEY_MEDIA devinput (KEY_MEDIA)
18:56:08 T:140253824374880 DEBUG: LIRC: Update - NEW at 158589:0001006900000001 00 KEY_LEFT devinput (KEY_LEFT)
18:56:08 T:140253824374880 DEBUG: OnKey: 169 (a9) pressed, action is Left
18:56:09 T:140253824374880 DEBUG: LIRC: Update - NEW at 159739:000100e200000001 00 KEY_MEDIA devinput (KEY_MEDIA)
Where is the proper place to map the KEY_MEDIA to a xbmc action such as Left?
Trying to map an unused button on MCE remote
AbcAv04
Junior Member Posts: 2 Joined: May 2012 Reputation: 0 |
2012-05-01 21:00
Post: #1
|
| find quote |
AbcAv04
Junior Member Posts: 2 Joined: May 2012 Reputation: 0 |
2012-05-02 05:35
Post: #2
Never mind.. I found it. the missing piece was the keymaps/remote.xml file.
Here is a good guide I eventually found that answered my question. http://forum.xbmc.org/showthread.php?tid=45972 |
| find quote |

Search
Help