-
-
Notifications
You must be signed in to change notification settings - Fork 40.4k
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 keyboard Lily58 Koca #24847
base: master
Are you sure you want to change the base?
Add keyboard Lily58 Koca #24847
Conversation
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Can you consider not using the lily58 prefix name? Duplicating names of popular boards will oftentimes lead users to an incorrect firmware and generate unnecessary support questions on the QMK Discord server. |
Fixed layout so that is compatible with original lily58 keymaps
The name is sort of set in stone having been already printed on circuit boards. Instead I'll compromise and add something to the readme redirecting users of the original Lily58 and it's various versions. |
QMK readme is not the first reference point for users unfortunately. A prominent firmware guide about these duplicate names on vendor(s) product pages will be more useful. |
Redirect users of original Lily58
I did add something to readme but I think you're right, users will definitely not read it and wonder why the firmware wont upload. I'll change the directory name to koca. It'll be slightly more confusing for users of my design but save original Lily58 users some trouble. |
Avoid confusion for original lily58 users
Such user confusion happens both ways based on support questions in Discord—vendor board users trying to use the open source version and vice versa. |
I've seen this comment sitting for a while. Is there anything else I can do to prevent users from trying to flash the wrong firmware though? I really don't think original Lily58 users will stumble across this firmware in the QMK repo due to it's new name. On my side I can make sure my vendor directs my users to the koca firwmare. Or are you suggesting that I change the name entirely so that it has nothing to do with the Lily58? |
keyboards/koca/keyboard.json
Outdated
"cols": ["A10", "A9", "A8", "C9", "C8", "C7", "B2", "B13", "B12", "B14", "B15", "C6", "A6", "A7", "C4", "C5", "B0", "B1", "B5", "A0", "A1", "A2", "A3", "A4", "A5", "C14", "C13", "B7", "B6"], | ||
"rows": ["C12"] |
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 is .... unfortunate. A direct pin matrix would have been better here (and faster), and wouldn't have needed the C12 pin (just ground).
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.
Yeah. I have no idea how this oversight made it so far. I'm keeping it at this point so my v1 PCBs will work.
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.
You may be able to declare the matrix as direct pin, and then initialize the C12 pin to output low in matrix_init_kb()
:
void matrix_init_kb(void) {
// Activate the only row pin so that the matrix can be handled as direct pins.
gpio_set_pin_output(C12);
gpio_write_pin_low(C12);
matrix_init_user();
}
In the V2 PCB you can just leave the C12 pin unconnected and keep the rest of pin assignments the same, so that the firmware would be compatible with both PCB versions.
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.
Good idea, I'll start testing this now.
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.
You may be able to declare the matrix as direct pin, and then initialize the C12 pin to output low in
matrix_init_kb()
:void matrix_init_kb(void) { // Activate the only row pin so that the matrix can be handled as direct pins. gpio_set_pin_output(C12); gpio_write_pin_low(C12); matrix_init_user(); }In the V2 PCB you can just leave the C12 pin unconnected and keep the rest of pin assignments the same, so that the firmware would be compatible with both PCB versions.
I ended up switching entirely to a direct matrix and will change the PCB. Users will never get my first PCB, I just ordered 5 for prototyping.
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.
It's been a little while since the switch to a proper direct matrix. Would someone consider reviewing this please?
Co-authored-by: Drashna Jaelre <drashna@live.com>
Change supported revs. This won't generate additional questions for old revs because their design files can only be found through the keyboards old git commits. The current design iteration and all future revs will be wired properly for a direct matrix.
Would somebody mind reviewing this? I've addressed all previous issues. |
Description
Add keyboard Lily58 Koca to the keyboards folder. This is placed in a seperate folder to the other Lily58's because I am not the original maintainer.
Types of Changes
Issues Fixed or Closed by This PR
Checklist