Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: Demon-Seed on August 26, 2003, 01:17:34 pm
-
Hey Howard or anyone else who may know,
does dk use ascii for key presses in the menu? the redifine keys option is not working very well for me so I wanted to go in and manually put them in. But where can i find a list of codes that will explain what each letter is in the number form?
ie) C=67
As always thanks so much! Keep up the great work howard DK rocks!
-
no, the ascii system is inferior as it doesn't show all of the possible keys on your keyboard. Just like sicne the beginning, I still use good old vb keycodes, which record the actual scancode from your keyboard.
-
Ok, so what type of list do i need to look up? I am not sure. I guess VB codes? any good site for the list?
thanks howard
Jim
-
msdn.microsoft.com
-
no, the ascii system is inferior as it doesn't show all of the possible keys on your keyboard. Just like sicne the beginning, I still use good old vb keycodes, which record the actual scancode from your keyboard.
Shame that the number pad arrow keycodes are the same as the cursor keys when numlock is off :(
-
Then don't turn it off.
-
Then don't turn it off.
Heh :)
True, but sometimes programs mess with your numlock, which is a right pain.
I thought of 3 solutions: 1) Force numlock on, 2) compare keyascii codes as well (pain), 3) check for either keycodes, numlock on or off (pain).
BTW I am not moaning, my program works exactly the same. I just always found it odd why they made scancodes for (4x) 2 keys the same.