mirror of
https://github.com/dbisu/pico-ducky.git
synced 2025-12-06 02:41:45 +00:00
fix language support (#140)
This commit is contained in:
12
code.py
12
code.py
@@ -4,18 +4,6 @@
|
|||||||
# Pico and Pico W board support
|
# Pico and Pico W board support
|
||||||
|
|
||||||
|
|
||||||
import usb_hid
|
|
||||||
from adafruit_hid.keyboard import Keyboard
|
|
||||||
|
|
||||||
# comment out these lines for non_US keyboards
|
|
||||||
from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS as KeyboardLayout
|
|
||||||
from adafruit_hid.keycode import Keycode
|
|
||||||
|
|
||||||
# uncomment these lines for non_US keyboards
|
|
||||||
# replace LANG with appropriate language
|
|
||||||
#from keyboard_layout_win_LANG import KeyboardLayout
|
|
||||||
#from keycode_win_LANG import Keycode
|
|
||||||
|
|
||||||
import supervisor
|
import supervisor
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user