How do I check if the remote presses show up as keyboard events?
So far I haven't seen button presses showing up in the kodi.log? Is there some setting I need to add? The only way that I've been able to see the codes for button presses have been by stopping eventlircd and stopping kodi. With kodi and eventlircd running I haven't been able to find any way to see the code for buttons pressed?
I started with a clean install of LE8.0.1. Have installed Exodus and the stuff that came with that, LCDproc and XBMC LCDproc. No more and no less, perhaps I'm missing some diagnostic tools?
My advancedsettings.xml is currently empty since I'm still working with the basics.
[hr]
These are the log posts I can find containing keyboard.xml
17:33:11.655 T:1961762816 INFO: Loading special://xbmc/system/keymaps/keyboard.xml
17:33:11.733 T:1961762816 INFO: Loading special://masterprofile/keymaps/keyboard.xml
And I found some buttonpresses as well.
13:46:28.335 T:1961762816 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
13:46:28.338 T:1961762816 DEBUG: OnKey: down (0xf081) pressed, action is Down
13:46:28.724 T:1961762816 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
13:46:28.969 T:1961762816 DEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0
13:46:28.970 T:1961762816 DEBUG: OnKey: right (0xf083) pressed, action is Right
13:46:29.358 T:1961762816 DEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0
13:46:29.418 T:1961762816 DEBUG: Previous line repeats 1 times.
13:46:29.418 T:1961762816 DEBUG: OnKey: right (0xf083) pressed, action is Right
13:46:29.684 T:1961762816 DEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0
13:46:32.129 T:1961762816 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
13:46:32.520 T:1961762816 DEBUG: OnKey: return (0xf00d) pressed, action is Select
13:46:33.234 T:1961762816 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
13:46:34.997 T:1961762816 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
13:46:34.997 T:1961762816 DEBUG: OnKey: down (0xf081) pressed, action is Down
13:46:35.278 T:1961762816 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
13:46:36.090 T:1961762816 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
13:46:36.346 T:1961762816 DEBUG: OnKey: return (0xf00d) pressed, action is Select
13:46:37.323 T:1961762816 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
13:46:38.777 T:1961762816 DEBUG: Keyboard: scancode: 0x9e, sym: 0x0008, unicode: 0x0000, modifier: 0x0
13:46:39.035 T:1961762816 DEBUG: OnKey: backspace (0xf008) pressed, action is Back
13:46:39.061 T:1961762816 DEBUG: Keyboard: scancode: 0x9e, sym: 0x0008, unicode: 0x0000, modifier: 0x0
13:46:40.929 T:1961762816 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
13:46:41.448 T:1961762816 DEBUG: Previous line repeats 1 times.
13:46:41.448 T:1961762816 DEBUG: OnKey: long-return (0x100f00d) pressed, action is ContextMenu
13:46:41.581 T:1961762816 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
13:46:43.716 T:1961762816 DEBUG: Keyboard: scancode: 0x9e, sym: 0x0008, unicode: 0x0000, modifier: 0x0
13:46:43.716 T:1961762816 DEBUG: OnKey: backspace (0xf008) pressed, action is Back
13:46:43.999 T:1961762816 DEBUG: Keyboard: scancode: 0x9e, sym: 0x0008, unicode: 0x0000, modifier: 0x0
13:46:47.786 T:1961762816 DEBUG: Previous line repeats 1 times.
13:46:47.787 T:1961762816 DEBUG: OnKey: backspace (0xf008) pressed, action is Back
Display More
13:46:41.448 is showing the longpress for the enter button ("ok" button named KEY_ENTER in justboom)
Notice the longpress is actually logged as long-return?
And the KEY_ENTER is recorded as return?
Could this be the problem? In my custom keyboard.xml I've been using <enter> and <enter mod="longpress">. Should it be <return> and <return mod="longpress"> instead?
And here are the error logs I could find.
17:33:09.440 T:1961762816 ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
Only one error entry in total.
[hr]
Success! Using <return mod="longpress"> in the custom keyboard.xml file solved the issue.
Thank you for all the help, you're a true hero.