View Single Post
Old 04-23-2022, 02:58 PM   #2
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 4,266
Karma: 20532285
Join Date: Feb 2012
Location: Germany
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
There's a long route from physical buttons to having an app do something. Things can be changed at many points along the way.

Button
Image dtb
Linux keylayout
Onyx keypad.json mapping
App dispatchKeyEvent

Are we talking about the Leaf? Do you own one?

Although it's the more obscure way to change things, if I had one, I'd change it in the dtb.
Why? Because even if it's trickier to binary modify the dtb on the kernel, it's not verified or error corrected. You don't even have to be rooted.

Edit: Also, many reading apps respond to VolUp/VolDn as page commands. After all, they are designed to work with phones too.

Last edited by Renate; 04-25-2022 at 09:20 AM.
Renate is offline   Reply With Quote