Skip to content

Commit

Permalink
mousekeys enable first test
Browse files Browse the repository at this point in the history
  • Loading branch information
gourdo1 committed Mar 13, 2022
1 parent 703ff6e commit da1de05
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
14 changes: 13 additions & 1 deletion keyboards/gmmk/pro/ansi/keymaps/gourdo1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if defined COLEMAK_LAYER_ENABLE
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
#define _COLEMAK 4
#endif // COLEMAK_LAYER_ENABLE
#endif // COLEMAK_LAYER_ENABLE

// Mouse Keys Definitions
//#define MK_KINETIC_SPEED // Enable Kinetic mode: Uses a quadratic curve on cursor speed to allow precise movements at the beginning and increases speed thereafter.
#define MOUSEKEY_DELAY 0 // Delay between pressing a movement key and cursor movement (default: 10)
#define MOUSEKEY_INTERVAL 13 // Time between cursor movements in milliseconds (default: 20)
#define MOUSEKEY_MOVE_DELTA 8 // Step size (default: 8)
#define MOUSEKEY_MAX_SPEED 7 // Maximum cursor speed at which acceleration stops (default: 10)
#define MOUSEKEY_TIME_TO_MAX 60 // Time until maximum cursor speed is reached (default: 30)
#define MOUSEKEY_WHEEL_DELAY 0 // Delay between pressing a wheel key and wheel movement (default: 10)
#define MOUSEKEY_WHEEL_INTERVAL 80 // Time between wheel movements (default: 80)
#define MOUSEKEY_WHEEL_MAX_SPEED 8 // Maximum number of scroll steps per scroll action (default: 8)
#define MOUSEKEY_WHEEL_TIME_TO_MAX 40 // Time until maximum scroll speed is reached (default: 40)
10 changes: 5 additions & 5 deletions keyboards/gmmk/pro/ansi/keymaps/gourdo1/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),

[_RAISE] = LAYOUT(
KC_ACL0, KC_ACL1, KC_ACL2, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_WH_U,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_WH_D,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BTN1, KC_MS_U, KC_BTN2,
_______, _______, _______, _______, _______, _______, KC_BTN3, KC_MS_L, KC_MS_D, KC_MS_R
),

#ifdef COLEMAK_LAYER_ENABLE
Expand Down
2 changes: 1 addition & 1 deletion keyboards/gmmk/pro/ansi/keymaps/gourdo1/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SRC += caps_word.c
LTO_ENABLE = yes # link time optimization -- achieves a smaller compiled size
CONSOLE_ENABLE = no
COMMAND_ENABLE = no
MOUSEKEY_ENABLE = no
MOUSEKEY_ENABLE = yes

VIA_ENABLE = no
TAP_DANCE_ENABLE = yes
Expand Down

0 comments on commit da1de05

Please sign in to comment.