aboutsummaryrefslogtreecommitdiff
path: root/keyboards/work_louder
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/work_louder')
-rw-r--r--keyboards/work_louder/loop/config.h49
-rw-r--r--keyboards/work_louder/loop/rules.mk2
-rw-r--r--keyboards/work_louder/nano/config.h49
-rw-r--r--keyboards/work_louder/nano/rules.mk2
-rw-r--r--keyboards/work_louder/work_board/config.h49
-rw-r--r--keyboards/work_louder/work_board/keymaps/drashna/rules.mk2
-rw-r--r--keyboards/work_louder/work_board/rules.mk2
-rw-r--r--keyboards/work_louder/work_board/work_board.c11
8 files changed, 160 insertions, 6 deletions
diff --git a/keyboards/work_louder/loop/config.h b/keyboards/work_louder/loop/config.h
index bd8e3d075..b40c1207f 100644
--- a/keyboards/work_louder/loop/config.h
+++ b/keyboards/work_louder/loop/config.h
@@ -94,6 +94,55 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
94#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set 94#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set
95#define RGB_DISABLE_WHEN_USB_SUSPENDED 95#define RGB_DISABLE_WHEN_USB_SUSPENDED
96 96
97// RGB Matrix Animation modes. Explicitly enabled
98// For full list of effects, see:
99// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
100#define ENABLE_RGB_MATRIX_ALPHAS_MODS
101#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
102#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
103#define ENABLE_RGB_MATRIX_BREATHING
104#define ENABLE_RGB_MATRIX_BAND_SAT
105#define ENABLE_RGB_MATRIX_BAND_VAL
106#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
107#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
108#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
109#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
110#define ENABLE_RGB_MATRIX_CYCLE_ALL
111#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
112#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
113#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
114#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
115#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
116#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
117#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
118#define ENABLE_RGB_MATRIX_DUAL_BEACON
119#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
120#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
121#define ENABLE_RGB_MATRIX_RAINDROPS
122#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
123#define ENABLE_RGB_MATRIX_HUE_BREATHING
124#define ENABLE_RGB_MATRIX_HUE_PENDULUM
125#define ENABLE_RGB_MATRIX_HUE_WAVE
126#define ENABLE_RGB_MATRIX_PIXEL_RAIN
127#define ENABLE_RGB_MATRIX_PIXEL_FLOW
128#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
129// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
130#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
131#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
132// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
133#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
134#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
135#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
136#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
137#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
138#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
139#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
140#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
141#define ENABLE_RGB_MATRIX_SPLASH
142#define ENABLE_RGB_MATRIX_MULTISPLASH
143#define ENABLE_RGB_MATRIX_SOLID_SPLASH
144#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
145
97/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 146/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
98#define DEBOUNCE 5 147#define DEBOUNCE 5
99 148
diff --git a/keyboards/work_louder/loop/rules.mk b/keyboards/work_louder/loop/rules.mk
index 7e3f75e17..0bad9d2d5 100644
--- a/keyboards/work_louder/loop/rules.mk
+++ b/keyboards/work_louder/loop/rules.mk
@@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
7# Build Options 7# Build Options
8# change yes to no to disable 8# change yes to no to disable
9# 9#
10BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite 10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys 11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control 12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug 13CONSOLE_ENABLE = no # Console for debug
diff --git a/keyboards/work_louder/nano/config.h b/keyboards/work_louder/nano/config.h
index 1a47e725b..ac12c8719 100644
--- a/keyboards/work_louder/nano/config.h
+++ b/keyboards/work_louder/nano/config.h
@@ -92,6 +92,55 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
92#define RGB_MATRIX_DISABLE_KEYCODES 92#define RGB_MATRIX_DISABLE_KEYCODES
93#define RGB_DISABLE_WHEN_USB_SUSPENDED 93#define RGB_DISABLE_WHEN_USB_SUSPENDED
94 94
95// RGB Matrix Animation modes. Explicitly enabled
96// For full list of effects, see:
97// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
98#define ENABLE_RGB_MATRIX_ALPHAS_MODS
99#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
100#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
101#define ENABLE_RGB_MATRIX_BREATHING
102#define ENABLE_RGB_MATRIX_BAND_SAT
103#define ENABLE_RGB_MATRIX_BAND_VAL
104#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
105#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
106#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
107#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
108#define ENABLE_RGB_MATRIX_CYCLE_ALL
109#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
110#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
111#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
112#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
113#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
114#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
115#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
116#define ENABLE_RGB_MATRIX_DUAL_BEACON
117#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
118#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
119#define ENABLE_RGB_MATRIX_RAINDROPS
120#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
121#define ENABLE_RGB_MATRIX_HUE_BREATHING
122#define ENABLE_RGB_MATRIX_HUE_PENDULUM
123#define ENABLE_RGB_MATRIX_HUE_WAVE
124#define ENABLE_RGB_MATRIX_PIXEL_RAIN
125#define ENABLE_RGB_MATRIX_PIXEL_FLOW
126#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
127// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
128#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
129#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
130// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
131#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
132#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
133#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
134#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
135#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
136#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
137#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
138#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
139#define ENABLE_RGB_MATRIX_SPLASH
140#define ENABLE_RGB_MATRIX_MULTISPLASH
141#define ENABLE_RGB_MATRIX_SOLID_SPLASH
142#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
143
95/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 144/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
96#define DEBOUNCE 5 145#define DEBOUNCE 5
97 146
diff --git a/keyboards/work_louder/nano/rules.mk b/keyboards/work_louder/nano/rules.mk
index 843d80fe6..96b79f628 100644
--- a/keyboards/work_louder/nano/rules.mk
+++ b/keyboards/work_louder/nano/rules.mk
@@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
7# Build Options 7# Build Options
8# change yes to no to disable 8# change yes to no to disable
9# 9#
10BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite 10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys 11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control 12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug 13CONSOLE_ENABLE = no # Console for debug
diff --git a/keyboards/work_louder/work_board/config.h b/keyboards/work_louder/work_board/config.h
index fb9723db0..78444e744 100644
--- a/keyboards/work_louder/work_board/config.h
+++ b/keyboards/work_louder/work_board/config.h
@@ -83,6 +83,55 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
83#define RGB_MATRIX_DISABLE_KEYCODES 83#define RGB_MATRIX_DISABLE_KEYCODES
84#define RGB_DISABLE_WHEN_USB_SUSPENDED 84#define RGB_DISABLE_WHEN_USB_SUSPENDED
85 85
86// RGB Matrix Animation modes. Explicitly enabled
87// For full list of effects, see:
88// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
89#define ENABLE_RGB_MATRIX_ALPHAS_MODS
90#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
91#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
92#define ENABLE_RGB_MATRIX_BREATHING
93#define ENABLE_RGB_MATRIX_BAND_SAT
94#define ENABLE_RGB_MATRIX_BAND_VAL
95#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
96#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
97#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
98#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
99#define ENABLE_RGB_MATRIX_CYCLE_ALL
100#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
101#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
102#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
103#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
104#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
105#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
106#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
107#define ENABLE_RGB_MATRIX_DUAL_BEACON
108#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
109#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
110#define ENABLE_RGB_MATRIX_RAINDROPS
111#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
112#define ENABLE_RGB_MATRIX_HUE_BREATHING
113#define ENABLE_RGB_MATRIX_HUE_PENDULUM
114#define ENABLE_RGB_MATRIX_HUE_WAVE
115#define ENABLE_RGB_MATRIX_PIXEL_RAIN
116#define ENABLE_RGB_MATRIX_PIXEL_FLOW
117#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
118// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
119#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
120#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
121// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
122#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
123#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
124#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
125#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
126#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
127#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
128#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
129#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
130#define ENABLE_RGB_MATRIX_SPLASH
131#define ENABLE_RGB_MATRIX_MULTISPLASH
132#define ENABLE_RGB_MATRIX_SOLID_SPLASH
133#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
134
86/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 135/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
87#define DEBOUNCE 5 136#define DEBOUNCE 5
88 137
diff --git a/keyboards/work_louder/work_board/keymaps/drashna/rules.mk b/keyboards/work_louder/work_board/keymaps/drashna/rules.mk
index 6a4558aa0..363f2d0ed 100644
--- a/keyboards/work_louder/work_board/keymaps/drashna/rules.mk
+++ b/keyboards/work_louder/work_board/keymaps/drashna/rules.mk
@@ -1,4 +1,4 @@
1BOOTMAGIC_ENABLE = lite 1BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
2EXTRAKEY_ENABLE = yes 2EXTRAKEY_ENABLE = yes
3TAP_DANCE_ENABLE = no 3TAP_DANCE_ENABLE = no
4NKRO_ENABLE = yes 4NKRO_ENABLE = yes
diff --git a/keyboards/work_louder/work_board/rules.mk b/keyboards/work_louder/work_board/rules.mk
index 7ecf7db5d..1032ca40c 100644
--- a/keyboards/work_louder/work_board/rules.mk
+++ b/keyboards/work_louder/work_board/rules.mk
@@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
7# Build Options 7# Build Options
8# change yes to no to disable 8# change yes to no to disable
9# 9#
10BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite 10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys 11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control 12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug 13CONSOLE_ENABLE = no # Console for debug
diff --git a/keyboards/work_louder/work_board/work_board.c b/keyboards/work_louder/work_board/work_board.c
index a2722a055..7a8edc1a9 100644
--- a/keyboards/work_louder/work_board/work_board.c
+++ b/keyboards/work_louder/work_board/work_board.c
@@ -34,9 +34,14 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
34# ifdef RGB_MATRIX_ENABLE 34# ifdef RGB_MATRIX_ENABLE
35# error Cannot run OLED and Per Key RGB at the same time due to pin conflicts 35# error Cannot run OLED and Per Key RGB at the same time due to pin conflicts
36# endif 36# endif
37__attribute__((weak)) oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_90; } 37oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
38 return OLED_ROTATION_90;
39}
38 40
39__attribute__((weak)) void oled_task_user(void) { 41bool oled_task_kb(void) {
42 if (!oled_task_user()) {
43 return false;
44 }
40 oled_write_P(PSTR("LAYER"), false); 45 oled_write_P(PSTR("LAYER"), false);
41 oled_write_P(PSTR("Lower"), layer_state_is(3)); 46 oled_write_P(PSTR("Lower"), layer_state_is(3));
42 oled_write_P(PSTR("Raise"), layer_state_is(4)); 47 oled_write_P(PSTR("Raise"), layer_state_is(4));
@@ -70,6 +75,8 @@ __attribute__((weak)) void oled_task_user(void) {
70 oled_write_P(logo[0][1], !keymap_config.swap_lctl_lgui); 75 oled_write_P(logo[0][1], !keymap_config.swap_lctl_lgui);
71 oled_write_P(logo[1][1], keymap_config.swap_lctl_lgui); 76 oled_write_P(logo[1][1], keymap_config.swap_lctl_lgui);
72 oled_write_P(PSTR(" NKRO"), keymap_config.nkro); 77 oled_write_P(PSTR(" NKRO"), keymap_config.nkro);
78
79 return false;
73} 80}
74#endif 81#endif
75 82