View Single Post
Old 07-13-2012, 02:01 AM   #139
Padawan Learner
cyclops0000 has learned how to buy an e-book online
cyclops0000's Avatar
Posts: 33
Karma: 86
Join Date: Jul 2012
Location: Galactic Sector ZZ9 Plural Z Alpha
Device: Kindle Touch
Originally Posted by geekmaster View Post
Yes. It would just be the Home key pressed and released twice during a short time period. You can read the keypress events in a script or a C program from the keyboard event device, or by calling the system "waitforkey" command. Of course, you need to do it in a separate thread so it does not stop video playback while checking for a keypress event. There are probably other ways to check for a keypress as well...
ok,i know its been a few days, but i just read your
post more thoroughly, and i saw what you said at the end about another way to check for a keypress event.
well i was fumbling around blindly while a video was going, trying to close the video(i had forgotten about ctr c) and i somehow typed in hd, which displays keypresses like command prompt in windows displays ctrl commands... with alot of arrows and a letter corresponding to the keypress.
i was wondering... could there be someway to use that to close videos?
btw sorry for grammatical/spelling errors, im typing this on my kindle... XD
cyclops0000 is offline   Reply With Quote