-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new board variant: Seeed XIAO targeted for Keyboards/HID Devices #5442
Conversation
The proof is in the execution here. Is there enough space in the 64kB CIRCUITPY to fit a reasonable keyboard program? Do you have an existence proof? Thanks. |
Good Point... I have everything here already tested and working for a 9 key and rotary encoder macropad... I tested this about a month ago (was waiting for the PID for a while). I'll get a fresh uf2 on there and see if anything changed (doubt it). |
Do you think it is usable for a full-array keyboard with features (KMK won't fit, I assume, but some subset of it might). Or are you targeting macropad-style applications? |
With 11 GPIOs, the largest matrix the Xiao could have would be 5x6 or 30 keys. I haven't tested for that large. My current test bed is a macropad that looks like the CNCEncoderpad. The encoder sends reports so fast that the QMK tester detects it as chattering... I could use one of my gherkins and bodge a few wires between the PCB and the Xiao to see if it works fine. That would give me the 30 keys test. It might take a bit of time to set that up... I am not thinking of using KMK but a derivative of the macropad hotkeys without the RGB or display... I just uploaded the UF2 from the Github Action build. Code works fine... |
No, that is fine. I was just wondering if you were thinking of this for a regular keyboard. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, and thanks for the testing!
Just gave it a test on my Gherkin (5x6 matrix) and it ran fine without the need for pre-compiled/mpy files. Having these frozen libraries made it possible to load the code without the need to load additional libraries; which was quite nice but you miss the chance to get a position on that bingo card :) Thanks for the review and merge. |
This PR is for a new variant of the Seeed XIAO targeted for users wanting to build keyboards.
Before merging this commit, I would appreciate comments on the modules added and removed. I would like this to be generic enough so that many people can use this variant without the need to revert to the original one or having to create new ones.
Selection of the modules is governed by the following criteria:
a. buttons
b. key matrix
c. rotary encoders
d. touch pads
a. LEDs (directly connected)
b. LED arrays controlled via a single mosfet
c. Neopixels
d. buzzers/speakers
Enabled modules
Disabled modules
Frozen libraries
I am not too sure if I should drop the USB_MIDI in favor of other modules. If this was a QT Py, people might want to use this with a neokey or a rotary encoder/stemma qt board...
The VID/PID were provided by Seeed. I am linking this PR for them to comment on this.