How mxst515/katana50_presetswitcher works
BOSS Katana 50 Preset Switcher is a keyboard-driven desktop tool for selecting presets in TONE STUDIO by moving and clicking the mouse. The user configures hotkeys and preset positions, then uses either two separate keys or Space to switch between two presets; Esc exits a switching mode. The app loads and saves the two-key configuration in settings.json. The source shows the app invoking keyboard and mouse-control libraries; the graph omits their internal implementations and treats TONE STUDIO as the external UI target.
Main entry points: App.py App controller · setup.py Settings helpers · main.py Application entry · settings.json Settings file
Components 11
App interaction
- Application entry
main.py - App controller
App.py - Keyboard input
Preset switching
- Mouse control
- Two-key mode
App.py - Space mode
App.py - Button state
Button.py
Configuration
- Settings helpers
setup.py - Settings file
settings.json
Other components
- User
- TONE STUDIO
Connections 17
- User → Application entry: starts app
- Application entry → App controller: opens menu
- User → App controller: chooses mode
- App controller → Keyboard input: reads keys
- App controller → Settings helpers: loads settings
- Settings helpers → Settings file: reads
- App controller → Settings helpers: saves settings
- Settings helpers → Settings file: writes
- App controller → Button state: sets key and position
- App controller → Two-key mode: runs
- App controller → Space mode: runs
- Two-key mode → Keyboard input: checks hotkeys
- Space mode → Keyboard input: checks Space
- Two-key mode → Mouse control: moves and clicks
- Space mode → Mouse control: moves and clicks
- Mouse control → TONE STUDIO: selects preset
- User → App controller: sets positions