mirror of
https://github.com/dbisu/pico-ducky.git
synced 2025-12-11 06:24:58 +00:00
Updating instructions for adding keyboard layouts
This commit is contained in:
26
keyboard-layouts.md
Normal file
26
keyboard-layouts.md
Normal file
@@ -0,0 +1,26 @@
|
||||
## How to install non-US keyboard layouts
|
||||
|
||||
Clone Circuitpython_Keyboard_Layouts
|
||||
`git clone https://github.com/Neradoc/Circuitpython_Keyboard_Layouts`
|
||||
|
||||
`cd Circuitpython_Keyboard_Layouts`
|
||||
|
||||
Install dependencies
|
||||
`pip3 install -r requirements-modules.txt`
|
||||
|
||||
Install build dependencies
|
||||
`pip3 install -r requirements-dev.txt`
|
||||
|
||||
Build layouts
|
||||
`python3 build.py`
|
||||
|
||||
Copy libraries to pico
|
||||
`cp _build/circuitpython-keyboard-layouts-6.x-mpy-<date>/lib/*.mpy /<Pico mount point>/lib`
|
||||
|
||||
Update duckyinpython.py
|
||||
Change
|
||||
`kblayout="US"`
|
||||
to
|
||||
`kblayout="<keyboard layout>"`
|
||||
|
||||
Update `if kblayout ==` block to include the new keyboard layout if not already included
|
||||
Reference in New Issue
Block a user