Skip to content

Feature/quick switch#134

Open
hciupinski wants to merge 4 commits into
tuntorius:mainfrom
hciupinski:feature/quick-switch
Open

Feature/quick switch#134
hciupinski wants to merge 4 commits into
tuntorius:mainfrom
hciupinski:feature/quick-switch

Conversation

@hciupinski
Copy link
Copy Markdown

Quick Switch UX: Mobile Foot Switcher

Summary

Allows user to switch channels in the same way as on a real foot switcher but using mobile app.
Adapts the quick-switch layout to device orientation: a single row in landscape for horizontal rigs, a stacked column in portrait for thumb-friendly taps.
Keeps preset colors in sync with the selected channel so the active button always reflects live amp state.
Double tap on each button to pin your channel.
User can use 2 or 3 channels (because why more 🎸 )

Technical Highlights

Channel press events translate 1-based labels to the amp’s 0-based indexes and guard against invalid selections (lib/UI/pages/quickSwitchPage.dart).
Button rendering uses a Flex that flips between Axis.vertical and Axis.horizontal, maintaining consistent padding and gesture handling across orientations (lib/UI/pages/quickSwitchPage.dart).

Testing

flutter run with a connected device: verify channel buttons trigger their matching amp presets.
Rotate between portrait/landscape: confirm layout swaps between column and row while preserving colors and gestures.

Screenshots

QSwitch tab

image

Choose your channel on double tap

image

Horizontal view

image

Video sample

Google Disk - ios recording

@hciupinski
Copy link
Copy Markdown
Author

Hi @tuntorius, could you take a look at this PR and assess whether it would be a useful functionality?

@aryoda
Copy link
Copy Markdown

aryoda commented Apr 19, 2026

Hi @hciupinski Looks like this repo is abandoned and I am trying to build the the app on my Ubuntu Linux to try to fix some issues...

How did you build the app to prepare this PR? Did you use Windows or Linux?

If you have some insights it would be great to help us collecting "how to build" info in eg. this issue: #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants