What I found https://xnux.eu/devices/feature/volumekeys.html
On the PPP, there are following devices:
So I am able to read if the Volume_Key is pressed (from adc-keys) with:
Which gives me some debug outputs of the pressed hardware keys without debouncing:
The idea is to read this keys with something simple like: read or showkey to be able to make a simple if volume up and down statement to trigger screenshooter
but I do not get input from the volume keys with this methods...
On the PPP, there are following devices:
Code:
/dev/input/event0: gpio-vibrator
/dev/input/event1: adc-keys
/dev/input/event2: Goodix Capacitive TouchScreen
/dev/input/event3: gpio-key-power
/dev/input/event4: gpio-key-ri
/dev/input/event5: PinePhonePro Headphones
So I am able to read if the Volume_Key is pressed (from adc-keys) with:
Code:
libinput debug-events --device=/dev/input/event1
Which gives me some debug outputs of the pressed hardware keys without debouncing:
Code:
event1 DEVICE_ADDED adc-keys seat0 default group1 cap:k
event1 KEYBOARD_KEY +0.000s KEY_VOLUMEDOWN (114) pressed
event1 KEYBOARD_KEY +0.208s KEY_VOLUMEDOWN (114) released
event1 KEYBOARD_KEY +2.196s KEY_VOLUMEUP (115) pressed
event1 KEYBOARD_KEY +2.404s KEY_VOLUMEUP (115) released
The idea is to read this keys with something simple like: read or showkey to be able to make a simple if volume up and down statement to trigger screenshooter
but I do not get input from the volume keys with this methods...