diff options
Diffstat (limited to 'dome_key_map.h')
| -rw-r--r-- | dome_key_map.h | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/dome_key_map.h b/dome_key_map.h index 6066da0..f3c3f68 100644 --- a/dome_key_map.h +++ b/dome_key_map.h @@ -22,4 +22,9 @@ typedef struct {    const MapKind *kind;  } CKeyActionResult; -const CKeyActionResult *c_run_key_action(const HeadphoneButton *trigger, size_t length); +typedef struct { +  const HeadphoneButton *buttons; +  size_t length; +} Trigger; + +const CKeyActionResult *c_run_key_action(Trigger trigger); | 
