Add support for Joystick hats.

This commit is contained in:
Anna Rose Wiggins 2025-09-15 13:17:40 -04:00
parent 62befa045a
commit fce8888c77
8 changed files with 134 additions and 13 deletions

View file

@ -40,6 +40,11 @@ type RuleConfigAxis struct {
Output RuleTargetConfigAxis
}
type RuleConfigHat struct {
Input RuleTargetConfigHat
Output RuleTargetConfigHat
}
type RuleConfigAxisCombined struct {
InputLower RuleTargetConfigAxis `yaml:"input_lower,omitempty"`
InputUpper RuleTargetConfigAxis `yaml:"input_upper,omitempty"`