Interfacing with arrow keys...

This is a discussion on Interfacing with arrow keys... within the Game Programming forums, part of the General Programming Boards category; Hi, Im trying to make a circle move around on the screen using arrow keys. Im using C ... Its ...

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    2

    Interfacing with arrow keys...

    Hi, Im trying to make a circle move around on the screen using arrow keys. Im using C ... Its just a simple thing and I need to interface with arrow keys but the scancodes of these keys have no effect on the program. I tried the same program using W,S,A and D keys for up, down, left & right and it works well. Any suggestions from anyone? OS= WinXP, Compiler = Turbo C 3.00, <graphics.h>
    Last edited by adityakarnad; 08-30-2003 at 01:28 PM.

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    2
    Thanks Salem... worked out. Im getting the values 328 336 333 and 331 for the arrow keys.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Movement with arrow keys
    By louis_mine in forum C Programming
    Replies: 3
    Last Post: 02-06-2005, 04:35 PM
  2. Ascii code for arrow keys
    By beginner in forum C Programming
    Replies: 1
    Last Post: 11-07-2002, 01:29 PM
  3. msdos arrow keys?
    By seditee in forum Game Programming
    Replies: 3
    Last Post: 05-08-2002, 12:29 AM
  4. Arrow keys
    By Nutshell in forum C Programming
    Replies: 5
    Last Post: 03-27-2002, 11:49 AM
  5. ascii value for the arrow keys
    By uvacow in forum C++ Programming
    Replies: 2
    Last Post: 02-27-2002, 06:17 PM

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