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 / Keyboard Scancodes

Author
Message
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 27th Apr 2008 04:30 Edited at: 27th Apr 2008 04:33
Thought it might be useful. Obviously, the number on the top of the key is the scancode. I was actually trying to figure out WASD when I stumbled upon this, and it seems accurate.



Found at: http://discover-net.net/~dmkeil/images/pckey.gif

I don't need an oven to make my cookies.
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 27th Apr 2008 05:20
Thanks, that is really helpful!

~~Its not about what you know, its about how you figure it out.~~
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 27th Apr 2008 08:14
Wow... That beats that list I have anyday... well most days....

~~It's not who you are underneath, but what you do that defines you.~~
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 27th Apr 2008 21:08
Hmm... I noticed that the greater-than sign is backwards...

I AM THE ALL MIGHTY CORNHOLIO! Do you have TP for my bunghole?
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 27th Apr 2008 21:49
I don't think something as trivial as that is gonna kill anybody...

~~It's not who you are underneath, but what you do that defines you.~~
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 27th Apr 2008 21:52
Here's a file from my DarkGDK OOP Lib that has those already typed you can snag if you want. the alternate is the DIK keys that are declared in Microsoft's DirectH headers.. yeah I know I didn't name them.

jgc_common.h


gam3man
16
Years of Service
User Offline
Joined: 17th Nov 2007
Location:
Posted: 1st May 2008 03:00
thanks

http://gam3maker.ulmb.com/index.php
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 24th May 2008 07:35
Bump.

I AM THE ALL MIGHTY CORNHOLIO! Do you have TP for my bunghole?
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 24th May 2008 10:15
jason - wouldnt it have been bettere if you have make it like a class? But nice work...

eg:

Key.Caps
Key.LShift



Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 24th May 2008 15:58 Edited at: 24th May 2008 15:59
Yeah. [edit]Literals though for this type of data execute faster though DEeinately nicer for intellisense![/edit]

programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 24th May 2008 16:10
Wow, jason, you beat me to it. I shuld hav used that.... I made one myself-


It isn't as good as yours, because it doesn't use #define, but it gets the job done....

If anyone wants to use mine, they can!

~~Its not about what you know, its about how you figure it out.~~

Attachments

Login to view attachments
James Lee
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 27th May 2008 11:05
thanks..

Login to post a reply

Server time is: 2024-09-29 21:22:18
Your offset time is: 2024-09-29 21:22:18