From 2dea3467234705129abf9590f555df9e456a54a7 Mon Sep 17 00:00:00 2001 From: Dave Date: Sun, 29 Dec 2024 13:48:06 -0600 Subject: [PATCH] Fix bug importing keyboard layouts (#302) --- build_scripts/create_release_bundle.py | 3 ++- duckyinpython.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build_scripts/create_release_bundle.py b/build_scripts/create_release_bundle.py index b003bef..a716905 100644 --- a/build_scripts/create_release_bundle.py +++ b/build_scripts/create_release_bundle.py @@ -22,7 +22,8 @@ languages = [ "MAC_FR", supported_boards = ["raspberry_pi_pico", "raspberry_pi_pico_w", - "raspberry_pi_pico2"] + "raspberry_pi_pico2", + "raspberry_pi_pico2_w"] files_to_bundle = ["boot.py", "code.py", diff --git a/duckyinpython.py b/duckyinpython.py index 11fb858..9a92cd6 100644 --- a/duckyinpython.py +++ b/duckyinpython.py @@ -20,7 +20,7 @@ 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 keyboard_layout_win_LANG import KeyboardLayout as KeyboardLayout #from keycode_win_LANG import Keycode duckyCommands = {