Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
ulrich is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Drag & Drop example or documentation?
Next Topic: LOG_DBG does not work correctly [BUG]
Goto Forum:
  


Current Time: Sun Apr 28 09:33:57 CEST 2024

Total time taken to generate the page: 0.03733 seconds