summaryrefslogtreecommitdiff
path: root/tmk_core/common/mousekey.c
AgeCommit message (Collapse)Author
2021-02-07Migrate mousekey to quantum (#11804)Joel Challis
2021-02-06Remove legacy print backward compatiblitly (#11805)Joel Challis
* Remove legacy print backward compatiblitly * Remove legacy print backward compatiblitly - core * revert comment changes
2021-01-28Add support for 8 buttons to mouse report (#10807)Drashna Jaelre
* Add support for 8 buttons to mouse report This includes support for 8 buttons in mousekeys. However, this does move the keys around due to the fact that the last mousekey keycode is already 0xFF, so any past that would not work with register_code and the like, breaking them for tap hold keys, encoders, and other features. * Update mouse key docs * Add changes based on feedback * Fix VUSB report size comment Because drashna red gud * Fix typo in action.c * Fix IS_MOUSE_BUTTON check * Change start range for mousekeys so that the end is 0xFF properly * condense mousekeys check
2021-01-17`qmk cformat`Nick Brassel
2020-12-24Implement kinetic mouse movement algorithm (#6739)Jan Christoph Ebersbach
* Implement kinetic mouse movement algorithm * Adjust mouse wheel speed * Remove unused math.h include * Wrap mouse_timer definition in ifdef * Replace double space by single space * Clarify documentation of kinetic mouse speed Co-Authored-By: lf <software@lfcode.ca> * Clarify documentation of kinetic mouse speed Co-Authored-By: lf <software@lfcode.ca> * Remove superfluous definition of speed * fix(variable): remove unused variable Co-authored-by: lf <software@lfcode.ca>
2020-08-29format code according to conventions [skip ci]QMK Bot
2020-08-29Fix the mousekey scrolling (#9174)dhong44
Mousekey scrolling should have a separate repeat variable to keep track of scrolling acceleration, instead of being tied to mouse movement scolling in mousekeys. The send function should record when the last movement was made since this is when movement is actually sent. Doing this fixes the bug where the initial press of a mousekey scroll button causes a double scroll. Signed-off-by: Daniel Hong <daniel.hong@live.com>
2020-07-21format code according to conventions [skip ci]QMK Bot
2020-07-21Implemented New MK_COMBINED Functionality (#9557)nathanvercaemert
* implemented new mousekey_combined functionality * minor formatting change to documentation * Update tmk_core/common/mousekey.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update tmk_core/common/mousekey.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update tmk_core/common/mousekey.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update tmk_core/common/mousekey.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update docs/feature_mouse_keys.md Co-authored-by: Nick Brassel <nick@tzarc.org> * Update docs/feature_mouse_keys.md Co-authored-by: Nick Brassel <nick@tzarc.org> * Update docs/feature_mouse_keys.md Co-authored-by: Nick Brassel <nick@tzarc.org> * Update docs/feature_mouse_keys.md Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nathan Vercaemert <nathan.vercaemert@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2020-03-13format code according to conventions [skip ci]QMK Bot
2020-03-13Decouple mouse cursor and mouse wheel in accelerated mode (#6685)francislan
* Decouples mouse cursor and mouse wheel movements in accelerated mode. * Fixed comment indentation. * Updated docs Co-authored-by: Francis LAN <francislan@google.com>
2019-08-30clang-format changesskullY
2019-05-06Re-fix Mousekey Movements (#5740)Drashna Jaelre
* Re-fix Mousekey Movements After the new movement model was instroduced, it broke diagonal momement, again. Reapplying fix from #3147 to both old and new acceleration method. * Make diagonal mouse report checks more readable Co-Authored-By: drashna <drashna@live.com>
2019-04-18Improve mouse keys docs and constant speed modeMarkus Weimar
2019-03-26Add 3 speed mousekey movement option (#2246)Jon Arintok
This allows for constant, non-accelerated mouse movement, while retaining the original functionality. Configurable by a define.
2018-06-28Diagonal micro move fixEvgeniy Petukhov
2017-08-15Remove floating point calculation in mouse move. Saves approx 650 bytes if ↵Martin Sandiford
no other floating point used.
2015-04-10Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core'tmk