summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/mousekey.c
Commit message (Collapse)AuthorAgeFilesLines
* Migrate mousekey to quantum (#11804)Joel Challis2021-02-071-488/+0
|
* Remove legacy print backward compatiblitly (#11805)Joel Challis2021-02-061-1/+1
| | | | | | | * Remove legacy print backward compatiblitly * Remove legacy print backward compatiblitly - core * revert comment changes
* Add support for 8 buttons to mouse report (#10807)Drashna Jaelre2021-01-281-40/+8
| | | | | | | | | | | | | | | | | | | | | * 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
* `qmk cformat`Nick Brassel2021-01-171-18/+14
|
* Implement kinetic mouse movement algorithm (#6739)Jan Christoph Ebersbach2020-12-241-2/+80
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* format code according to conventions [skip ci]QMK Bot2020-08-291-10/+9
|
* Fix the mousekey scrolling (#9174)dhong442020-08-291-39/+43
| | | | | | | | | | 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>
* format code according to conventions [skip ci]QMK Bot2020-07-211-3/+3
|
* Implemented New MK_COMBINED Functionality (#9557)nathanvercaemert2020-07-211-15/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* format code according to conventions [skip ci]QMK Bot2020-03-131-11/+17
|
* Decouple mouse cursor and mouse wheel in accelerated mode (#6685)francislan2020-03-131-24/+46
| | | | | | | | | * Decouples mouse cursor and mouse wheel movements in accelerated mode. * Fixed comment indentation. * Updated docs Co-authored-by: Francis LAN <francislan@google.com>
* clang-format changesskullY2019-08-301-236/+284
|
* Re-fix Mousekey Movements (#5740)Drashna Jaelre2019-05-061-0/+4
| | | | | | | | | | * 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>
* Improve mouse keys docs and constant speed modeMarkus Weimar2019-04-181-13/+16
|
* Add 3 speed mousekey movement option (#2246)Jon Arintok2019-03-261-130/+242
| | | | This allows for constant, non-accelerated mouse movement, while retaining the original functionality. Configurable by a define.
* Diagonal micro move fixEvgeniy Petukhov2018-06-281-0/+2
|
* Remove floating point calculation in mouse move. Saves approx 650 bytes if ↵Martin Sandiford2017-08-151-3/+11
| | | | no other floating point used.
* Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core'tmk2015-04-101-0/+196