Quote:
Originally Posted by NiLuJe
NextPage:
echo "send 124" > /proc/keypad
|
Don't forget if you want to press a button from the direction pad, output to /proc/fiveway instead of /proc/keypad.
You can get the keycodes by running waitforkey with noparameters from shell. Once a key is pressed, it will output two numbers. The first is the key number (e.g. 124 for next page); the second is the key state (0 = released, 1 = pressed, 2 = held). If you want, you can run waitforkey with a key number as the parameter (e.g. waitforkey 124) and it will keep waiting until that specific key is pressed. This doesn't help with remapping, but one can add new keyboard shortcuts...