Add ability to change modes via rules.

This commit is contained in:
Anna Rose Wiggins 2025-07-03 17:10:46 -04:00
parent 8fafe3d27c
commit 034d2a8718
4 changed files with 27 additions and 10 deletions

View file

@ -34,6 +34,7 @@ type LatchedMappingRule struct {
type RuleTarget struct {
DeviceName string
ModeSelect []string
Device *evdev.InputDevice
Type evdev.EvType
Code evdev.EvCode