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 / Question about a function

Author
Message
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th Apr 2008 00:44
The function dbKeyState needs the number of the key that is being pressed

What are the numbers for the keys? Is there a way of figuring it out?
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 24th Apr 2008 03:41
You could write a program that goes through all the numbers and see which one returns a positive.

Or you could go here https://www.glue.umd.edu/~nsw/ench250/scancode.htm

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 24th Apr 2008 03:45
I attached a header file with all the scancodes... Add it to your project and have it open when working... You can look at the keys while working...

~~It's not who you are underneath, but what you do that defines you.~~

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-20 07:18:27
Your offset time is: 2024-11-20 07:18:27