Shift key extended code [Archive] - C Board

PDA

View Full Version : Shift key extended code


Unregistered
08-13-2002, 12:59 PM
hi
i am developing a game in C . I want to move something with SHIFT keys i cannot get the SCAN code of SHIFT key . can anyone help me out with this?
bye

TechWins
08-13-2002, 01:45 PM
depending on what you're doing, asciitable.com might be able to help you

doubleanti
08-17-2002, 11:34 AM
also RBIL might help... if you are doing it in DOS... (Ralph Brown's Interrupt List)...

Sayeh
08-23-2002, 08:46 AM
A bit of an important note:

"key codes" are NOT ASCII codes. Key Codes are codes generated by the hardware to differentiate every single key on the keyboard, including the modifiers (Shift, Control, Alt, etc.).

Both the Left Shift Key and the Right Shift Key will have different Key Codes.

TechWins
08-23-2002, 10:16 AM
Sayeh, yes, but if you actually go there you'll notice that it has information on key codes.

EDIT: not sure why it's puttting a frowning face...

Unregistered
08-23-2002, 12:35 PM
hi
thanks to all of u for ur replys.
any how i did it using memory address 0x00000417L.. This address has the status for modifier keys like SHIFT,CAP Lock, Num lock etx..
bye