Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

  1. // KBKEYDEF.H KEY DEFINITIONS
  2. #define ECOLNUMB 21 // NUMBER OF COLUMNS IN ENHANCED KEYBOARD
  3. #define EROWNUMB 7 // DITO ROWS
  4. #define ETOTALKEY 125 // ENHANCED KEYBOARD only main keys.
  5. // included separators
  6. // KEY NAMES
  7. #define KB_LSHIFT 0
  8. #define KB_RSHIFT 1
  9. #define KB_CAPLOCK 2
  10. #define KB_SPACE 3
  11. #define KB_LCTR 4
  12. #define KB_RCTR 5
  13. #define KB_LALT 6
  14. #define KB_RALT 7
  15. #define KB_NUMLOCK 8
  16. #define KB_PSC 9
  17. #define NO_NAME 10
  18. #define LED_NUMLOCK 11
  19. #define LED_CAPSLOCK 12
  20. #define LED_SCROLLLOCK 13
  21. #define ICON 14
  22. #define KB_SCROLL 15
  23. #define BITMAP 16
  24. // KEY TYPES
  25. #define KNORMAL_TYPE 1
  26. #define KMODIFIER_TYPE 2
  27. #define KDEAD_TYPE 3
  28. #define LED_NUMLOCK_TYPE 4
  29. #define LED_CAPSLOCK_TYPE 5
  30. #define LED_SCROLLLOCK_TYPE 6
  31. #define NUMLOCK_TYPE 7
  32. #define SCROLLOCK_TYPE 8
  33. // TYPE OF KEYBOARD
  34. #define LARGE 1
  35. #define SMALL 2
  36. #define BOTH 3
  37. #define NOTSHOW 4