Thread: Interfacing with arrow keys...

  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 12: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-07-2002, 11:29 PM
  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