Keycodes

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
Ironfoot
Posts: 15
Joined: Fri Aug 22, 2003 12:30 pm
Location: Germany
Contact:

Keycodes

Post by Ironfoot »

After searching it for hours, I just realised Niko didn't include the "Comma"-Key into his Events.
Actually, I Use the Windows-Virtual-Key, but I really would like to see it included in Irrlicht(e.g. for Platform Independence) :wink:
The Keycode in Windows is: BC Hex and 188 Decimal.
Great Engine, Niko, keep up the good work!
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

Windows Virtual Key? Do you mean the Windows Logo Key?

Code: Select all

00092                 KEY_LWIN             = 0x5B,  // Left Windows key (Microsoft® Natural® keyboard)  
00093                 KEY_RWIN             = 0x5C,  // Right Windows key (Natural keyboard)  
00094                 KEY_APPS             = 0x5D,  //Applications key (Natural keyboard)  
As far as a comma... is this it or is this the pipe (|)?

Code: Select all

00108                 KEY_SEPARATOR        = 0x6C,  // Separator key  
Crud, how do I do this again?
hearsedriver
Posts: 81
Joined: Fri Aug 22, 2003 12:06 pm
Location: Germany
Contact:

Post by hearsedriver »

saigumi wrote:Windows Virtual Key? Do you mean the Windows Logo Key?
No, he's talking about the VK_... keycode defines from winuser.h (VK_OEM_COMMA, to be precise)- Seems like Niko forgot to include it in the enumeration.

Cheers.
matthias gall, lead programmer at sechsta sinn - email matthias@sechsta-sinn.de
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Uh.. sorry. :?
Post Reply