File tree Expand file tree Collapse file tree 1 file changed +28
-30
lines changed Expand file tree Collapse file tree 1 file changed +28
-30
lines changed Original file line number Diff line number Diff line change 29
29
"""
30
30
31
31
32
- __version__ = "0.0.0-auto.0"
33
- __repo__ = "https://github.com/Neradoc/Circuitpython_Keyboard_Layouts.git"
34
-
35
-
36
32
class Keycode :
37
33
"""USB HID Keycode constants.
38
34
This list is modeled after the names for USB keycodes defined in
@@ -102,6 +98,9 @@ class Keycode:
102
98
Z = 0x1A
103
99
"""``z`` and ``Z``"""
104
100
101
+ AT = 0x64
102
+ AROBASE = AT
103
+ """@ and #"""
105
104
ONE = 0x1E
106
105
AMPERSAND = ONE
107
106
"""``1`` and ``&``"""
@@ -132,9 +131,11 @@ class Keycode:
132
131
ZERO = 0x27
133
132
AGRAVE = ZERO
134
133
"""``0`` and ``à``"""
135
- # CLOSEPARENS =
136
- # DEGREE =
137
- # """``)`` and ``°``"""
134
+ RIGHT_PARENS = 0x2D
135
+ """``)`` and ``°``"""
136
+ MINUS = 0x2E
137
+ """``-` and ``_``"""
138
+
138
139
ENTER = 0x28
139
140
"""Enter (Return)"""
140
141
RETURN = ENTER
@@ -149,30 +150,27 @@ class Keycode:
149
150
"""Spacebar"""
150
151
SPACE = SPACEBAR
151
152
"""Alias for SPACEBAR"""
152
- MINUS = 0x2D
153
- """``-` and ``_``"""
154
- EQUALS = 0x2E
153
+
154
+ CIRC = 0x2F
155
+ """^ and ¨"""
156
+ DOLLAR = 0x30
157
+ """$ and *"""
158
+ UGRAVE = 0x34
159
+ """ù and %"""
160
+ BACKTICK = 0x31
161
+ GRAVE_ACCENT = BACKTICK
162
+ r""":literal:`\`` and ``£``"""
163
+
164
+ COMMA = 0x10
165
+ """``,`` and ``?``"""
166
+ SEMICOLON = 0x36
167
+ """``;`` and ``.``"""
168
+ COLON = 0x37
169
+ """: and /"""
170
+ EQUALS = 0x38
155
171
"""``=` and ``+``"""
156
- LEFT_BRACKET = 0x2F
157
- """``[`` and ``{``"""
158
- RIGHT_BRACKET = 0x30
159
- """``]`` and ``}``"""
160
- BACKSLASH = 0x31
161
- r"""``\`` and ``|``"""
162
- POUND = 0x32
163
- """``#`` and ``~`` (Non-US keyboard)"""
164
- SEMICOLON = 0x33
165
- """``;`` and ``:``"""
166
- QUOTE = 0x34
167
- """``'`` and ``"``"""
168
- GRAVE_ACCENT = 0x35
169
- r""":literal:`\`` and ``~``"""
170
- COMMA = 0x36
171
- """``,`` and ``<``"""
172
- PERIOD = 0x37
173
- """``.`` and ``>``"""
174
- FORWARD_SLASH = 0x38
175
- """``/`` and ``?``"""
172
+ LESS_THAN = 0x35
173
+ """< and >"""
176
174
177
175
CAPS_LOCK = 0x39
178
176
"""Caps Lock"""
You can’t perform that action at this time.
0 commit comments