Skip to content

Commit

Permalink
Add default to FootswitchTrigger trigger (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeschmitt-tr authored Jun 26, 2024
1 parent a51254e commit daae95c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class FootswitchTrigger(Enum):
class IndividualFSConfig:
"""Configuration for individual pedals on a footswitch."""

trigger: FootswitchTrigger
trigger: FootswitchTrigger = FootswitchTrigger.ON_PRESS
"""When callbacks should be triggered"""

callback: Callable = lambda: None
Expand Down

0 comments on commit daae95c

Please sign in to comment.