diff options
| author | Teddy Wing | 2018-09-02 10:59:11 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-09-02 10:59:11 +0200 |
| commit | 69352361515b16c1ed9646b891ba61ed1781a7a7 (patch) | |
| tree | f3f4bd80dfaa3b697d4bbeac7158d8b26fa9cd7d /dome_key_map.h | |
| parent | 4f9fd0cfa94ee4f61b47cb725c2ed7620921086d (diff) | |
| download | dome-key-map-69352361515b16c1ed9646b891ba61ed1781a7a7.tar.bz2 | |
Add `in_mode` to `CKeyActionResult`
Add a new field for `in_mode` to the result struct. Return it if
`run_key_action_for_mode()` gives us a `Some` value for it. Removed the
`match` on `action` now that we have a second `Option` type.
Diffstat (limited to 'dome_key_map.h')
| -rw-r--r-- | dome_key_map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dome_key_map.h b/dome_key_map.h index 4ee30c3..76b5f1c 100644 --- a/dome_key_map.h +++ b/dome_key_map.h @@ -26,6 +26,7 @@ typedef enum { typedef struct { const char *action; const ActionKind *kind; + const HeadphoneButton *in_mode; } CKeyActionResult; typedef struct { |
