[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] keyboard scan



Hi,

Does anyone have some code for scanning the keyboard so that I can 
read what key is pressed (held down) without having to also enter 
"enter". 

The application is jogging the position of a robot so we want the 
response while a key (eg the up arrow key) is held down. Having to 
continually press the key, and then press enter is problematic.

Any assistance would be greatly apreciated. 

Thanks

Reg Dunlop
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/