KEY_CONTROL

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Abraxas)
Posts: 227
Joined: Sun Oct 18, 2009 7:24 am

KEY_CONTROL

Post by Abraxas) »

Not sure if anyone has posted about this:

Why does KEY_CONTROL exist?

Wasted two hours of my life until I - by chance - happened on the API looking at something else and found that CONTROL != LCONTROL

What is this key and why is it in the first enumerators making people use it??

Thanks :/
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: KEY_CONTROL

Post by CuteAlien »

Because the codes are all based on the virtual-key codes from Windows. See http://msdn.microsoft.com/en-us/library ... 85%29.aspx
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply