-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I've successfully set up a 6-key MiniKbd and I'm now working on the two-encoder version.
I am able to get this working with the main.py of the Two-Encoder Keyboard configuration, but when I upload the main.py of the Two Encoder Multimode configuration, input is no longer registering.
I am trying to detect input with the suggested terminal serial console
Actually, I'm now seeing that the input is triggered by print statements like print("enc-1-up") in the main.py. However, this has led into another error when I refresh the serial console:
Traceback (most recent call last):
File "main.py", line 4, in <module>
ImportError: no module named 'adafruit_hid.consumer_control'
I see that there are lib files available such as consumer_control_code. I took the step (which I now see wasn't the best idea) of trying to reset my trinket m0, thinking that it must need the newer version. This has led me down a bit of a rabbithole.
I've tried to reset the trinket with the Adafruit instructions here. However, I'm now unable to copy over the basic files.
I suspect that this may be due to my inability to delete the .trashes folder.
I'll keep troubleshooting this and update here when I solve it. However, if anyone knows of any easy way to solve this, I'd appreciate some pointers!
(As a sidenote, it may be useful to include something in the files or in the readme of the multimode software about adding the necessary extra lib files).