diff options
| author | Tab_theFox <tab_thefox@noreply.codeberg.org> | 2025-03-23 17:45:19 +0100 |
|---|---|---|
| committer | Tab_theFox <tab_thefox@noreply.codeberg.org> | 2025-04-22 22:23:47 +0200 |
| commit | dc5676229d19f317b97df6a3d3582bbb02df33df (patch) | |
| tree | 2036ecb5b6fdefaabc6beb9ac7cab21dcadcad56 /src/tangara/input/input_hook_actions.hpp | |
| parent | 79c9f0b6ccfec97f23563010f134d842c4240582 (diff) | |
| download | tangara-fw-dc5676229d19f317b97df6a3d3582bbb02df33df.tar.gz | |
add single touch shourtcuts for touch wheel
This allows you to use the touch wheel for quick playback control:
- bottom quadrant for play/pause
- left and right quadrant for track skip back / forward
- top quadrant to seek back 25 seconds (handy when listening
to a podcast)
Diffstat (limited to 'src/tangara/input/input_hook_actions.hpp')
| -rw-r--r-- | src/tangara/input/input_hook_actions.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tangara/input/input_hook_actions.hpp b/src/tangara/input/input_hook_actions.hpp index 2db0b6e7..67902924 100644 --- a/src/tangara/input/input_hook_actions.hpp +++ b/src/tangara/input/input_hook_actions.hpp @@ -27,6 +27,8 @@ auto togglePlayPause() -> HookCallback; auto nextTrack(audio::TrackQueue& queue) -> HookCallback; auto prevTrack(audio::TrackQueue& queue) -> HookCallback; +auto skipBack() -> HookCallback; + auto volumeUp() -> HookCallback; auto volumeDown() -> HookCallback; |
