home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / OS2HIST.ZIP / KEYDEFS.H < prev    next >
Text File  |  1988-02-05  |  945b  |  43 lines

  1. /*
  2.    ***********************************************************************
  3.    **  WLIB - Character Display window library                 **
  4.    **  Keyboard scan definitions for some popular keys    File: KEYDEFS.H **
  5.    **  Compile under Microsoft C, V3.00  Small memory model        **
  6.    ***********************************************************************
  7. */
  8.  
  9.  
  10. /* Keypad keys */
  11.  
  12. #define UPKEY 328
  13. #define DOWNKEY 336
  14. #define LEFTKEY 331
  15. #define RIGHTKEY 333
  16. #define PGUPKEY 329
  17. #define PGDOWNKEY 337
  18. #define HOMEKEY 327
  19. #define ENDKEY 335
  20. #define INSKEY 338
  21. #define DELKEY 339
  22.  
  23. /* Function Keys */
  24.  
  25. #define F1KEY 0x13B
  26. #define F2KEY 0x13C
  27. #define F3KEY 0x13D
  28. #define F4KEY 0x13E
  29. #define F5KEY 0x13F
  30. #define F6KEY 0x140
  31. #define F7KEY 0x141
  32. #define F8KEY 0x142
  33. #define F9KEY 0x143
  34. #define F10KEY 0x144
  35.  
  36. /* Other Keys */
  37.  
  38. #define ENTERKEY 13
  39. #define ESCKEY 27
  40. #define BSKEY 8
  41. #define TABKEY 9
  42. #define BACKTABKEY 271
  43.