Page 1 of 1
Keycodes
Posted: Tue Oct 14, 2003 4:53 pm
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)
The Keycode in Windows is: BC Hex and 188 Decimal.
Posted: Tue Oct 14, 2003 5:28 pm
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
Posted: Tue Oct 14, 2003 6:31 pm
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.
Posted: Wed Oct 15, 2003 1:38 pm
by niko
Uh.. sorry.
![Confused :?](./images/smilies/icon_confused.gif)