Commit Graph

16 Commits

Author SHA1 Message Date
Florian Didron
d0d9424e7e fix(automouse): prevents automouse layer to be activated by mouse keys set on other layers
Some checks failed
Build firmware / build-firmware (oryx) (push) Has been cancelled
Build firmware / build-firmware (default) (push) Has been cancelled
Unit Tests / test (push) Has been cancelled
2025-10-20 19:29:43 +07:00
Florian Didron
aac4514865 fix(automouse): prevent non mouse key to leave the automouse layer
Some checks failed
Build firmware / build-firmware (default) (push) Has been cancelled
Build firmware / build-firmware (oryx) (push) Has been cancelled
Unit Tests / test (push) Has been cancelled
2025-10-16 20:34:40 +07:00
Florian Didron
634e375f11 Feat/oneshot automouse (#421)
Some checks failed
Build firmware / build-firmware (default) (push) Has been cancelled
Build firmware / build-firmware (oryx) (push) Has been cancelled
Unit Tests / test (push) Has been cancelled
* feat(automouse): one shot automouse

* fix(automouse): one shot automouse status get reset when mouse is active

* fix(automouse): remove stray defines
2025-09-29 12:57:53 +07:00
Florian Didron
1f95d83f68 fix(automouse): prevent mouse keys to trigger auto mouse on other layers (#418)
Some checks failed
Build firmware / build-firmware (default) (push) Has been cancelled
Build firmware / build-firmware (oryx) (push) Has been cancelled
Unit Tests / test (push) Has been cancelled
2025-09-09 09:50:13 +07:00
Florian Didron
82bfceccf6 fix(automouse): make sure KC_NO do not fire layer 0 mappings on automouse layer (#419) 2025-09-09 09:49:55 +07:00
Drashna Jaelre
c39a26ec9d bug: fix auto mouse layer getting stuck with TO keycodes (#417)
Some checks failed
Build firmware / build-firmware (default) (push) Has been cancelled
Build firmware / build-firmware (oryx) (push) Has been cancelled
Unit Tests / test (push) Has been cancelled
2025-09-04 14:43:32 +07:00
Florian Didron
39f7814943 feat(automouse): adds automouse scroll threshold parameter (#416) 2025-09-04 09:34:28 +07:00
Florian Didron
88ce385794 fix: prevent automouse layer reset if it was locked
Some checks failed
Build firmware / build-firmware (default) (push) Has been cancelled
Build firmware / build-firmware (oryx) (push) Has been cancelled
Unit Tests / test (push) Has been cancelled
2025-09-02 16:21:38 +07:00
Joel Challis
4a5bae51cd [Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#24630)
* [Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#21881)

* Apply suggestions from code review

Co-authored-by: Nick Brassel <nick@tzarc.org>

---------

Co-authored-by: Nebuleon <2391500+Nebuleon@users.noreply.github.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-11-23 10:09:34 +00:00
Drashna Jaelre
c0dbe9a336 Add utility functions for Pointing Device Auto Mouse feature (#23144)
* Make is_auto_mouse_active() available globally

* Add mouse key tracker functions for auto mouse layer
2024-03-10 05:34:41 +00:00
Marcel Robitaille
ce05dc6fa1 Add option for auto mouse movement threshold (#21398)
Fixes #21396
2024-01-09 21:16:50 +11:00
ikorihn
4345d34cf2 Fix build error when Automatic Mouse Layer is enabled (#22229) 2023-10-08 19:43:09 +01:00
Ryan
da2d2f947d quantum: remove direct quantum.h includes (#21507) 2023-07-16 23:42:56 +10:00
Drashna Jaelre
59eb8940b0 Make Pointing Device Auto Layer more configurable (#20061)
Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com>
2023-05-06 06:38:45 -07:00
Sergey Vlasov
a7b2f4233c Fix keycode parameter extraction to match the new DD keycodes (#18977)
* Add macros to extract parameters from keycode values

Implement both encoding and decoding for keycodes like TO(layer) or
LM(layer, mod) in one place, so that the decoding won't get out of sync
with the encoding.

While at it, fix some macros for creating keycode values that did not
apply the appropriate masks to parameters (and therefore could allow the
result to be out of range if a wrong parameter was passed).

* keymap_common: Use extraction macros for keycodes

* pointing_device_auto_mouse: Use extraction macros for keycodes

Fixes #18970.

* process_autocorrect: Use extraction macros for keycodes

* process_caps_word: Use extraction macros for keycodes

(Also fix a minor bug - SH_TG was not handled properly)

* process_leader: Use extraction macros for keycodes

(Technically the code is not 100% correct, because it always assumes
that the LT() or MT() action was a tap, but it's a separate issue that
already existed before the keycode changes.)

* process_unicode: Use extraction macros for keycodes

* process_unicodemap: Use extraction macros for keycodes
2022-11-06 21:39:05 +00:00
Alabastard-64
7c1797f52f [Core] Pointing Device Automatic Mouse Layer (#17962)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-09-23 23:43:55 -07:00