SHARE
TWEET

scancodes.h 16-08-11

spiderwebby Aug 16th, 2011 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //scancodes for every(?) key
  2. #define scan_a 0x1C
  3. #define scan_b 0x32
  4. #define scan_c 0x21
  5. #define scan_d 0x23
  6. #define scan_e 0x24
  7. #define scan_f 0x2B
  8. #define scan_g 0x34
  9. #define scan_h 0x33
  10. #define scan_i 0x43
  11. #define scan_j 0x3B
  12. #define scan_k 0x42
  13. #define scan_l 0x4B
  14. #define scan_m 0x3A
  15. #define scan_n 0x31
  16. #define scan_o 0x44
  17. #define scan_p 0x4D
  18. #define scan_q 0x15
  19. #define scan_r 0x2D
  20. #define scan_s 0x1B
  21. #define scan_t 0x2C
  22. #define scan_u 0x3C
  23. #define scan_v 0x2A
  24. #define scan_w 0x1D
  25. #define scan_x 0x22
  26. #define scan_y 0x35
  27. #define scan_z 0x1A
  28. #define scan_fslash 0x4A
  29. #define scan_bslash 0x61
  30. #define scan_semic 0x4C
  31. #define scan_comma 0x41
  32. #define scan_fullstop 0x49
  33.  
  34. #define scan_space 0x29
  35. #define scan_ctrl 0x14
  36. #define scan_alt 0x11
  37. #define scan_lshift 0x12
  38. #define scan_rshift 0x59
  39. #define scan_caps 0x58
  40. #define scan_tab 0x0d
  41. #define scan_return 0x5a
  42. #define scan_tilde 0x0e
  43. #define scan_1 0x16
  44. #define scan_2 0x1e
  45. #define scan_3 0x26
  46. #define scan_4 0x25
  47. #define scan_5 0x2e
  48. #define scan_6 0x36
  49. #define scan_7 0x3d
  50. #define scan_8 0x3e
  51. #define scan_9 0x46
  52. #define scan_0 0x45
  53. #define scan_minus 0x4e
  54. #define scan_equals 0x55
  55. #define scan_backspace 0x66
  56. #define scan_backslash 0x5d
  57. #define scan_esc 0x76
  58. #define scan_f1 0x05
  59. #define scan_f2 0x06
  60. #define scan_f3 0x04
  61. #define scan_f4 0x0c
  62. #define scan_f5 0x03
  63. #define scan_f6 0x0b
  64. #define scan_f7 0x83
  65. #define scan_f8 0x0a
  66. #define scan_f9 0x01
  67. #define scan_f10 0x09
  68. #define scan_f11 0x78
  69. #define scan_f12 0x07
  70. #define scan_scroll 0x7e
  71. #define scan_brk 0x77 //the end of e11477e1f014f077
  72. #define scan_ins 0x70
  73. #define scan_del 0x71
  74. #define scan_home 0x6c
  75. #define scan_end 0x69
  76. #define scan_pageup 0x7d
  77. #define scan_pagedown 0x7a
  78. #define scan_left 0x6b
  79. #define scan_right 0x74
  80. #define scan_up 0x75
  81. #define scan_down 0x72
  82. #define scan_numlock 0x77
  83. #define scan_numstar 0x7c
  84. #define scan_numminus 0x7b
  85. #define scan_numplus 0x79
  86. #define scan_numenter 0x5a
  87. #define scan_numpoint 0x71
  88. #define scan_num0 0x70
  89. #define scan_num1 0x69
  90. #define scan_num2 0x72
  91. #define scan_num3 0x7a
  92. #define scan_num4 0x6b
  93. #define scan_num5 0x73
  94. #define scan_num6 0x74
  95. #define scan_num7 0x6c
  96. #define scan_num8 0x75
  97. #define scan_num9 0x7d
  98.  
  99. #define scan_release 0xF0
  100. #define scan_extended 0xE0
RAW Paste Data
Top