summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-06-06 17:05:39 +1000
committerjacqueline <me@jacqueline.id.au>2024-06-11 08:52:31 +1000
commit7c107e739a618f4dacf086ffbe5f44a64ca27d92 (patch)
tree5f9f874d13167a0ced8476ab41349c75e980f823
parent8de07fe8fac23d508ae64dfd6ffb332f568f4e45 (diff)
downloadtangara-fw-7c107e739a618f4dacf086ffbe5f44a64ca27d92.tar.gz
Add basic bluetooth queue controls
-rw-r--r--src/tangara/ui/ui_fsm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tangara/ui/ui_fsm.cpp b/src/tangara/ui/ui_fsm.cpp
index e367586b..3bd19bc5 100644
--- a/src/tangara/ui/ui_fsm.cpp
+++ b/src/tangara/ui/ui_fsm.cpp
@@ -418,8 +418,10 @@ void UiState::react(const system_fsm::BluetoothEvent& ev) {
case SimpleEvent::kVolDown:
break;
case SimpleEvent::kForward:
+ sServices->track_queue().next();
break;
case SimpleEvent::kBackward:
+ sServices->track_queue().previous();
break;
case SimpleEvent::kRewind:
break;