Files
zsa_qmk_firmware/Mouse-keys.md
2017-03-27 09:54:49 +03:00

1.2 KiB
Raw Blame History

Can I increase the speed of the mouse keys?

Q: The default speed for controlling the mouse with the keyboard is slow. Ive tried increasing the mouses sensitivity at work using xset m and it worked, although sometimes it changes by itself for some reason. At home, on Arch Linux, this does not change ti. Ive looked through the forums and resolved to use libinput using xinput but using that I only manage to change the speed of the mouse using the actual mouse. The speed of the mouse using the keyboard controls remained unchanged. Is there perhaps something I can input in the keymap.c to change the sensitivity? Or some other surefire way of increasing the speed? Thanks!

A: In your keymaps config.h:

#define MOUSEKEY_INTERVAL       20
#define MOUSEKEY_DELAY          0
#define MOUSEKEY_TIME_TO_MAX    60
#define MOUSEKEY_MAX_SPEED      7
#define MOUSEKEY_WHEEL_DELAY 0

Tweak away. A lower interval or higher max speed will effectively make the mouse move faster. Time-to-max controls acceleration. (See this Reddit thread for the original discussion).