View Single Post
Old 12-15-2012, 01:14 PM   #1
Reventlov
Member
Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.
 
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
Intercept and stop keys

Hello. I'm searching for a way to stop events triggered by buttons on my kindle 4NT.
I want a way to execute a script until any button is pressed, and to go on the homepage then.
Currently, I use waitforkey, but the buttons trigger the menu, the virtual keyboard and other things, I want to avoid that.
Code:
waitforkey;
# Resume the interface
killall -CONT cvm;
# Go Home
echo "send 101" > /proc/keypad
Reventlov is offline   Reply With Quote