|
|
Thread Tools | Search this Thread |
04-23-2022, 12:17 PM | #1 |
Groupie
Posts: 164
Karma: 13126
Join Date: Nov 2014
Device: Kindle Oasis
|
Magnetic cover buttons can they be re mapped, I don’t want volume control
That’s a waste , is it possible to get a scroll feature on these buttons
Thanks |
04-23-2022, 01:58 PM | #2 |
Wizard
Posts: 2,429
Karma: 10475447
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
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 08:20 AM. |
04-28-2022, 01:15 PM | #3 |
Enthusiast
Posts: 27
Karma: 19358
Join Date: Nov 2015
Device: Onyx Nova Air, Onyx boox i86ml plus, nook simple touch
|
I had the same problem with my Nova Air cover buttons.
Solved it by following Renate's hints, mostly: 1) Root the device with Magisk (See instructions here https://www.mobileread.com/forums/sh...d.php?t=346175) 2) Modify two letters inside framework-res.apk and put it in a custom Magisk module in order to disable the wait for long press, as described here https://www.mobileread.com/forums/sh...46&postcount=2 3) Modify gpio-keys.kl (see https://www.mobileread.com/forums/sh...4&postcount=37) replacing VOLUME_UP and VOLUME_DOWN with DPAD_UP and DPAD_DOWN and put it also in the magisk module. This maps the buttons to the up and down arrow keys, which works in neo reader and also in the kindle app to turn pages. And in some other apps as well, at least as arrow keys. I than modified my versions of einkbro browser and infinity-for-reddit to use these keys for page up/down. I then forgot to thank Renate. Thanks Renate! |
04-28-2022, 02:28 PM | #4 | |
Groupie
Posts: 164
Karma: 13126
Join Date: Nov 2014
Device: Kindle Oasis
|
Quote:
i am struggling to root my nova air c at the moment |
|
04-28-2022, 04:50 PM | #5 |
Wizard
Posts: 2,429
Karma: 10475447
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Volume control on i62HD? | Hrafn | Onyx Boox | 1 | 09-20-2012 04:10 PM |
volume/sound control | richard_iii | Nook Color & Nook Tablet | 1 | 01-26-2011 11:36 AM |
Volume Control | clintbradford | Amazon Kindle | 3 | 09-05-2010 08:33 AM |
Fixing the volume control. | JasonB | Sony Reader | 3 | 11-12-2009 01:21 PM |
Volume Control on DX | advocate2 | Amazon Kindle | 1 | 08-20-2009 09:31 PM |