Skip to content
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

Keychron C2 RGB ANSI #426

Merged
merged 9 commits into from
Sep 27, 2024
Merged

Conversation

JAO1988
Copy link

@JAO1988 JAO1988 commented Sep 26, 2024

Updated older Keychron C2 RGB ANSI code using Aaronsb C1 SN32_Develop code as a primer. Keyboard.json was updated to reflect changes to modern QMK Syntax.

  • Created Keyboard.json
  • Corrected PID & VID USB Designations from Keychron
  • Updated RGB Matrix and Diode Orientation
  • Changes to default/keymap.c file to reflect QMK Keycode changes
  • Adjusted config.h for WIN/MAC Dip Switch Toggle & Sleep
  • !!! VIA compiling is currently broken and has been removed due to EEPROM limitations !!!

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

JAO1988 and others added 8 commits September 26, 2024 03:09
Changed definitions of config.h to match current tree of sn32_develop
Removed c2/rgb/old folder as appended files are no longer needed, updated rgb.c with new functions for dip_switch_enable, and updated keymaps with appropriate QMK optimizations and dipswitch toggle function.
Correction on line 68 - Added ; after false parameter.
Corrected and adjusted the appropriate keys for default/via keymap files, corrected and adjusted rgb.c sleep LEDs when power matrix goes to sleep, and removed unnecessary code from config.h.
Removed, adjusted, and optimized code.
Added additional comments and changes to manual.
keyboards/keychron/c2/rgb/rgb.c Outdated Show resolved Hide resolved
Co-authored-by: Dimitris Mantzouranis <d3xter93@gmail.com>
@dexter93 dexter93 merged commit 569f280 into SonixQMK:sn32_develop Sep 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants