-
-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Refactor the crkbd/via keymap and fix OLED bugs #10354
Conversation
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.
If the issue is with the OLED not rendering correctly, I just ran into the issue last night.
This line should be changed to #define is_master is_keyboard_master()
This line should be removed.
Thank you for your suggestion. |
You're very welcome! |
This reverts commit dc9db02.
@drashna Would you confirm it again please? |
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.
LGTM!
can we get that fixed? |
Specifically, the default keymap needs the |
|
It looks like the default keymap is not compiling for the "common" revision. The best solution may be to change the default to use the OLED Driver feature. But for now, it may be simplest to just turn off the oled for the default keymap. Eg, add: #ifdef KEYBOARD_crkbd_rev1_common
# undef SSD1306OLED
#endif The alternative is to copy the OLED code from the via keymap to the default keymap, too. If you want I can edit the code to address this, though, if you'd like. |
I know, somebody want to use the default keymap to use the OLED Driver feature.
So that I think it’s best solution about this problem. |
It's okey compiling the default keymap with "common" and "legacy" revision. |
That's fine. As long as the default and via keymaps compile, that's the important part. People can clean up their keymaps on their own. And because it will be simpler for them, in the long term. |
@drashna Thank you helping! I reverted the commit for personal keymaps without mine and yours. |
@drashna When will it be merged? Need a review from someone else? |
@drashna Hi, what should I do for it? |
Thank you very much ! Since the last update I wasn't able to make the OLED and matrix leds working at the same time but thanks this PR it is now fixed. |
Actually the LEDs on the right side don't light up |
@fauxpark Thank you for reviewing. I updated according to your suggestion. |
@lpwisniewski You use |
Thanks @foostan, it fixed the issue, everything is working. Is there some documentation that explain the difference between legacy and common ? |
@lpwisniewski Sorry it's hard to understand. Please see #6001 (comment) |
Thank you very much for the link, and BTW thank you for everything else, your work on this keyboard is awesome |
Sorry, that's my fault. I'll see about opening a PR that makes it more/explicitly clear. |
* Refactor the crkbd/via keymap and fix OLED bugs * Revert "Refactor the crkbd/via keymap and fix OLED bugs" This reverts commit dc9db02. * Fix OLED display bugs * Remove unused functions * Remove uncessary the key logger * Add new lines at end of file * Remove unnecesary extern for is_master * Remove extern is_master from rev1.h * Remove ssd1306 from common dir because its the legacy lib * Update default keymap based the via keymap * Remove foostan keymap because it will be legacy * Revert Remove unnecesary extern for is_master * Remove unnecessary backslashes.
* Refactor the crkbd/via keymap and fix OLED bugs * Revert "Refactor the crkbd/via keymap and fix OLED bugs" This reverts commit dc9db02. * Fix OLED display bugs * Remove unused functions * Remove uncessary the key logger * Add new lines at end of file * Remove unnecesary extern for is_master * Remove extern is_master from rev1.h * Remove ssd1306 from common dir because its the legacy lib * Update default keymap based the via keymap * Remove foostan keymap because it will be legacy * Revert Remove unnecesary extern for is_master * Remove unnecessary backslashes.
Description
@drashna What do you think about this PR? Would you confirm it please?
Types of Changes
Issues Fixed or Closed by This PR
Checklist