View Single Post
Old 07-27-2010, 02:20 PM   #11
isotherm
Connoisseur
isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.isotherm can program the VCR without an owner's manual.
 
Posts: 79
Karma: 187319
Join Date: Jul 2010
Device: Kindle 2
Quote:
Originally Posted by NiLuJe View Post
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...
isotherm is offline   Reply With Quote