-
-
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
[keyboard] tominabox1/le_chiffre refactor pt 1 #21567
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
f31e7ad
docs: update tominabox1/le_chiffre readme
lesshonor 9c3146e
refactor: de-duplicate and move to data-driven
lesshonor 49d73d4
refactor: move to encoder map, minor reorg
lesshonor 759f691
refactor: rem default rgblight.hue_steps val
lesshonor 312361a
refactor: rem redundant rgb_matrix config
lesshonor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1 @@ | ||
# Build Options | ||
# change yes to no to disable | ||
# | ||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
MOUSEKEY_ENABLE = yes # Mouse keys | ||
EXTRAKEY_ENABLE = yes # Audio control and System control | ||
CONSOLE_ENABLE = no # Console for debug | ||
COMMAND_ENABLE = no # Commands for debug and configuration | ||
NKRO_ENABLE = yes # Enable N-Key Rollover | ||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
AUDIO_ENABLE = no # Audio output | ||
ENCODER_ENABLE = yes | ||
RGB_MATRIX_ENABLE = yes | ||
LTO_ENABLE = yes | ||
# This file intentionally left blank |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,82 @@ | ||
{ | ||
"keyboard_name": "Le Chiffre", | ||
"manufacturer": "tominabox1", | ||
"url": "", | ||
"maintainer": "tominabox1", | ||
"usb": { | ||
"vid": "0x7431", | ||
"pid": "0xD645" | ||
} | ||
"keyboard_name": "Le Chiffre", | ||
"manufacturer": "tominabox1", | ||
"url": "", | ||
"maintainer": "tominabox1", | ||
"features": { | ||
"bootmagic": true, | ||
"encoder": true, | ||
"extrakey": true, | ||
"mousekey": true, | ||
"nkro": true, | ||
"oled": true, | ||
"rgb_matrix": true | ||
}, | ||
"rgblight": { | ||
"animations": { | ||
"alternating": true, | ||
"breathing": true, | ||
"christmas": true, | ||
"knight": true, | ||
"rainbow_mood": true, | ||
"rainbow_swirl": true, | ||
"rgb_test": true, | ||
"snake": true, | ||
"static_gradient": true, | ||
"twinkle": true | ||
}, | ||
"saturation_steps": 8, | ||
"brightness_steps": 8, | ||
"max_brightness": 150, | ||
"led_count": 11 | ||
}, | ||
"rgb_matrix": { | ||
"driver": "WS2812", | ||
"animations": { | ||
"gradient_up_down": true, | ||
"gradient_left_right": true, | ||
"breathing": true, | ||
"band_sat": true, | ||
"band_val": true, | ||
"band_spiral_sat": true, | ||
"band_spiral_val": true, | ||
"cycle_all": true, | ||
"cycle_left_right": true, | ||
"cycle_up_down": true, | ||
"cycle_out_in": true, | ||
"cycle_pinwheel": true, | ||
"dual_beacon": true, | ||
"rainbow_beacon": true, | ||
"rainbow_pinwheels": true, | ||
"raindrops": true, | ||
"jellybean_raindrops": true, | ||
"hue_breathing": true, | ||
"hue_pendulum": true, | ||
"hue_wave": true, | ||
"pixel_rain": true, | ||
"pixel_flow": true, | ||
"pixel_fractal": true | ||
}, | ||
"layout": [ | ||
{"x": 128, "y": 64, "flags": 2}, | ||
{"x": 77, "y": 64, "flags": 2}, | ||
{"x": 0, "y": 48, "flags": 2}, | ||
{"x": 0, "y": 0, "flags": 2}, | ||
{"x": 115, "y": 0, "flags": 2}, | ||
{"x": 166, "y": 0, "flags": 2}, | ||
{"x": 255, "y": 0, "flags": 2}, | ||
{"x": 255, "y": 48, "flags": 2}, | ||
{"x": 178, "y": 64, "flags": 2}, | ||
{"x": 128, "y": 40, "flags": 8}, | ||
{"x": 128, "y": 30, "flags": 8} | ||
], | ||
"max_brightness": 150, | ||
"sat_steps": 8, | ||
"speed_steps": 10, | ||
"val_steps": 8 | ||
}, | ||
"usb": { | ||
"vid": "0x7431", | ||
"pid": "0xD645" | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Since OLEDs are enabled at the keyboard level, could you place the current OLED code in a
le_chiffre.c
file and remove it from the keymapsThere 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.
I'm trying to keep my PRs for this board somewhat digestible. The new OLED code contains substantive changes (improvements) rather than just being a cut-paste from keymap ➡️ keyboard.
If desired, I could re-disable the OLED by default and re-enable it in that impending PR?
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.
Ah, I see, thanks for the consideration. A future PR is a fine approach.