Thread: arrow keys
View Single Post
  #2  
Old 10-19-2002, 12:05 AM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
I doubt Stefan added the keycodes...they are those used by the BIOS/Windows. Just look in some table for the keycodes for the arrow keys.
Here, I found those in the header file of a DOS game programming library (Allegro):
NPC Code:

#define KEY_LEFT 82
#define KEY_RIGHT 83
#define KEY_UP 84
#define KEY_DOWN 85


I didn't test them though.
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote