home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_02_03 / keys.h < prev    next >
Text File  |  1991-03-21  |  737b  |  30 lines

  1. /************
  2.  *   keys.h
  3.  *   Definition of IBM keyboard codes
  4.  *   used by Bob Zigon's Bezier Curve program (pg. 50)
  5.  ************/
  6.      
  7.      
  8. #define ESC        27
  9. #define LEFT    (0x200 + 0x4b)
  10. #define RIGHT    (0x200 + 0x4d)
  11. #define UP        (0x200 + 0x48)
  12. #define DOWN    (0x200 + 0x50)
  13. #define PGUP    (0x200 + 0x49)
  14. #define PGDN    (0x200 + 0x51)
  15. #define HOME    (0x200 + 0x47)
  16. #define END        (0x200 + 0x4f)
  17. #define INS        (0x200 + 0x52)
  18. #define DEL        (0x200 + 0x53)
  19.  
  20. #define F1        (0x200 + 0x3b)
  21. #define F2        (0x200 + 0x3c)
  22. #define F3        (0x200 + 0x3d)
  23. #define F4        (0x200 + 0x3e)
  24. #define F5        (0x200 + 0x3f)
  25. #define F6        (0x200 + 0x40)
  26. #define F7        (0x200 + 0x41)
  27. #define F8        (0x200 + 0x42)
  28. #define F9        (0x200 + 0x43)
  29. #define F10        (0x200 + 0x44)
  30.