Thread Closed
v17 LibreELEC Testbuilds for x86_64 (Kodi 17.0)
(2016-07-27, 22:54)lrusak Wrote:
(2016-07-27, 21:35)Hitcher Wrote: With the default behaviour the 'menu' button does nothing except cycle subtitles when playing a video as far as I can see, it certainly doesn't open the context menu/info dialog.

I use a keymap so I can make the menu button open the info dialog and context menu (long press) as well as making the FF/RW act as pageup/pagedown buttons; the home button act as the shutdown menu on home; as well as many more shown here -

I have no idea how to use evtest, sorry.

So the whole point of the PR is to allow the remote to work OOTB without having to use a custom keymap.xml

If you think there are better defaults then what has been chosen then let me know.

To use evtest you must install the "system-tools" from the LibreELEC add-ons repo.
Then via command line
Code:
systemctl stop kodi
systemctl stop eventlircd
evtest
then you will see something similar to
Code:
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:    sapphire
/dev/input/event1:    Apple, Inc Apple Keyboard
/dev/input/event2:    Apple, Inc Apple Keyboard
pick the corresponding event to your device (eg. 1)
then press the buttons on the remote and you should see the key presses
Code:
Event: time 1469652788.301188, type 1 (EV_KEY), code 114 (KEY_VOLUMEDOWN), value 1
Event: time 1469652788.301188, -------------- SYN_REPORT ------------
Event: time 1469652788.373172, type 1 (EV_KEY), code 114 (KEY_VOLUMEDOWN), value 0
Event: time 1469652788.373172, -------------- SYN_REPORT ------------
Event: time 1469652790.077191, type 1 (EV_KEY), code 113 (KEY_MUTE), value 1
Event: time 1469652790.077191, -------------- SYN_REPORT ------------
Event: time 1469652790.149185, type 1 (EV_KEY), code 113 (KEY_MUTE), value 0
Event: time 1469652790.149185, -------------- SYN_REPORT ------------
Event: time 1469652790.517194, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 1
Event: time 1469652790.517194, -------------- SYN_REPORT ------------
Event: time 1469652790.581176, type 1 (EV_KEY), code 163 (KEY_NEXTSONG), value 0
Event: time 1469652790.581176, -------------- SYN_REPORT ------------
Event: time 1469652791.117196, type 1 (EV_KEY), code 164 (KEY_PLAYPAUSE), value 1
Event: time 1469652791.117196, -------------- SYN_REPORT ------------
Event: time 1469652791.189176, type 1 (EV_KEY), code 164 (KEY_PLAYPAUSE), value 0
match these key codes (eg. KEY_PLAYPAUSE) to what you would like to use in your keymap.xml

Code:
<KEY_MENU>Info</KEY_MENU>
still does nothing.
  Thread Closed
 
Thread Rating:
  • 11 Vote(s) - 3.91 Average


Messages In This Thread
3D HOU/HSBS issue - by .bismarck - 2016-06-20, 20:03
RE: LibreELEC Testbuilds for x86 (Kodi 17.0) - by Hitcher - 2016-07-27, 23:45
[Build #0903] breaks VAAPI - by MichaelAnders - 2016-09-04, 15:37
Update Failed - by n2vwz - 2016-09-27, 19:34


Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for x86_64 (Kodi 17.0)3.9111