Isolating keypresses
Posted: Fri Nov 23, 2012 5:36 pm
hi all
It's possible to "capture" the keyboard same way we capture the mouse?
Details:
Trying something with the isKeyPressed primitive I found that if the key matches any of the shortcuts of FS3 ( you know, "z" for trigger button, "f" for float"), the keypress is correctly detected but it also tries to get the corresponding item from toolbox. NOt tested but I suspect same happend whith the isKeyPress ruby call
An once I started to ask. Why that doesn't happen when you use the PC Keyboard Midi In ?
Is there anyway to forbid that ?
It's possible to "capture" the keyboard same way we capture the mouse?
Details:
Trying something with the isKeyPressed primitive I found that if the key matches any of the shortcuts of FS3 ( you know, "z" for trigger button, "f" for float"), the keypress is correctly detected but it also tries to get the corresponding item from toolbox. NOt tested but I suspect same happend whith the isKeyPress ruby call
An once I started to ask. Why that doesn't happen when you use the PC Keyboard Midi In ?
Is there anyway to forbid that ?