Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 <damien@micropython.org>
1 parent 0a91a37 commit fbf7e12

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
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")

‎micropython/usb/usb-device-keyboard/usb/device/keyboard.py‎

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /