-
-
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
Added aristides_2862 controller support for Unicomp keyboards. #20260
Added aristides_2862 controller support for Unicomp keyboards. #20260
Conversation
keyboards/unicomp/classic_ultracl_post_2013/aristides_2862/readme.md
Outdated
Show resolved
Hide resolved
a90970e
to
221f247
Compare
This PR doesn't have any more dependencies (One has been merged, and the other one has been worked around). |
Some images moved to imgur. Added some notes explaining how some of the images are not exactly accurate.
… feels like a better place for this, even if for now it's the same for both supported controllers
cfe1a42
to
1d05491
Compare
ARISTIDES_COMMON_FILES=../../../unicomp/classic_ultracl_post_2013/aristides_2862 | ||
SRC += $(ARISTIDES_COMMON_FILES)/matrix.c $(ARISTIDES_COMMON_FILES)/aristides_2862.c |
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.
ideally, these files should be moved to a common folder and included from there
Thank you for your contribution! |
void keyboard_post_init_kb(void) | ||
{ | ||
// Led pins: | ||
// GP4 is the left-most led, normally Num Lock, but on Spacesaver M it's Caps Lock. Configured in info.json | ||
writePin(GP3, 1); | ||
setPinOutput(GP3); // middle led, always off on Spacesaver M | ||
|
||
writePin(GP2, 1); | ||
setPinOutput(GP2); // right-most led, normally Scroll Lock, but on Spacesaver M indicates function layer | ||
} | ||
|
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.
void keyboard_post_init_kb(void) | |
{ | |
// Led pins: | |
// GP4 is the left-most led, normally Num Lock, but on Spacesaver M it's Caps Lock. Configured in info.json | |
writePin(GP3, 1); | |
setPinOutput(GP3); // middle led, always off on Spacesaver M | |
writePin(GP2, 1); | |
setPinOutput(GP2); // right-most led, normally Scroll Lock, but on Spacesaver M indicates function layer | |
} | |
void keyboard_post_init_kb(void) { | |
// Led pins: | |
// GP4 is the left-most led, normally Num Lock, but on Spacesaver M it's Caps Lock. Configured in info.json | |
writePin(GP3, 1); | |
setPinOutput(GP3); // middle led, always off on Spacesaver M | |
writePin(GP2, 1); | |
setPinOutput(GP2); // right-most led, normally Scroll Lock, but on Spacesaver M indicates function layer | |
keyboard_post_init_user(); | |
} |
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.
most/all of this should be moved to the info.json. qmk info -f json
can assist with that.
Thank you for your contribution! |
Thank you for your contribution! |
Description
This PR depends on:
EDIT: no more dependencies!
#20259 - depends on changes to the outer info.json in this PR#20104 - to get rid of lint errorsTypes of Changes
Issues Fixed or Closed by This PR
Checklist