v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2018-03-09, 19:56)lrusak Wrote: @doug try stoping kodi first
Code:
systemctl stop kodi
Okay, now there are events recorded... 
Code:
Kodi-FR:~ # libinput-list-devices
Device:           flirc.tv flirc
Kernel:           /dev/input/event0
Group:            1
Seat:             seat0, default
Capabilities:     keyboard
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Here is the Enter key with a normal press and then a long press.
Code:
Kodi-FR:~/.update # libinput-debug-events --device /dev/input/event0
-event0 DEVICE_ADDED flirc.tv flirc seat0 default group1 cap:kp scroll-nat
event0 KEYBOARD_KEY +2.11s *** (-1) pressed
event0 KEYBOARD_KEY +2.30s *** (-1) released
event0 KEYBOARD_KEY +3.14s *** (-1) pressed
event0 KEYBOARD_KEY +4.83s *** (-1) released

I didn't include them above, but there are several keypresses (skip back, skip forward, ffd, rwd, stop, menu/guide, back ) that generate the exact same generic "*** (-1)" event output. Other keys generate unique events such as "KEY_UP (103)". My keys that generate unique events include, up, down, left right, play/pause, ctrl-F11, ctrl-F12.

Edit: the ctrl-F11 and ctrl-F12 are odd. They generate:
Code:
event0   KEYBOARD_KEY     +722.88s     *** (-1) pressed
 event0   KEYBOARD_KEY     +722.88s     KEY_F11 (87) pressed
 event0   KEYBOARD_KEY     +723.07s     *** (-1) released
 event0   KEYBOARD_KEY     +723.07s     KEY_F11 (87) released
So it appears the ctrl isn't uniquely identified.  I use the ctrl-XX kepresses with python scripts to change inputs, power on/off, etc. The scripts still run fine with the libinput changes.


Messages In This Thread
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by doug - 2018-03-10, 17:59
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24