File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929"""
3030
3131
32- __version__ = "0.0.0-auto.0"
33- __repo__ = "https://github.com/Neradoc/Circuitpython_Keyboard_Layouts.git"
34-
35-
3632class Keycode :
3733 """USB HID Keycode constants.
3834 This list is modeled after the names for USB keycodes defined in
@@ -102,6 +98,9 @@ class Keycode:
10298 Z = 0x1A
10399 """``z`` and ``Z``"""
104100
101+ AT = 0x64
102+ AROBASE = AT
103+ """@ and #"""
105104 ONE = 0x1E
106105 AMPERSAND = ONE
107106 """``1`` and ``&``"""
@@ -132,9 +131,11 @@ class Keycode:
132131 ZERO = 0x27
133132 AGRAVE = ZERO
134133 """``0`` and ``à``"""
135- # CLOSEPARENS =
136- # DEGREE =
137- # """``)`` and ``°``"""
134+ RIGHT_PARENS = 0x2D
135+ """``)`` and ``°``"""
136+ MINUS = 0x2E
137+ """``-` and ``_``"""
138+
138139 ENTER = 0x28
139140 """Enter (Return)"""
140141 RETURN = ENTER
@@ -149,30 +150,27 @@ class Keycode:
149150 """Spacebar"""
150151 SPACE = SPACEBAR
151152 """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
155171 """``=` 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 >"""
176174
177175 CAPS_LOCK = 0x39
178176 """Caps Lock"""
You can’t perform that action at this time.
0 commit comments