Skip to content

Add shortcut presets for other DAWs - #86

Merged
chrislaupama merged 2 commits into
mainfrom
shortcut-presets
Nov 15, 2026
Merged

chrislaupama merged 2 commits into
mainfrom
shortcut-presets

Conversation

@chrislaupama

@chrislaupama chrislaupama commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The Preset pill in Settings › Shortcuts is now a menu. It lists Device Studio, Ableton Live, Logic Pro, GarageBand, FL Studio, Fender Studio Pro, Bitwig, Pro Tools and BandLab. Picking a preset swaps in that DAW's keys for the same actions. For example, Logic Pro turns looping on and off with C and opens the mixer with X, FL Studio opens the mixer with F9, and Ableton Live also records with F9.

  • The presets are in src/shortcut_presets.rs: each one lists only the actions whose keys differ from the defaults, and an empty list leaves an action unmapped.
  • The choice is saved in the preferences (shortcut_preset). Changes the user records go on top of the chosen preset, and Reset to defaults goes back to that preset's keys. Picking another preset starts fresh from its keys.
  • F1 to F12 and Caps Lock can now be bound (several presets use them).
  • Pro Tools opens the mixer with ⌘=, so in that preset the interface zooms in with ⌘+ or ⌃= only, keeping every preset free of conflicts.
  • README mentions the menu.

Screenshots

Before Preset menu Logic Pro picked
before menu logic

New review states: review-shortcuts-preset-menu, review-shortcuts-logic.

Tests

  • Unit tests: every preset's chords parse, name real actions and have no conflicts; presets change the keys they list; changes saved on a preset round-trip; the preferences keep the preset.
  • Self-test: open the Preset menu (nine entries, Device Studio checked), pick Logic Pro (Loop on / off shows C, saved, nothing to reset), then go back to Device Studio (default keymap again).
  • Clippy and the app and core tests pass locally.

No performance impact (the keymap is built once when the preset changes).


Generated by Claude Code

Settings › Shortcuts › Preset now opens a menu of Device Studio, Ableton Live,
Logic Pro, GarageBand, FL Studio, Fender Studio Pro, Bitwig, Pro Tools and
BandLab. Each preset swaps in that DAW's keys for the same actions; the
choice is saved in the preferences and the user's own changes go on top of
it. F1-F12 and Caps Lock can now be bound.
@chrislaupama chrislaupama self-assigned this Nov 15, 2026
# Conflicts:
#	crates/dstudio-app/src/main.rs
@chrislaupama
chrislaupama marked this pull request as ready for review November 15, 2026 12:21
@chrislaupama
chrislaupama merged commit d1abd19 into main Nov 15, 2026
15 checks passed
@chrislaupama
chrislaupama deleted the shortcut-presets branch November 15, 2026 12:21
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.

1 participant