aboutsummaryrefslogtreecommitdiff
path: root/keyboards/work_louder/work_board/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/work_louder/work_board/config.h')
-rw-r--r--keyboards/work_louder/work_board/config.h78
1 files changed, 41 insertions, 37 deletions
diff --git a/keyboards/work_louder/work_board/config.h b/keyboards/work_louder/work_board/config.h
index 2ccc1be4c..fb9723db0 100644
--- a/keyboards/work_louder/work_board/config.h
+++ b/keyboards/work_louder/work_board/config.h
@@ -27,8 +27,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27#define PRODUCT Work Board 27#define PRODUCT Work Board
28 28
29/* key matrix size */ 29/* key matrix size */
30#define MATRIX_ROWS 4 30#define MATRIX_ROWS 4
31#define MATRIX_COLS 13 31#define MATRIX_COLS 13
32 32
33/* 33/*
34 * Keyboard Matrix Assignments 34 * Keyboard Matrix Assignments
@@ -40,42 +40,35 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) 40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 * 41 *
42 */ 42 */
43#define MATRIX_ROW_PINS { F0, F1, F4, F5 } 43#define MATRIX_ROW_PINS \
44#define MATRIX_COL_PINS { D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6, E6 } 44 { F0, F1, F4, F5 }
45#define MATRIX_COL_PINS \
46 { D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6, E6 }
45#define UNUSED_PINS 47#define UNUSED_PINS
46 48
47/* COL2ROW, ROW2COL */ 49/* COL2ROW, ROW2COL */
48#define DIODE_DIRECTION COL2ROW 50#define DIODE_DIRECTION COL2ROW
49 51
50#define LED_NUM_LOCK_PIN B2 52#define RGBLIGHT_DI_PIN D2
51#define LED_CAPS_LOCK_PIN B3 53#define RGBLED_NUM 26
52#define LED_SCROLL_LOCK_PIN B7
53//#define LED_COMPOSE_PIN B3
54//#define LED_KANA_PIN B4
55
56//#define BACKLIGHT_PIN B7
57//#define BACKLIGHT_LEVELS 3
58//#define BACKLIGHT_BREATHING
59
60#define RGBLIGHT_DI_PIN D2
61# define RGBLED_NUM 26
62//# define RGBLIGHT_HUE_STEP 8 54//# define RGBLIGHT_HUE_STEP 8
63//# define RGBLIGHT_SAT_STEP 8 55//# define RGBLIGHT_SAT_STEP 8
64//# define RGBLIGHT_VAL_STEP 8 56//# define RGBLIGHT_VAL_STEP 8
65# define RGBLIGHT_LIMIT_VAL 100 /* The maximum brightness level */ 57#define RGBLIGHT_LIMIT_VAL 120 /* The maximum brightness level */
66# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ 58#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
67/*== all animations enable ==*/
68# define RGBLIGHT_ANIMATIONS
69/*== or choose animations ==*/ 59/*== or choose animations ==*/
70//# define RGBLIGHT_EFFECT_BREATHING 60#define RGBLIGHT_EFFECT_BREATHING
71//# define RGBLIGHT_EFFECT_RAINBOW_MOOD 61#define RGBLIGHT_EFFECT_RAINBOW_MOOD
72//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL 62#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
73//# define RGBLIGHT_EFFECT_SNAKE 63#define RGBLIGHT_EFFECT_SNAKE
74//# define RGBLIGHT_EFFECT_KNIGHT 64#define RGBLIGHT_EFFECT_KNIGHT
75//# define RGBLIGHT_EFFECT_CHRISTMAS 65#define RGBLIGHT_EFFECT_CHRISTMAS
76//# define RGBLIGHT_EFFECT_STATIC_GRADIENT 66#define RGBLIGHT_EFFECT_STATIC_GRADIENT
77//# define RGBLIGHT_EFFECT_RGB_TEST 67#define RGBLIGHT_EFFECT_RGB_TEST
78//# define RGBLIGHT_EFFECT_ALTERNATING 68#define RGBLIGHT_EFFECT_TWINKLE
69
70#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_GRADIENT + 9
71#define RGBLIGHT_DEFAULT_HUE 213
79/*== customize breathing effect ==*/ 72/*== customize breathing effect ==*/
80/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ 73/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
81//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 74//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
@@ -84,10 +77,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
84//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 77//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
85//#endif 78//#endif
86 79
87#define RGB_DI_PIN D0 80#define RGB_DI_PIN D1
88#define DRIVER_LED_TOTAL 50 81#define DRIVER_LED_TOTAL 49
89#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 100 82#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120
90#define RGB_MATRIX_DISABLE_KEYCODES 83#define RGB_MATRIX_DISABLE_KEYCODES
84#define RGB_DISABLE_WHEN_USB_SUSPENDED
91 85
92/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 86/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
93#define DEBOUNCE 5 87#define DEBOUNCE 5
@@ -146,14 +140,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
146#define NO_ACTION_MACRO 140#define NO_ACTION_MACRO
147#define NO_ACTION_FUNCTION 141#define NO_ACTION_FUNCTION
148 142
149#define ENCODERS_PAD_A { B0 } 143#define ENCODERS_PAD_A \
150#define ENCODERS_PAD_B { B1 } 144 { B0 }
145#define ENCODERS_PAD_B \
146 { B1 }
151 147
152#define ENCODERS 1 148#define ENCODERS 1
153 149
154#define ENCODERS_CW_KEY { { 12, 1 } } 150#define ENCODERS_CW_KEY \
155#define ENCODERS_CCW_KEY { { 12, 2 } } 151 { \
152 { 12, 1 } \
153 }
154#define ENCODERS_CCW_KEY \
155 { \
156 { 12, 2 } \
157 }
156 158
157/* Bootmagic Lite key configuration */ 159/* Bootmagic Lite key configuration */
158//#define BOOTMAGIC_LITE_ROW 0 160//#define BOOTMAGIC_LITE_ROW 0
159//#define BOOTMAGIC_LITE_COLUMN 0 161//#define BOOTMAGIC_LITE_COLUMN 0
162
163#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x1