summary refs log tree commit diff stats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h46
1 files changed, 45 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 7b3ae17..240867c 100644
--- a/src/config.h
+++ b/src/config.h
@@ -1,3 +1,4 @@
+// LTeX: language=off
 /*
  * Moonlander Layout
  *
@@ -12,7 +13,8 @@
 
 /*
   Set any config.h overrides for your specific keymap here.
-  See config.h options at https://docs.qmk.fm/#/config_options?id=the-configh-file
+  See config.h options at
+  https://docs.qmk.fm/#/config_options?id=the-configh-file
 */
 
 #undef DEBOUNCE
@@ -24,3 +26,45 @@
 #define RGB_MATRIX_STARTUP_SPD 60
 
 #define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX
+
+// Mouse Key section {{{
+/* Delay between pressing a movement key and cursor movement */
+#undef MOUSEKEY_DELAY
+#define MOUSEKEY_DELAY 0 // default: 10
+
+/* Time between cursor movements in milliseconds */
+#undef MOUSEKEY_INTERVAL
+#define MOUSEKEY_INTERVAL 20 // default: 20
+
+/* Step size */
+// #undef MOUSEKEY_MOVE_DELTA
+// #define MOUSEKEY_MOVE_DELTA 18 // default: 8
+
+/* Maximum cursor speed at which acceleration stops */
+#undef MOUSEKEY_MAX_SPEED
+#define MOUSEKEY_MAX_SPEED 14 // default: 10
+
+/* Time until maximum cursor speed is reached */
+#undef MOUSEKEY_TIME_TO_MAX
+#define MOUSEKEY_TIME_TO_MAX 60 // default: 30
+
+/* Delay between pressing a wheel key and wheel movement */
+#undef MOUSEKEY_WHEEL_DELAY
+#define MOUSEKEY_WHEEL_DELAY 0 // default: 10
+
+/* Time between wheel movements */
+#undef MOUSEKEY_WHEEL_INTERVAL
+#define MOUSEKEY_WHEEL_INTERVAL 80 // default: 80
+
+/* Wheel movement step size */
+#undef MOUSEKEY_WHEEL_DELTA
+#define MOUSEKEY_WHEEL_DELTA 3 // default: 1
+
+/* Maximum number of scroll steps per scroll action */
+#undef MOUSEKEY_WHEEL_MAX_SPEED
+#define MOUSEKEY_WHEEL_MAX_SPEED 8 // default: 8
+
+/* Time until maximum scroll speed is reached */
+#undef MOUSEKEY_WHEEL_TIME_TO_MAX
+#define MOUSEKEY_WHEEL_TIME_TO_MAX 60 // default: 40
+// }}}