Shift key extended code

This is a discussion on Shift key extended code within the Game Programming forums, part of the General Programming Boards category; hi i am developing a game in C . I want to move something with SHIFT keys i cannot get ...

  1. #1
    Unregistered
    Guest

    Shift key extended code

    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

  2. #2
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    depending on what you're doing, asciitable.com might be able to help you

  3. #3
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    also RBIL might help... if you are doing it in DOS... (Ralph Brown's Interrupt List)...
    hasafraggin shizigishin oppashigger...

  4. #4
    Visionary Philosopher Sayeh's Avatar
    Join Date
    Aug 2002
    Posts
    212
    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.
    It is not the spoon that bends, it is you who bends around the spoon.

  5. #5
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050

    Angry

    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...
    Last edited by TechWins; 08-23-2002 at 11:20 AM.

  6. #6
    Unregistered
    Guest

    thanks

    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to obtain more key code in curses ?
    By intmail in forum Linux Programming
    Replies: 1
    Last Post: 07-08-2006, 01:21 PM
  2. Simulating Shift Key
    By PrimeTime00 in forum Windows Programming
    Replies: 7
    Last Post: 10-15-2004, 06:53 AM
  3. << !! Posting Code? Read this First !! >>
    By kermi3 in forum Game Programming
    Replies: 0
    Last Post: 10-14-2002, 02:27 PM
  4. << !! Posting Code? Read this First !! >>
    By kermi3 in forum C# Programming
    Replies: 0
    Last Post: 10-14-2002, 02:26 PM
  5. Registery with api?
    By ismael86 in forum Windows Programming
    Replies: 1
    Last Post: 05-14-2002, 11:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21