View Single Post
Old 11-15-2012, 10:54 AM   #45
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by dsmid View Post
...
To simulate 5-way keypresses, you'll have to open "file" /proc/fiveway and write strings like "send 108\n" to it.

Code:
103    = Up
108    = Down
105    = Left
106    = Right
194    = Select
If it's beyond your hacking abilities, I can do it for you.
ah yes. I remember now...

Quote:
# send menu key twice to refresh display
#echo "send 139" > /proc/keypad
#echo "send 139" > /proc/keypad
for example for the keys. thanks for the refresher.
(that code was a hawhill quote btw)
twobob is offline   Reply With Quote