Skip to content

Commit 5acb7e3

Browse files
marhalloweenvtnoroadsleft
authored andcommitted
[Keyboard] Adjust ColorLice to work with QMK configurator (qmk#7572)
* [Keyboard] Add new keyboard Symmetry60 * Add new keyboard Symmetry60 * Fix Typo * Update keyboards/handwired/symmetry60/config.h * Update keyboards/handwired/symmetry60/readme.md * Update keyboards/handwired/symmetry60/readme.md * Update keyboards/handwired/symmetry60/readme.md * Update keyboards/handwired/symmetry60/rules.mk * Update keyboards/handwired/symmetry60/symmetry60.h * Update keyboards/handwired/symmetry60/symmetry60.h * Update keyboards/handwired/symmetry60/symmetry60.h * Update readme.md * Update keymap.c * Update keymap.c * Update keymap.c * Update rules.mk * Update symmetry60.c * Update keyboards/handwired/symmetry60/rules.mk * Add ColorLice * Update ColorLice - Adjust info.json to support Configurator - Adjust layout name to fit with info.json - Seperate 2 feature: RGB Switch and RGB Underglow * Update new way of control lock leds * Remove #ifndef COLORLICE_H * Update make example * Revert Helix * Revert Helix * Revert Helix * Revert Helix * Update keyboards/handwired/colorlice/colorlice.h * Update keyboards/handwired/colorlice/colorlice.h * Update default keymap * Revert Helix * Update keyboards/handwired/colorlice/readme.md * Update keyboards/handwired/colorlice/rules.mk * Update keyboards/handwired/colorlice/colorlice.c * Update keyboards/handwired/colorlice/colorlice.c * Remove unnecessary function * Update keyboards/handwired/colorlice/colorlice.c * Adjust rules option for working with Configurator - Move RGB_MATRIX_ENABLE and RGBLIGHT_ENABLE to keyboard rule. - Add RGB_DI_PIN in keyboard config * Update keyboards/helix/rev2/keymaps/default/keymap.c * Update keyboards/handwired/colorlice/readme.md * Update keymap for Colorlice * Adjust rules.mk to use space indent * Update ColorLice to work with QMK online configurator - Delete rgb_underglow keymap - Move config from keymap layer to keyboard layer - Tweak a little layout so it can appear default layout on QMK config * Update keyboards/handwired/colorlice/rules.mk * Update keyboards/handwired/colorlice/rules.mk
1 parent 6c834de commit 5acb7e3

File tree

7 files changed

+14
-89
lines changed

7 files changed

+14
-89
lines changed

keyboards/handwired/colorlice/colorlice.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
k30, k31, k32, k33, k34, k35, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, \
3434
k40, k42, k43, k44, k47, k4a, k4e \
3535
) { \
36-
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \
37-
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, KC_NO }, \
38-
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, KC_NO, K2e, KC_NO }, \
39-
{ k30, k31, k32, k33, k34, k35, KC_NO, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, KC_NO }, \
40-
{ k40, KC_NO, k42, k43, k44, KC_NO, KC_NO,k47, KC_NO, KC_NO, k4a, KC_NO,KC_NO,KC_NO, k4e, KC_NO }, \
36+
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \
37+
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, KC_NO }, \
38+
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, KC_NO, K2e, KC_NO }, \
39+
{ k30, k31, k32, k33, k34, k35, KC_NO, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, KC_NO }, \
40+
{ k40, KC_NO, k42, k43, k44, KC_NO, KC_NO, k47, KC_NO, KC_NO, k4a, KC_NO,KC_NO, KC_NO, k4e, KC_NO }, \
4141
}
4242

keyboards/handwired/colorlice/config.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4949

5050
/* RGB LEDs */
5151
#define RGB_DI_PIN B1
52+
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
53+
#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
54+
#define RGB_MATRIX_KEYPRESSES
55+
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
56+
#define RGB_MATRIX_LED_PROCESS_LIMIT 4
57+
#define RGB_MATRIX_LED_FLUSH_LIMIT 26
58+
#define DRIVER_LED_TOTAL 70

keyboards/handwired/colorlice/keymaps/default/config.h

Lines changed: 0 additions & 24 deletions
This file was deleted.

keyboards/handwired/colorlice/keymaps/default_rgb_underglow/config.h

Lines changed: 0 additions & 22 deletions
This file was deleted.

keyboards/handwired/colorlice/keymaps/default_rgb_underglow/keymap.c

Lines changed: 0 additions & 33 deletions
This file was deleted.

keyboards/handwired/colorlice/keymaps/default_rgb_underglow/rules.mk

Lines changed: 0 additions & 2 deletions
This file was deleted.

keyboards/handwired/colorlice/rules.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ BOOTLOADER = atmel-dfu
1717
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
1818
MOUSEKEY_ENABLE = yes # Mouse keys
1919
EXTRAKEY_ENABLE = yes # Audio control and System control
20-
CONSOLE_ENABLE = yes # Console for debug
20+
CONSOLE_ENABLE = no # Console for debug
2121
COMMAND_ENABLE = no # Commands for debug and configuration
2222
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
2323
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
@@ -30,7 +30,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
3030
AUDIO_ENABLE = no # Audio output on port C6
3131
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
3232
HD44780_ENABLE = no # Enable support for HD44780 based LCDs
33-
LTO_ENABLE = yes # Use link time optimization
33+
LTO_ENABLE = no # Use link time optimization
3434
RGB_MATRIX_ENABLE = WS2812 # Enable keyboard RGB backlight functionality with ws2812 driver
3535
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
36-
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in

0 commit comments

Comments
 (0)