Skip to content

Commit fbf7e12

Browse files
committed
usb-device-keyboard: Fix ; and ` keycode names.
They should be named as the un-shifted version. Signed-off-by: Damien George <[email protected]>
1 parent 0a91a37 commit fbf7e12

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: micropython/usb/usb-device-keyboard/manifest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
metadata(version="0.1.0")
1+
metadata(version="0.1.1")
22
require("usb-device-hid")
33
package("usb")

Diff for: micropython/usb/usb-device-keyboard/usb/device/keyboard.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ class KeyCode:
163163
CLOSE_BRACKET = 48 # ] }
164164
BACKSLASH = 49 # \ |
165165
HASH = 50 # # ~
166-
COLON = 51 # ; :
166+
SEMICOLON = 51 # ; :
167167
QUOTE = 52 # ' "
168-
TILDE = 53 # ` ~
168+
GRAVE = 53 # ` ~
169169
COMMA = 54 # , <
170170
DOT = 55 # . >
171171
SLASH = 56 # / ?

0 commit comments

Comments
 (0)