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) |
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 48946987ce..05e4538234 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/>. # ifndef MOUSEKEY_TIME_TO_MAX # define MOUSEKEY_TIME_TO_MAX 20 # endif +# ifndef MOUSEKEY_WHEEL_DELAY +# define MOUSEKEY_WHEEL_DELAY 300 +# endif +# ifndef MOUSEKEY_WHEEL_INTERVAL +# define MOUSEKEY_WHEEL_INTERVAL 100 +# endif # ifndef MOUSEKEY_WHEEL_MAX_SPEED # define MOUSEKEY_WHEEL_MAX_SPEED 8 # endif |