Commit graph

7 commits

Author SHA1 Message Date
Peter Johanson
0b1d513f53 fix(mouse): Fix up tests and make ZMK_MOUSE explicit. 2024-04-09 23:10:54 -07:00
Peter Johanson
f446ab4663 fix: Testing fixes for listener refactor. 2024-04-06 21:32:07 -07:00
Peter Johanson
368f98c330 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-04-06 21:31:23 -07:00
Peter Johanson
0ba8a29b69 refactor: Use input system for pointer events. 2024-04-06 21:31:22 -07:00
Cem Aksoylar
2eba88d2c4 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-04-06 21:30:53 -07: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