Commit graph

7 commits

Author SHA1 Message Date
Peter Johanson
4cf0f458b4 fix(mouse): Fix up tests and make ZMK_MOUSE explicit. 2024-09-12 00:03:55 +02:00
Peter Johanson
5e2e1a9bad fix: Testing fixes for listener refactor. 2024-09-12 00:01:17 +02:00
Peter Johanson
e9513c51d3 feat(mouse): Add input configs for data mods.
* Add ability to swap X/Y, invert X and Y values, and apply a
  scalar multiplier/divisor.
2024-09-11 23:59:40 +02:00
Peter Johanson
2b6cdfa593 refactor: Use input system for pointer events. 2024-09-11 23:59:36 +02:00
Cem Aksoylar
fe32108532 feat(mouse): Add mouse move and scroll support [WIP]
Co-authored-by: Alexander Krikun <krikun98@gmail.com>
Co-authored-by: Robert U <urob@users.noreply.github.com>
Co-authored-by: Shawn Meier <ftc@users.noreply.github.com>
2024-09-11 23:58:14 +02:00
Joel Spadin
ba5637fdef refactor: Remove unimportant labels
Removed "label" properties which no longer have any function.

Labels are still used as layer names and as identifiers for sending
behaviors between sides of a split keyboard, so those have been left
alone for now.
2023-12-04 20:06:54 -06:00
Alexander Krikun
d7d9eed317 feat(mouse): Initial mouse keys support.
* Add HID report/descriptor for a new report with mouse buttons,
  and x/y/wheel deltas.
* New mouse key press behavior for press/release of mouse keys.
* Add constants for HID main item values (e.g. data/array/absolute)
* Define and use constants for our HID report IDs.
2023-11-15 11:16:59 -08:00