My objective is to run a function, and them comeback to main cycle to check if any key has been pressed in the meantime.
The function will take a few ms at most, but the key press is simulated (via bluetooth device), so i think it wont be the same as a human keypress (where the key stays down at least a few hundredths of a second), meaning i believe key press could occur only during the function.
If no key was pressed during that interval, function would be run again.
I´ve tried looking around, and found similar things in the file exchange(like getkey, that can read the bluetooth keypress) but locks until a key is pressed.
Any suggestions?
Thank You
|
|
0
|
|
|
|
Reply
|
Ironic
|
5/9/2010 11:39:04 PM |
|