summaryrefslogtreecommitdiff
path: root/src/tangara/input/input_hook_actions.hpp
diff options
context:
space:
mode:
authorTab_theFox <tab_thefox@noreply.codeberg.org>2025-03-23 17:45:19 +0100
committerTab_theFox <tab_thefox@noreply.codeberg.org>2025-04-22 22:23:47 +0200
commitdc5676229d19f317b97df6a3d3582bbb02df33df (patch)
tree2036ecb5b6fdefaabc6beb9ac7cab21dcadcad56 /src/tangara/input/input_hook_actions.hpp
parent79c9f0b6ccfec97f23563010f134d842c4240582 (diff)
downloadtangara-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.hpp2
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;