Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Key numbers?

Author
Message
spine
16
Years of Service
User Offline
Joined: 24th Aug 2008
Location:
Posted: 11th May 2009 03:16
So, every button on the keyboard has a number. That's fine, but I have no idea what those numbers are. Could someone give me a list, please?
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 11th May 2009 03:42
You could use google to find a list, or you could include "dinput.h" and every key is defined by name like 'w' would be DIK_W and the spacebar would be DIK_SPACE (something like that)

#ifdef _DEBUG
FixBugs(All);
#endif
spine
16
Years of Service
User Offline
Joined: 24th Aug 2008
Location:
Posted: 11th May 2009 04:15
OK, thank you. I'll always use dinput.h from now on.
Krisacz
15
Years of Service
User Offline
Joined: 3rd Mar 2009
Location: UK, Manchester
Posted: 11th May 2009 15:21
Or you could use that image (see attachment).

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-25 12:46:42
Your offset time is: 2024-11-25 12:46:42