-
-
Notifications
You must be signed in to change notification settings - Fork 39.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
add support for ModelM USB board #9846
Conversation
Co-authored-by: James Young <[email protected]>
Co-authored-by: James Young <[email protected]>
Co-authored-by: James Young <[email protected]>
Co-authored-by: James Young <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]>
…able to line up columns
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
use spi_read from core insteads of our own copy Co-authored-by: Ryan <[email protected]>
Co-authored-by: James Young <[email protected]>
Co-authored-by: James Young <[email protected]>
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.
Looks good to me.
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.
Also, for the LEDs, when using ws2812, you could use rgblight layers, actually.
use automatic variant defines from makefile instead of defining our own Co-authored-by: Drashna Jaelre <[email protected]>
…uart.c Co-authored-by: Drashna Jaelre <[email protected]>
I think I already replied to that - I tried, but it seems to me the rgblight layer system can't really do what I need. I want indicator LEDs that change color depending on layer, but the primary function is still num/scroll/capslock. The best I came up with is defining one layer per LED, and the turning on layers instead of LEDs - this adds unnecessary code without using any of the features from the rgblight layer. |
Oops - sorry for the close/re-open, I meant to close the one request only. |
Well, I think that you're basically doing the same thing, to be honest. Just in a slightly different way. If you'd like, I can see converting it, if you'd like. But for now, I'm going to merge it. |
Unless the rgb_layers code can provide an advantage (and reduce my own code), I'd rather leave the code as is - while I understand the urge to use common library code instead of private implementations, in my attempts, it only added code size with no gain.
Thanks - also for the other suggestions! |
* add support for ModelM USB board * EMI improvement: remove unnecessary toggling of MOSI pin * address review comments * Update keyboards/mschwingen/modelm/rules.mk Co-authored-by: James Young <[email protected]> * Update keyboards/mschwingen/modelm/rules.mk Co-authored-by: James Young <[email protected]> * Update keyboards/mschwingen/modelm/config.h Co-authored-by: James Young <[email protected]> * Update keyboards/mschwingen/modelm/config.h Co-authored-by: James Young <[email protected]> * Update keyboards/mschwingen/modelm/rules.mk Co-authored-by: Drashna Jaelre <[email protected]> * Update keyboards/mschwingen/modelm/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <[email protected]> * update printf usage * add comment * EMI improvement: remove unnecessary toggling of MOSI signal * remove trailing space * use shorter macros as suggested in review by noroadsleft, re-format table to line up columns * Update keyboards/mschwingen/modelm/config.h Co-authored-by: Ryan <[email protected]> * Update keyboards/mschwingen/modelm/rules.mk Co-authored-by: Ryan <[email protected]> * Update keyboards/mschwingen/modelm/rules.mk Co-authored-by: Ryan <[email protected]> * Update keyboards/mschwingen/modelm/rules.mk Co-authored-by: Ryan <[email protected]> * Update keyboards/mschwingen/modelm/README.md Co-authored-by: Ryan <[email protected]> * Update keyboards/mschwingen/modelm/README.md Co-authored-by: Ryan <[email protected]> * Apply suggestions from code review use spi_read from core insteads of our own copy Co-authored-by: Ryan <[email protected]> * include spi_master.c to use spi_read() * Update keyboards/mschwingen/modelm/README.md Co-authored-by: James Young <[email protected]> * Apply suggestions from code review: correct indenting in keymap Co-authored-by: James Young <[email protected]> * Apply suggestions from code review use automatic variant defines from makefile instead of defining our own Co-authored-by: Drashna Jaelre <[email protected]> * Update keyboards/mschwingen/modelm/rules.mk: use QUANTUM_LIB_SRC for uart.c Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Michael Schwingen <[email protected]> Co-authored-by: James Young <[email protected]> Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Ryan <[email protected]>
Add new keyboard: IBM Model M replacement USB board:
https://github.com/mschwingen/hardware/tree/master/modelm-usb
Description
Add new keyboard: IBM Model M replacement USB board
Types of Changes
Issues Fixed or Closed by This PR
Checklist