Skip to content

Commit a31b491

Browse files
committed
Add clarifying comment in KeyboardLayout.h
This library only supports ASCII characters, even with international layouts. Although this was already implicit in the sentence “Layout files map ASCII character codes to keyboard scan codes”, we may as well say explicitly that non-ASCII characters are not supported.
1 parent 832fbba commit a31b491

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/KeyboardLayout.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
only in Keyboard.cpp and the keyboard layout files. Layout files map
66
ASCII character codes to keyboard scan codes (technically, to USB HID
77
Usage codes), possibly altered by the SHIFT or ALT_GR modifiers.
8+
Non-ACSII characters (anything outside the 7-bit range NUL..DEL) are
9+
not supported.
810
911
== Creating your own layout ==
1012

0 commit comments

Comments
 (0)