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 » Community » Newbie corner » How to monitor key release event?
How to monitor key release event? [message #43049] Sun, 27 April 2014 01:01 Go to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I am writing small platformer game with map editor Smile and I would like to handle key release events. Is there any way to do this in current version of U++?

What I have spied is that Ctrl::Key(dword key, int count) returns two events(X11):
Key: 130897, 1 // <- Key press event.
Key: 1179475, 1 // <- Key release event.


Of course I can handle it manually (by absolute key value), but it isn't elegant solution and probably it isn't platform independent.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Sun, 27 April 2014 01:04]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Assist++ for STL
Next Topic: How does one create core and ctrllib as a dll?
Goto Forum:
  


Current Time: Sat Apr 27 12:16:45 CEST 2024

Total time taken to generate the page: 0.07243 seconds