View Single Post
Old 04-28-2022, 02:28 PM   #4
wakkaday
Groupie
wakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy bluewakkaday can differentiate black from dark navy blue
 
Posts: 164
Karma: 13126
Join Date: Nov 2014
Device: Kindle Oasis
Quote:
Originally Posted by nivieru View Post
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!
wow is there of compiling what you did to an .apk or something
i am struggling to root my nova air c at the moment
wakkaday is offline   Reply With Quote