diff --git a/keyboards/enviousdesign/60f/config.h b/keyboards/enviousdesign/60f/config.h index ec816a9edff..2c6fc020573 100644 --- a/keyboards/enviousdesign/60f/config.h +++ b/keyboards/enviousdesign/60f/config.h @@ -20,11 +20,11 @@ along with this program. If not, see . #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0x2E8A -#define PRODUCT_ID 0xE739 -#define DEVICE_VER 0x0001 +#define VENDOR_ID 0x2E8A +#define PRODUCT_ID 0xE739 +#define DEVICE_VER 0x0001 #define MANUFACTURER EnviousDesign -#define PRODUCT 60F 1.0 +#define PRODUCT 60F 1.0 /* key matrix size */ #define MATRIX_ROWS 5 @@ -40,8 +40,10 @@ along with this program. If not, see . * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) * */ -#define MATRIX_ROW_PINS { 11, 12, 13, 14, 15 } -#define MATRIX_COL_PINS { 10, 9, 8, 7, 6, 5, 16, 17, 18, 19, 20, 21, 22, 26, 27 } +#define MATRIX_ROW_PINS \ + { 11, 12, 13, 14, 15 } +#define MATRIX_COL_PINS \ + { 10, 9, 8, 7, 6, 5, 16, 17, 18, 19, 20, 21, 22, 26, 27 } #define UNUSED_PINS /* COL2ROW, ROW2COL */ diff --git a/keyboards/enviousdesign/60f/keymaps/via/config.h b/keyboards/enviousdesign/60f/keymaps/via/config.h index ad5d33ada08..1660bb1da5b 100644 --- a/keyboards/enviousdesign/60f/keymaps/via/config.h +++ b/keyboards/enviousdesign/60f/keymaps/via/config.h @@ -2,8 +2,10 @@ #pragma once -#define VIAL_KEYBOARD_UID {0x96, 0x81, 0x7A, 0x4C, 0xCA, 0xED, 0xA7, 0x6B} +#define VIAL_KEYBOARD_UID \ + { 0x96, 0x81, 0x7A, 0x4C, 0xCA, 0xED, 0xA7, 0x6B } - -#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 } -#define VIAL_UNLOCK_COMBO_COLS { 0, 13 } +#define VIAL_UNLOCK_COMBO_ROWS \ + { 0, 2 } +#define VIAL_UNLOCK_COMBO_COLS \ + { 0, 13 } diff --git a/keyboards/enviousdesign/65m/config.h b/keyboards/enviousdesign/65m/config.h index b04b79c7531..67d51ea9ee7 100644 --- a/keyboards/enviousdesign/65m/config.h +++ b/keyboards/enviousdesign/65m/config.h @@ -20,11 +20,11 @@ along with this program. If not, see . #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0x2E8A -#define PRODUCT_ID 0xE739 -#define DEVICE_VER 0x0001 +#define VENDOR_ID 0x2E8A +#define PRODUCT_ID 0xE739 +#define DEVICE_VER 0x0001 #define MANUFACTURER EnviousDesign -#define PRODUCT EnvKB 65M +#define PRODUCT EnvKB 65M /* key matrix size */ #define MATRIX_ROWS 5 @@ -45,8 +45,10 @@ along with this program. If not, see . * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) * */ -#define MATRIX_ROW_PINS { GP21, GP20, GP19, GP18, GP17 } -#define MATRIX_COL_PINS { GP0, GP1, GP2, GP3, GP4, GP5, GP6, GP7, GP8, GP9, GP10, GP11, GP12, GP13, GP14, GP15, GP16 } +#define MATRIX_ROW_PINS \ + { GP21, GP20, GP19, GP18, GP17 } +#define MATRIX_COL_PINS \ + { GP0, GP1, GP2, GP3, GP4, GP5, GP6, GP7, GP8, GP9, GP10, GP11, GP12, GP13, GP14, GP15, GP16 } #define UNUSED_PINS /* COL2ROW, ROW2COL */ diff --git a/keyboards/enviousdesign/mcro/rev1/config.h b/keyboards/enviousdesign/mcro/rev1/config.h index 3ba38e0e9a5..f127d54287a 100644 --- a/keyboards/enviousdesign/mcro/rev1/config.h +++ b/keyboards/enviousdesign/mcro/rev1/config.h @@ -20,18 +20,16 @@ along with this program. If not, see . #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0x2E8A -#define PRODUCT_ID 0xE739 -#define DEVICE_VER 0x0011 +#define VENDOR_ID 0x2E8A +#define PRODUCT_ID 0xE739 +#define DEVICE_VER 0x0011 #define MANUFACTURER EnviousDesign -#define PRODUCT MCRO 1.0 +#define PRODUCT MCRO 1.0 /* key matrix size */ #define MATRIX_ROWS 3 #define MATRIX_COLS 4 - - /* * Keyboard Matrix Assignments * @@ -43,8 +41,10 @@ along with this program. If not, see . * */ -#define MATRIX_ROW_PINS { GP4, GP11, GP15 } -#define MATRIX_COL_PINS { GP18, GP19, GP20, GP21 } +#define MATRIX_ROW_PINS \ + { GP4, GP11, GP15 } +#define MATRIX_COL_PINS \ + { GP18, GP19, GP20, GP21 } #define UNUSED_PINS /* COL2ROW, ROW2COL */ diff --git a/keyboards/enviousdesign/mcro/rev1/keymaps/via/config.h b/keyboards/enviousdesign/mcro/rev1/keymaps/via/config.h index 6723ab6c319..49122f02603 100644 --- a/keyboards/enviousdesign/mcro/rev1/keymaps/via/config.h +++ b/keyboards/enviousdesign/mcro/rev1/keymaps/via/config.h @@ -2,8 +2,10 @@ #pragma once -#define VIAL_KEYBOARD_UID {0xA4, 0x13, 0x53, 0xAF, 0xD2, 0x3D, 0x62, 0x66} +#define VIAL_KEYBOARD_UID \ + { 0xA4, 0x13, 0x53, 0xAF, 0xD2, 0x3D, 0x62, 0x66 } - -#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 } -#define VIAL_UNLOCK_COMBO_COLS { 0, 13 } +#define VIAL_UNLOCK_COMBO_ROWS \ + { 0, 2 } +#define VIAL_UNLOCK_COMBO_COLS \ + { 0, 13 } diff --git a/keyboards/enviousdesign/tkl/rev0/config.h b/keyboards/enviousdesign/tkl/rev0/config.h index 1148c57345d..13e99c16f6d 100644 --- a/keyboards/enviousdesign/tkl/rev0/config.h +++ b/keyboards/enviousdesign/tkl/rev0/config.h @@ -20,11 +20,11 @@ along with this program. If not, see . #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0x2E8A -#define PRODUCT_ID 0xE739 -#define DEVICE_VER 0x0000 +#define VENDOR_ID 0x2E8A +#define PRODUCT_ID 0xE739 +#define DEVICE_VER 0x0000 #define MANUFACTURER EnviousDesign -#define PRODUCT EnvKB TKL Prototype +#define PRODUCT EnvKB TKL Prototype /* key matrix size */ #define MATRIX_ROWS 6 @@ -44,8 +44,10 @@ along with this program. If not, see . * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) * */ -#define MATRIX_ROW_PINS { 20, 21, 22, 26, 27, 28 } -#define MATRIX_COL_PINS { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 18, 17, 16 } +#define MATRIX_ROW_PINS \ + { 20, 21, 22, 26, 27, 28 } +#define MATRIX_COL_PINS \ + { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 18, 17, 16 } #define UNUSED_PINS /* COL2ROW, ROW2COL */ diff --git a/keyboards/enviousdesign/tkl/rev1/config.h b/keyboards/enviousdesign/tkl/rev1/config.h index 77cb0762324..3f417643021 100644 --- a/keyboards/enviousdesign/tkl/rev1/config.h +++ b/keyboards/enviousdesign/tkl/rev1/config.h @@ -20,10 +20,10 @@ along with this program. If not, see . #include "config_common.h" /* USB Device descriptor parameter */ -#define PRODUCT Delirium TKL Rev 1.0+ -#define VENDOR_ID 0x2E8A -#define PRODUCT_ID 0xE739 -#define DEVICE_VER 0x0001 +#define PRODUCT Delirium TKL Rev 1.0 + +#define VENDOR_ID 0x2E8A +#define PRODUCT_ID 0xE739 +#define DEVICE_VER 0x0001 #define MANUFACTURER EnviousDesign /* key matrix size */ @@ -44,8 +44,10 @@ along with this program. If not, see . * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) * */ -#define MATRIX_ROW_PINS { 20, 21, 22, 26, 27, 28 } -#define MATRIX_COL_PINS { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 18, 17, 16 } +#define MATRIX_ROW_PINS \ + { 20, 21, 22, 26, 27, 28 } +#define MATRIX_COL_PINS \ + { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 18, 17, 16 } #define UNUSED_PINS /* COL2ROW, ROW2COL */ diff --git a/keyboards/enviousdesign/tkl/rev1/keymaps/via/config.h b/keyboards/enviousdesign/tkl/rev1/keymaps/via/config.h index 33dedd424ec..2e1a7f39300 100644 --- a/keyboards/enviousdesign/tkl/rev1/keymaps/via/config.h +++ b/keyboards/enviousdesign/tkl/rev1/keymaps/via/config.h @@ -2,8 +2,10 @@ #pragma once -#define VIAL_KEYBOARD_UID {0xC3, 0x73, 0xA9, 0xCA, 0xD8, 0x79, 0xAF, 0xC5} +#define VIAL_KEYBOARD_UID \ + { 0xC3, 0x73, 0xA9, 0xCA, 0xD8, 0x79, 0xAF, 0xC5 } - -#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 } -#define VIAL_UNLOCK_COMBO_COLS { 0, 13 } +#define VIAL_UNLOCK_COMBO_ROWS \ + { 0, 2 } +#define VIAL_UNLOCK_COMBO_COLS \ + { 0, 13 } diff --git a/keyboards/enviousdesign/tkl/rgb/config.h b/keyboards/enviousdesign/tkl/rgb/config.h index c2a740caad2..8cf02244ef5 100644 --- a/keyboards/enviousdesign/tkl/rgb/config.h +++ b/keyboards/enviousdesign/tkl/rgb/config.h @@ -20,13 +20,11 @@ along with this program. If not, see . #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0x2E8A -#define PRODUCT_ID 0x000A -#define DEVICE_VER 0x0001 +#define VENDOR_ID 0x2E8A +#define PRODUCT_ID 0x000A +#define DEVICE_VER 0x0001 #define MANUFACTURER EnviousDesign -#define PRODUCT ALT Delirium RGB - - +#define PRODUCT ALT Delirium RGB /* key matrix size */ #define MATRIX_ROWS 6 @@ -72,14 +70,14 @@ along with this program. If not, see . //#define RGB_DI_PIN #define RGB_DI_PIN GP0 //#ifdef RGB_DI_PIN -# define RGBLED_NUM 88 -# define RGBLIGHT_HUE_STEP 1 -# define RGBLIGHT_SAT_STEP 1 -# define RGBLIGHT_VAL_STEP 1 -# define RGBLIGHT_LIMIT_VAL 64 /* The maximum brightness level */ -# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ +#define RGBLED_NUM 88 +#define RGBLIGHT_HUE_STEP 1 +#define RGBLIGHT_SAT_STEP 1 +#define RGBLIGHT_VAL_STEP 1 +#define RGBLIGHT_LIMIT_VAL 64 /* The maximum brightness level */ +#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ /*== all animations enable ==*/ -# define RGBLIGHT_ANIMATIONS +#define RGBLIGHT_ANIMATIONS /*== or choose animations ==*/ //# define RGBLIGHT_EFFECT_BREATHING //# define RGBLIGHT_EFFECT_RAINBOW_MOOD @@ -171,7 +169,6 @@ along with this program. If not, see . // The number of LEDs connected #define DRIVER_LED_TOTAL 88 - #ifdef RGB_MATRIX_ENABLE # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR # define ENABLE_RGB_MATRIX_ALPHAS_MODS @@ -220,14 +217,13 @@ along with this program. If not, see . # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH #endif -//some config bits +// some config bits //#define RGB_MATRIX_KEYPRESSES // reacts to keypresses //#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) -#define RGB_DISABLE_AFTER_TIMEOUT 900 // number of ticks to wait until disabling effects (ticks seem to be 1 per second on my RP2040) +#define RGB_DISABLE_AFTER_TIMEOUT 900 // number of ticks to wait until disabling effects (ticks seem to be 1 per second on my RP2040) #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended //#define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) #define RGB_MATRIX_LED_FLUSH_LIMIT 8 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) //#define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 64 #define EECONFIG_RGB_MATRIX (uint32_t *)28 -