diff options
author | francislan <francis.lan16@gmail.com> | 2020-03-13 09:49:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 12:49:44 -0400 |
commit | 3cd2a27ac0f963bc2023c3004f6f8eff0eb62a81 (patch) | |
tree | cb50af68f1c25943003ed12446822c599e607fdc /tmk_core/common/mousekey.h | |
parent | 28d94b72484967f12b521e87b2745bc24d792471 (diff) | |
download | qmk_firmware-3cd2a27ac0f963bc2023c3004f6f8eff0eb62a81.tar.gz qmk_firmware-3cd2a27ac0f963bc2023c3004f6f8eff0eb62a81.zip |
Decouple mouse cursor and mouse wheel in accelerated mode (#6685)
* Decouples mouse cursor and mouse wheel movements in accelerated mode.
* Fixed comment indentation.
* Updated docs
Co-authored-by: Francis LAN <francislan@google.com>
Diffstat (limited to 'tmk_core/common/mousekey.h')
-rw-r--r-- | tmk_core/common/mousekey.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/common/mousekey.h b/tmk_core/common/mousekey.h index 48946987c..05e453823 100644 --- a/tmk_core/common/mousekey.h +++ b/tmk_core/common/mousekey.h | |||
@@ -55,6 +55,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
55 | # ifndef MOUSEKEY_TIME_TO_MAX | 55 | # ifndef MOUSEKEY_TIME_TO_MAX |
56 | # define MOUSEKEY_TIME_TO_MAX 20 | 56 | # define MOUSEKEY_TIME_TO_MAX 20 |
57 | # endif | 57 | # endif |
58 | # ifndef MOUSEKEY_WHEEL_DELAY | ||
59 | # define MOUSEKEY_WHEEL_DELAY 300 | ||
60 | # endif | ||
61 | # ifndef MOUSEKEY_WHEEL_INTERVAL | ||
62 | # define MOUSEKEY_WHEEL_INTERVAL 100 | ||
63 | # endif | ||
58 | # ifndef MOUSEKEY_WHEEL_MAX_SPEED | 64 | # ifndef MOUSEKEY_WHEEL_MAX_SPEED |
59 | # define MOUSEKEY_WHEEL_MAX_SPEED 8 | 65 | # define MOUSEKEY_WHEEL_MAX_SPEED 8 |
60 | # endif | 66 | # endif |