Home » U++ Library support » U++ Library : Other (not classified elsewhere) » How to determine if a key is down or up? (Aside from system keys)
How to determine if a key is down or up? (Aside from system keys) [message #12047] |
Tue, 09 October 2007 16:13 |
ulrich
Messages: 3 Registered: September 2007
|
Junior Member |
|
|
I need to detect whether a given key is up/down - how can I do this?
I noticed that for system keys like Ctrl/Spacebar/etc a key event gets sent once when it is pressed and a second time OR'd with K_KEYUP, when it is released. However this is not the case for other basic keys (e.g. a-z, etc).
Thanks in advance,
Luke
|
|
|
Goto Forum:
Current Time: Sat Sep 21 03:26:03 CEST 2024
Total time taken to generate the page: 0.04531 seconds
|