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 <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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy