Skip to content

Commit

Permalink
usb-device-keyboard: Fix ; and ` keycode names.
Browse files Browse the repository at this point in the history
They should be named as the un-shifted version.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Jul 3, 2024
1 parent 0a91a37 commit fbf7e12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion micropython/usb/usb-device-keyboard/manifest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
metadata(version="0.1.0")
metadata(version="0.1.1")
require("usb-device-hid")
package("usb")
4 changes: 2 additions & 2 deletions micropython/usb/usb-device-keyboard/usb/device/keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ class KeyCode:
CLOSE_BRACKET = 48 # ] }
BACKSLASH = 49 # \ |
HASH = 50 # # ~
COLON = 51 # ; :
SEMICOLON = 51 # ; :
QUOTE = 52 # ' "
TILDE = 53 # ` ~
GRAVE = 53 # ` ~
COMMA = 54 # , <
DOT = 55 # . >
SLASH = 56 # / ?
Expand Down

0 comments on commit fbf7e12

Please sign in to comment.