|
|
#1 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 100218
Join Date: May 2021
Device: kobo touch, k3, k4, Nook Simple touch
|
monitoring for button presses on kindle 3
Hi, please could I check how to monitor for button presses on a k3? I can see from "showlog"
230222:131631 cvm[16729]: I FrameworkKeyEventDispatcher:USER_HARDKEY_PRESS:Key Pressed=Right_PrevPage:User pressed Right Side Turn Prev Page button but is this the only way to do it, and is it possible to read the keyboard presses too? I don't get anything from tailing the files in /dev/input/ The following link https://www.mobileread.com/forums/sh...d.php?t=164808 suggests you can get stuff from udev with udevadm , but I'm struggling to run that as it isn't found. Thank you for any help anyone can give, Rob |
|
|
|
|
|
#2 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The input devices report as perfectly sane evdev devices on /dev/input/event0 & /dev/input/event1 (I can't remember which is which, but I would assume event0 to be the power slider & page turn buttons, possibly the 5-way stick too; and event1 the keyboard).
So, yeah, you're probably doing something wrong .
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 100218
Join Date: May 2021
Device: kobo touch, k3, k4, Nook Simple touch
|
Thank you, I will go back and give it another try. Also thank you so much for all your work, I really appreciate it.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Forma How can I make my Forma auto power off after 24 hours of no taps or button presses? | droopy | Kobo Developer's Corner | 57 | 09-20-2019 08:38 PM |
| Aura ONE Kobo Aura ONE touchscreen generating random button presses, unresponsive | pl8o | Kobo Reader | 3 | 12-25-2018 05:04 AM |
| Monitoring incoming content on Kindle | masteranza | Kindle Developer's Corner | 10 | 06-23-2017 05:14 PM |
| Notification about power button presses for the K5 and hopefully for the KPW | PaulFreund | Kindle Developer's Corner | 2 | 04-15-2013 12:55 PM |
| Simulating Button Presses Externally | inuxy | Kindle Developer's Corner | 58 | 08-28-2012 02:55 PM |