From 75d4442d8388eb0223536289fff851f60b39f5ee Mon Sep 17 00:00:00 2001 From: Ivo Maceira Date: Wed, 15 Feb 2023 05:38:45 +0100 Subject: [PATCH] changing mouse accel config --- config.h | 6 ++++++ keymap.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 config.h diff --git a/config.h b/config.h new file mode 100644 index 0000000..9b6a512 --- /dev/null +++ b/config.h @@ -0,0 +1,6 @@ + +#define MOUSEKEY_INTERVAL 5 +#define MOUSEKEY_MOVE_DELTA 1 +#define MOUSEKEY_MAX_SPEED 12 +#define MOUSEKEY_TIME_TO_MAX 50 + diff --git a/keymap.c b/keymap.c index 0b6e790..521d826 100644 --- a/keymap.c +++ b/keymap.c @@ -81,10 +81,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [MOUSE] = LAYOUT_planck_mit( - _______, XXXXXXX, KC_MS_WH_DOWN, KC_MS_WH_UP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, - XXXXXXX, XXXXXXX, KC_MS_BTN3, KC_MS_BTN1, KC_MS_BTN2, _______, _______, KC_MS_LEFT, KC_MS_DOWN, KC_MS_UP, KC_MS_RIGHT, XXXXXXX, - _______, XXXXXXX, KC_MS_BTN5, KC_MS_BTN4, _______, _______, _______, KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, XXXXXXX, _______, - _______, _______, _______, _______, KC_LEFT_SHIFT, /***/ _______, XXXXXXX, _______, _______, _______, _______ + _______, XXXXXXX, KC_MS_WH_DOWN, KC_MS_WH_UP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, + XXXXXXX, XXXXXXX, KC_MS_BTN3, KC_MS_BTN1, KC_MS_BTN2, _______, _______, KC_MS_LEFT, KC_MS_DOWN, KC_MS_UP, KC_MS_RIGHT, XXXXXXX, + _______, XXXXXXX, KC_MS_BTN5, KC_MS_BTN4, _______, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, + _______, _______, _______, _______, KC_LEFT_SHIFT, /***/ _______, XXXXXXX, _______, _______, _______, _______ ),