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.
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