Skip to content

Instantly share code, notes, and snippets.

@InTEGr8or
Created November 19, 2023 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save InTEGr8or/cdafb2049e32945a093685dc2182362a to your computer and use it in GitHub Desktop.
Save InTEGr8or/cdafb2049e32945a093685dc2182362a to your computer and use it in GitHub Desktop.
HID to ASCII map for 125 ASCII values. The `key` plus the `modifier` produces the ASCII `Dec`, which corresponds to the `Character`
Dec key modifier Character value
33 30 2 ! !
36 33 2 $ $
37 34 2 % %
38 36 2 & &
40 38 2 ( (
41 39 2 ) )
42 37 2 * *
43 46 2 + +
44 54 0 , ,
45 45 0 - -
46 55 0 . .
47 56 0 / /
48 39 0 0 0
49 30 0 1 1
50 31 0 2 2
51 32 0 3 3
52 33 0 4 4
53 34 0 5 5
54 35 0 6 6
55 36 0 7 7
56 37 0 8 8
57 38 0 9 9
58 51 2 : :
59 51 0 ; ;
60 54 2 < <
61 46 0 = =
62 55 2 > >
63 56 2 ? ?
64 31 2 @ @
65 4 2 A A
66 5 2 B B
67 6 2 C C
68 7 2 D D
69 8 2 E E
70 9 2 F F
71 10 2 G G
72 11 2 H H
73 12 2 I I
74 13 2 J J
75 14 2 K K
76 15 2 L L
77 16 2 M M
78 17 2 N N
79 18 2 O O
80 19 2 P P
81 20 2 Q Q
82 21 2 R R
83 22 2 S S
84 23 2 T T
85 24 2 U U
86 25 2 V V
87 26 2 W W
88 27 2 X X
89 28 2 Y Y
90 29 2 Z Z
91 47 0 [ [
93 48 0 ] ]
94 35 2 ^ ^
97 4 0 a a
98 5 0 b b
99 6 0 c c
100 7 0 d d
101 8 0 e e
102 9 0 f f
103 10 0 g g
104 11 0 h h
105 12 0 i i
106 13 0 j j
107 14 0 k k
108 15 0 l l
109 16 0 m m
110 17 0 n n
111 18 0 o o
112 19 0 p p
113 20 0 q q
114 21 0 r r
115 22 0 s s
116 23 0 t t
117 24 0 u u
118 25 0 v v
119 26 0 w w
120 27 0 x x
121 28 0 y y
122 29 0 z z
123 47 2 { {
124 49 2 | |
124 100 2 | |
125 48 2 } }
126 50 2 ~ ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment