View Single Post
Old 11-11-2022, 03:03 PM   #1
csdvrx
Enthusiast
csdvrx began at the beginning.
 
Posts: 25
Karma: 10
Join Date: May 2022
Device: kindle HD8 onyx
How to remap the power button and the launcher desactivated store icon?

Now that the cover buttons are working, I wonder if it's also possible to remap the power button with sds100 keymapper?

The goal is to hijack the power button "go to sleep" function, as the boox should still go to sleep by itself with the timer.

The boox could also be put to sleep with a magnet applied to the Hall sensor (like the cover does).

In any case, even if the power button key event is hijacked, pressing the power button would still cause a wakeup as it seem to be caused by a gpio triggering a change in the state machine.

The main gain would be to have a physical button for common actions (ex: back, screen rotation) and which could be mapped to its regular function (go to sleep) with keymapper for a long press, or a sequence of 2 quick power button press.

In the same vein, I wonder if it's possible to intercept the click on the default launcher side icon for the store, to launch something else (ex: fdroid, aurora...) if the store is desactivated in the settings.
csdvrx is offline   Reply With Quote