From fc3965ef70ead4d01209c344f9a5f8e1dcf8a1dd Mon Sep 17 00:00:00 2001 From: Jesper Nellemann Jakobsen Date: Tue, 21 May 2019 20:03:57 +0200 Subject: [PATCH] [Keymap] Update Mouse key settings (#5946) Set shorter `MOUSEKEY_INTERVAL` and `MOUSEKEY_TIME_TO_MAX`. Move mouse scroll buttons around and update comment to reflect change. --- keyboards/dz60/keymaps/bingocaller/config.h | 3 ++- keyboards/dz60/keymaps/bingocaller/keymap.c | 6 +++--- keyboards/dz60/keymaps/bingocaller/readme.md | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/keyboards/dz60/keymaps/bingocaller/config.h b/keyboards/dz60/keymaps/bingocaller/config.h index 470e3d18b2..b04b47a30b 100644 --- a/keyboards/dz60/keymaps/bingocaller/config.h +++ b/keyboards/dz60/keymaps/bingocaller/config.h @@ -1,2 +1,3 @@ -#undef MOUSEKEY_DELAY #define MOUSEKEY_DELAY 0 +#define MOUSEKEY_INTERVAL 20 +#define MOUSEKEY_TIME_TO_MAX 15 diff --git a/keyboards/dz60/keymaps/bingocaller/keymap.c b/keyboards/dz60/keymaps/bingocaller/keymap.c index 961d825566..6b33174978 100644 --- a/keyboards/dz60/keymaps/bingocaller/keymap.c +++ b/keyboards/dz60/keymaps/bingocaller/keymap.c @@ -60,13 +60,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * Mouse keys * Cursor movement: HJKL * MB 1, 2, and 3 on F, D, and S, respectively - * Mouse wheel: U(p) and D(own) + * Mouse wheel: up (V), down (R) (reversed because of Natural Scrolling) */ [_MOUSE] = LAYOUT( _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, KC_WH_U, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_BTN3, KC_BTN2, KC_BTN1, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, _______, _______, _______, _______, _______, _______, _______, KC_WH_D, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, KC_BTN3, KC_BTN2, KC_BTN1, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, _______, _______, _______, + _______, _______, _______, _______, _______, KC_WH_U, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), /* Layer 4: diff --git a/keyboards/dz60/keymaps/bingocaller/readme.md b/keyboards/dz60/keymaps/bingocaller/readme.md index 0cb3f77e2b..d32dc62674 100644 --- a/keyboards/dz60/keymaps/bingocaller/readme.md +++ b/keyboards/dz60/keymaps/bingocaller/readme.md @@ -89,7 +89,7 @@ This is a MacOS-specific keymap for DZ60 configured in a standard 60% ANSI layou * Mouse keys * Cursor movement: HJKL * MB 1, 2, and 3 on F, D, and S, respectively - * Mouse wheel: Up (R) and Down (V) + * Mouse wheel: up (V), down (R) (reversed because of Natural Scrolling) ## `L4`