diff options
Diffstat (limited to 'keyboards/splitkb/kyria/keymaps/taamas2/config.h')
-rw-r--r-- | keyboards/splitkb/kyria/keymaps/taamas2/config.h | 51 |
1 files changed, 29 insertions, 22 deletions
diff --git a/keyboards/splitkb/kyria/keymaps/taamas2/config.h b/keyboards/splitkb/kyria/keymaps/taamas2/config.h index c8afcd859d..b276b5a59d 100644 --- a/keyboards/splitkb/kyria/keymaps/taamas2/config.h +++ b/keyboards/splitkb/kyria/keymaps/taamas2/config.h @@ -40,15 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. { B4, B5, B6, B2, B3, B1, F7, F6 } #define UNUSED_PINS -#define ENCODERS_PAD_A \ - { F4 } -#define ENCODERS_PAD_B \ - { F5 } -#define ENCODERS_PAD_A_RIGHT \ - { F5 } -#define ENCODERS_PAD_B_RIGHT \ - { F4 } - /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW @@ -88,10 +79,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # define SOFT_SERIAL_PIN D2 #endif -#define RGBLED_SPLIT \ - { 10, 10 } -#define RGBLED_NUM 20 - #ifdef OLED_ENABLE # define OLED_DISPLAY_128X64 # define SPLIT_OLED_ENABLE @@ -106,29 +93,49 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # define RGB_DISABLE_WHEN_USB_SUSPENDED #endif -// Old personal stuff from first keyboard here +// Personal or edited stuff here // Lets you roll mod-tap keys // Which is something I don't want: a // quick Alt+a don't work if this is defined //#define IGNORE_MOD_TAP_INTERRUPT -#ifdef RGBLIGHT_ENABLE - #define RGBLIGHT_ANIMATIONS - #define RGBLIGHT_HUE_STEP 8 - #define RGBLIGHT_SAT_STEP 8 - #define RGBLIGHT_VAL_STEP 8 - #define RGBLIGHT_LIMIT_VAL 150 -#endif +// Encoder settings + +#define ENCODER_RESOLUTION 2 // Mouse settings + #define MOUSEKEY_DELAY 100 #define MOUSEKEY_INTERVAL 50 #define MOUSEKEY_MAX_SPEED 20 #define MOUSEKEY_TIME_TO_MAX 20 -#define ENCODER_RESOLUTION 2 +// Led settings + +#ifdef RGBLIGHT_ENABLE + #define RGBLIGHT_HUE_STEP 8 + #define RGBLIGHT_SAT_STEP 16 + #define RGBLIGHT_VAL_STEP 8 + #define RGBLIGHT_LIMIT_VAL 255 + #define RGBLIGHT_SLEEP + //#define RGBLIGHT_SPLIT + #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT // default RGBLIGHT_MODE_STATIC_LIGHT + #define RGBLIGHT_DEFAULT_HUE 180 // default 0 + #define RGBLIGHT_DEFAULT_SAT 255 // default 255 + #define RGBLIGHT_DEFAULT_VAL 100 // default RGBLIGHT_LIMIT_VAL + #define RGBLIGHT_DEFAULT_SPD 0 // default 0 + + //#define RGBLIGHT_ANIMATIONS + #define RGBLIGHT_EFFECT_BREATHING + #define RGBLIGHT_EFFECT_SNAKE + + /*#define RGBLIGHT_LED_MAP \ + {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, \ + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}*/ +#endif // If you are using an Elite C rev3 on the slave side, uncomment the lines below: +// Does not work for Elite C rev4 // #define SPLIT_USB_DETECT // #define NO_USB_STARTUP_CHECK |