Posts: 54
Joined: Jul 2008
Reputation:
0
Hi,
I have a remote for my Revo running XBMC Live and most buttons work, however 'Select' and 'Enter' do not, which obviously means I can't navigate menus! A bit of a pain. Is there any way to check what codes are being received - to map the buttons?
Thanks,
Mark
Posts: 54
Joined: Jul 2008
Reputation:
0
Thanks for the reply.
I tried it and found the button codes, but how do I find how these correspond to the remote.xml file? The 'select' button did not work, so I changed it to 'OK', which is what irw said was the code, but still no luck.
Also, remote.xml uses 'info', which works, while irw says this button is called 'More', so I was wondering if there is another way of deciphering?? I have not yet tried to see if 'More' works as well, but if remote.xml considers the button to be 'info', can it have two codes?
Any ideas?
Mark
Posts: 62
Joined: May 2005
Reputation:
0
To match a key on the remote to a function in XBMC the file you are looking for is Lircmap.xml under /home/<username>/.xbmc/userdata
Posts: 54
Joined: Jul 2008
Reputation:
0
Thanks! That makes sense! Will give it a go..
Posts: 54
Joined: Jul 2008
Reputation:
0
That makes far more sense. 'More' is indeed mapped to 'info', but 'OK' is mapped to 'select', as required. However, this means it just isn't working. If it is correctly setup in Lircmap.xml and remote.xml, why else might this not be working?
Has anyone got any suggestions here?
Posts: 62
Joined: May 2005
Reputation:
0
Lircmap.xml is case sensitive, is More and OK correct? You can check with irw.
Posts: 54
Joined: Jul 2008
Reputation:
0
Yes, it is correctly spelt and with the correct case. Should be working..!? Is there anything else that can affect it?
Posts: 54
Joined: Jul 2008
Reputation:
0
I have had a little further investigation, in case anyone can help..
I have looked at the debug logs and got this..
15:18:35 T:3079210880 M:1406783488 DEBUG: LIRC: Update - NEW at 79383:000000037ff07be0 00 Down mceusb (Down)
15:18:35 T:3079210880 M:1406783488 DEBUG: OnKey: 167 pressed, action is 4
15:18:36 T:3079210880 M:1401294848 DEBUG: LIRC: Update - NEW at 79966:000000037ff07be1 00 Up mceusb (Up)
15:18:36 T:3079210880 M:1401294848 DEBUG: OnKey: 166 pressed, action is 3
15:18:36 T:3079210880 M:1404420096 DEBUG: LIRC: Update - NEW at 80843:000000037ff07bdd 00 OK mceusb (OK)
15:18:36 T:3079210880 M:1404420096 DEBUG: OnKey: 11 pressed, action is 18
So, the OK key is detected ok. Also, if I swap the functions in Lircmap.xml for Play and OK, it all works. But when the buttons are correctly assigned, it doesn't
Is there any other way of testing not just that the button is received, but how it is interpreted?
Thanks,
Mark
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Key 11 is "select" on the remote, and Action 18 is "fullscreen". Check your keymap to see how this is eventuating.
Posts: 8
Joined: Aug 2010
Reputation:
0
That was it! It now works perfectly.
I downloaded the remote.xml from the SVN tagged with Camelot, replaced the newer one restarted and voila.
Thanks again!
Posts: 54
Joined: Jul 2008
Reputation:
0
Thanks for the translation. Not sure why it is doing that, but I will look into it!
Posts: 54
Joined: Jul 2008
Reputation:
0
jmarshall, sorry just saw that. Looks like that may have sorted it!
It was working a while ago, then I made some bad changes so downloaded the remote.xml file from the xbmc wiki. Must have been never than the xbmc I have! All sorted now!
Many thanks!