Commit Graph

3 Commits (b556d3477865fee4a9d7712e1dd4194aaa995087)

Author SHA1 Message Date
nirenjan b556d34778 feat: Add action name support
This change adds an optional name at the end of each profile action,
this can be used in the future to update the MFD.
2026-03-03 12:48:01 -08:00
nirenjan 541f8f739c feat: Add support for keycombos in macros and move to worker thread
This change adds support for key combinations in macro sequences. This
allows a profile to support a sequence of key combos such as Ctrl-X,
Alt-Y, Shift-Z, Ctrl-Alt-Shift-A, etc. Previously, the profile could
only support a single key or key combo in the `key` mode. This allows
for a longer key combo sequence.

In addition, the macro sequences have been moved to a worker thread,
with a fixed delay in between each key press. This simulates a human
entering keys on a keyboard, albeit one who is super fast. Also, this
avoids blocking the main IO handler for long key sequences.
2026-03-03 12:28:11 -08:00
nirenjan 966c6efd5f feat: Add profile support to x52d
This change adds initial support for profiles, which map joystick button
events into keyboard events. This supports single key/key combo events
which map directly to the button state, as well as keyboard macro events
which fire only on button down.

This commit also adds the clutch button functionality to the daemon,
allowing the user to disengage the profiles temporarily, and selecting a
profile or clearing the profile using the joystick hat and MFD.
2026-02-26 22:43:28 -08:00