aboutsummaryrefslogtreecommitdiffstats
path: root/users/bcat/config.h
diff options
context:
space:
mode:
authorJonathan Rascher <jon@bcat.name>2020-04-22 15:26:51 -0500
committerGitHub <noreply@github.com>2020-04-22 13:26:51 -0700
commitc1c579c554839b5bea1b23480837d9b67faf87d4 (patch)
tree153e2e309ac20060aefb023c2ca38a6a1861cf5f /users/bcat/config.h
parent19bd8aa942519666fa8af298f7b80f6150d268a2 (diff)
downloadfirmware-c1c579c554839b5bea1b23480837d9b67faf87d4.tar.gz
firmware-c1c579c554839b5bea1b23480837d9b67faf87d4.tar.bz2
firmware-c1c579c554839b5bea1b23480837d9b67faf87d4.zip
[Keymap] Clean up my ergo keymaps and userspace (#8857)
* Remove more mouse keys settings missed in #8836 * Turn off more unwanted make options * clang-format my userspace * Reword ergo layout docs so Crkbd is canonical * Add a basic readme to my userspace * Tweak Crkbd readme wording and fix typos * Enable SPLIT_USB_DETECT for Lily58 w/ Elite-C bug
Diffstat (limited to 'users/bcat/config.h')
-rw-r--r--users/bcat/config.h82
1 files changed, 31 insertions, 51 deletions
diff --git a/users/bcat/config.h b/users/bcat/config.h
index da74cb0a0..b0d556186 100644
--- a/users/bcat/config.h
+++ b/users/bcat/config.h
@@ -26,65 +26,45 @@
#define TAPPING_FORCE_HOLD
#if defined(RGB_MATRIX_ENABLE)
- /* Turn off per-key RGB when the host goes to sleep. */
- #define RGB_DISABLE_WHEN_USB_SUSPENDED true
-
- /* Keep per-key RGB increments consistent across keyboards. */
- #undef RGB_MATRIX_HUE_STEP
- #undef RGB_MATRIX_SAT_STEP
- #undef RGB_MATRIX_VAL_STEP
- #undef RGB_MATRIX_SPD_STEP
-
- #define RGB_MATRIX_HUE_STEP 8
- #define RGB_MATRIX_SAT_STEP 17
- #define RGB_MATRIX_VAL_STEP 17
- #define RGB_MATRIX_SPD_STEP 17
-
- /* Turn on additional RGB animations. */
- #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
- #define RGB_MATRIX_KEYPRESSES
+/* Turn off per-key RGB when the host goes to sleep. */
+# define RGB_DISABLE_WHEN_USB_SUSPENDED true
+
+/* Keep per-key RGB increments consistent across keyboards. */
+# undef RGB_MATRIX_HUE_STEP
+# undef RGB_MATRIX_SAT_STEP
+# undef RGB_MATRIX_VAL_STEP
+# undef RGB_MATRIX_SPD_STEP
+
+# define RGB_MATRIX_HUE_STEP 8
+# define RGB_MATRIX_SAT_STEP 17
+# define RGB_MATRIX_VAL_STEP 17
+# define RGB_MATRIX_SPD_STEP 17
+
+/* Turn on additional RGB animations. */
+# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+# define RGB_MATRIX_KEYPRESSES
#endif
#if defined(RGBLIGHT_ENABLE)
- /* Turn off RGB underglow when the host goes to sleep. */
- #define RGBLIGHT_SLEEP
+/* Turn off RGB underglow when the host goes to sleep. */
+# define RGBLIGHT_SLEEP
- /* Keep RGB underglow level increments consistent across keyboards. */
- #undef RGBLIGHT_HUE_STEP
- #undef RGBLIGHT_SAT_STEP
- #undef RGBLIGHT_VAL_STEP
+/* Keep RGB underglow level increments consistent across keyboards. */
+# undef RGBLIGHT_HUE_STEP
+# undef RGBLIGHT_SAT_STEP
+# undef RGBLIGHT_VAL_STEP
- #define RGBLIGHT_HUE_STEP 8
- #define RGBLIGHT_SAT_STEP 17
- #define RGBLIGHT_VAL_STEP 17
+# define RGBLIGHT_HUE_STEP 8
+# define RGBLIGHT_SAT_STEP 17
+# define RGBLIGHT_VAL_STEP 17
#endif
#if defined(BACKLIGHT_ENABLE)
- /* Enable backlight breathing across the board. */
- #define BACKLIGHT_BREATHING
-
- /* Keep backlight level increments consistent across keyboards. */
- #undef BACKLIGHT_LEVELS
-
- #define BACKLIGHT_LEVELS 7
-#endif
-
-#if defined(MOUSEKEY_ENABLE)
- /* Make mouse operation smoother. */
- #undef MOUSEKEY_DELAY
- #undef MOUSEKEY_INTERVAL
-
- #define MOUSEKEY_DELAY 0
- #define MOUSEKEY_INTERVAL 16
+/* Enable backlight breathing across the board. */
+# define BACKLIGHT_BREATHING
- /* Lower mouse speed to adjust for reduced MOUSEKEY_INTERVAL. */
- #undef MOUSEKEY_MAX_SPEED
- #undef MOUSEKEY_TIME_TO_MAX
- #undef MOUSEKEY_WHEEL_MAX_SPEED
- #undef MOUSEKEY_WHEEL_TIME_TO_MAX
+/* Keep backlight level increments consistent across keyboards. */
+# undef BACKLIGHT_LEVELS
- #define MOUSEKEY_MAX_SPEED 7
- #define MOUSEKEY_TIME_TO_MAX 150
- #define MOUSEKEY_WHEEL_MAX_SPEED 3
- #define MOUSEKEY_WHEEL_TIME_TO_MAX 150
+# define BACKLIGHT_LEVELS 7
#endif