Moved mouse config to .json

This commit is contained in:
Ryan Neff 2023-11-25 14:43:28 -08:00
parent 3736ac34d5
commit dfe3646dd7
4 changed files with 11 additions and 18 deletions

View File

@ -12,6 +12,13 @@
"pin": "GP0",
"driver": "vendor"
},
"mouse_key": {
"enabled": true,
"delay": 10,
"interval": 16,
"max_speed": 2,
"time_to_max": 40
}
"rgb_matrix": {
"driver": "ws2812",
"max_brightness": 128,

View File

@ -13,16 +13,10 @@
#define TAPPING_TERM 210
/* Allows for the setting of constant mouse speed levels. */
/* Delay between pressing a movement key and cursor movement */
#define MOUSEKEY_DELAY 10
/* Time between cursor movements in milliseconds */
#define MOUSEKEY_INTERVAL 16
/* Not all mouse wheel config settings are currently supported in .json config.*/
/* https://github.com/qmk/qmk_firmware/blob/master/docs/reference_info_json.md */
/* Step size */
#define MOUSEKEY_MOVE_DELTA 8
/* Maximum cursor speed at which acceleration stops */
#define MOUSEKEY_MAX_SPEED 2
/* Time until maximum cursor speed is reached */
#define MOUSEKEY_TIME_TO_MAX 40
/* Maximum number of scroll steps per scroll action */
#define MOUSEKEY_WHEEL_MAX_SPEED 42
/* Time until maximum scroll speed is reached */

View File

@ -21,16 +21,10 @@
#define TAPPING_TERM 210
/* Allows for the setting of constant mouse speed levels. */
/* Delay between pressing a movement key and cursor movement */
#define MOUSEKEY_DELAY 10
/* Time between cursor movements in milliseconds */
#define MOUSEKEY_INTERVAL 16
/* Not all mouse wheel config settings are currently supported in .json config.*/
/* https://github.com/qmk/qmk_firmware/blob/master/docs/reference_info_json.md */
/* Step size */
#define MOUSEKEY_MOVE_DELTA 8
/* Maximum cursor speed at which acceleration stops */
#define MOUSEKEY_MAX_SPEED 2
/* Time until maximum cursor speed is reached */
#define MOUSEKEY_TIME_TO_MAX 40
/* Maximum number of scroll steps per scroll action */
#define MOUSEKEY_WHEEL_MAX_SPEED 42
/* Time until maximum scroll speed is reached */

View File

@ -1,7 +1,5 @@
# Enables Audio control and System control Keycodes
EXTRAKEY_ENABLE = yes
# Enables Mousekeys
MOUSEKEY_ENABLE = yes
# Encoder Support
ENCODER_ENABLE = yes
# Use Enocoder Mapping