Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4457

K4 Intercept and stop keys

$
0
0
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


Viewing all articles
Browse latest Browse all 4457