View Single Post
Old 04-28-2022, 01:15 PM   #3
nivieru
Enthusiast
nivieru has met Morla.nivieru has met Morla.nivieru has met Morla.nivieru has met Morla.nivieru has met Morla.nivieru has met Morla.nivieru has met Morla.nivieru has met Morla.nivieru has met Morla.nivieru has met Morla.nivieru has met Morla.
 
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!
nivieru is offline   Reply With Quote