dbisu / pico-ducky

Create a USB Rubber Ducky like device using a Raspberry PI Pico
GNU General Public License v2.0
2.42k stars 440 forks source link

Other keyboards dosen't work for me #257

Closed tommarekCZE closed 6 months ago

tommarekCZE commented 6 months ago

Describe the issue Cannot use other keyboards, when I uncomment

#from keyboard_layout_win_cz import KeyboardLayout
#from keycode_win_cz import Keycode

It basically on connect wont load (I commented the US layout) With us layout it works (instead of numbers its butting these types of characters: ěščřžčš)

To Reproduce Uncomment:

#from keyboard_layout_win_cz import KeyboardLayout
#from keycode_win_cz import Keycode

Comment:

from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS as KeyboardLayout
from adafruit_hid.keycode import Keycode

Expected behavior It would run the code with the czech keyboard

Debug info None

Additional context I setup everything correctly. I tried even putting the "keycode_win_cz.mpy" and "keyboard_layout_win_cz.mpy" into the lib forlder and into the root folder, didn't helped it.

dbisu commented 6 months ago

Have you tried the prebuilt release bundle? CZ bundle

tommarekCZE commented 6 months ago

That worked thanks! It turned out I didnt copied all libs, I folowed tutorial at repo page. But it turned out I need copy full folder from the czech budle. Thanks

dbisu commented 6 months ago

No problem. Thanks for reporting back. Closing, resolved.