You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`keyboard_layout_<platform>_<lang>` modules will contain the layout information for use with the `Keyboard` to type text.
13
+
For the plaform **platform** (win, mac) and the layout language **lang**.
14
+
The module `keyboard_layout_platform_lang` has a class called `KeyboardLayoutPlatformLang` (the CamelCase version of the module's name). It contains the layout information for use with the `Keyboard` to type text.
14
15
15
-
They require also installing the `keyboard_layout.py` file, containing the base class and methods that are used by the layout. This file should be part of adafruit_hid in the future and will be removed.
16
+
They require also installing the `keyboard_layout` module (`keyboard_layout.mpy` in the bundle zip), containing the base class for the layout. This file should be part of adafruit_hid in the future and will then be removed.
16
17
17
18
```py
18
19
import usb_hid
19
20
from adafruit_hid.keyboard import Keyboard
20
-
from keyboard_layout_win_fr importKeyboardLayoutFR
21
+
from keyboard_layout_win_fr importKeyboardLayoutWinFr
0 commit comments