2015-03-01, 00:47
(2015-01-29, 02:27)fbacher Wrote: I have Ubuntu 14.10 and using the kernel IR support, not lirc. I have an mce remote working for a number of navigation keys (left, right, up, down, play, etc.) but I can not get it to work for simple things like KEY_BACKSPACE or KEY_C, which I remapped a few keys to in order to avoid the > 255 problem.
Using ir-keytable -t, I can see that it properly generates KEY_C, or KEY_BACKSPACE, yet kodi does not recognize them.
This is very similar to my problem. Everything was working fine before 14.10, I'm just using a little Apple Remote, and after the upgrade my KEY_PLAYPAUSE and KEY_BACKSPACE no longer worked on the remote. I switched KEY_PLAYPAUSE to KEY_PLAY and it started working again...and KEY_BACKSPACE is, as you say, generated in ir-keytable -t but Kodi doesn't respond to it.
In a somewhat related issue, my whole ir-keytable -w command no longer seems to work (post 14.10 upgrade) from rc.local, although it does still work in Terminal.
Does anyone even know where kodi remaps ir-keytable key presses to kodi commands? For example in my keyboard keymap file I'm able to redefine <up> to VolumeUp during <FullscreenVideo>. So that my apple remote button (defined as KEY_UP) can change the volume while videos are playing. But I haven't the faintest idea how kodi knows to define KEY_UP to <up> in the first place. I know I didn't set that. I'd love to know because I have a feeling I wouldn't have to guess and check anymore how I should define my key presses in my ir-keytable configuration file. I've had to make edits to it in the past when things stopped working as well (for example at one point KEY_MENU no longer worked and I had to redefine it as KEY_BACKSPACE...now of course neither of them work. And then another time KEY_SPACE no longer worked, so I switched it to KEY_PLAYPAUSE. But this is all just guess and check because I don't know how or where kodi is interpreting my ir-keytable definitions).