View Single Post
Old 04-20-2022, 01:00 PM   #6
bazookajoe
Connoisseur
bazookajoe invented the internet.bazookajoe invented the internet.bazookajoe invented the internet.bazookajoe invented the internet.bazookajoe invented the internet.bazookajoe invented the internet.bazookajoe invented the internet.bazookajoe invented the internet.bazookajoe invented the internet.bazookajoe invented the internet.bazookajoe invented the internet.
 
Posts: 81
Karma: 84358
Join Date: Mar 2022
Device: Onyx Leaf, excessive amount of Android devices
This is the official magnetised Leaf Case (thought I'd specify for future reference).

Not sure if I did it right, but I got into shell and typed the events and your tool returned:

Code:
92 returns PAGE_UP: 0x5c 92
93 returns PAGE_DOWN: 0x5d 93
Via your tool the input commands you gave me plus the case buttons don't return any Linux values at all.

Android code results from your tool pressing the case buttons:

Code:
VOLUME_UP: 0x18 24
VOLUME_DOWN: 0x19 25
/system/usr/keylayout/gpio.kl:

Code:
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 102 HOME
key 528 FOCUS
key 766 CAMERA
I turned off Vol control options in Freda, Kindle and Moon+ and that lost me page turn so it's just default Volume Up and Volume Down across the board on all apps as far as I'm concerned. Launcher and non-reader apps are all Volume Control too.
bazookajoe is offline   Reply With Quote