Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard bindings #24

Merged
merged 9 commits into from
Nov 25, 2022
Merged

Keyboard bindings #24

merged 9 commits into from
Nov 25, 2022

Conversation

ericyd
Copy link
Owner

@ericyd ericyd commented Nov 25, 2022

  • Add "KeyboardProvider". This context exposes a simple way to bind keydown events on specific keys to a callback. A context is useful here because it allows the app to use a single callback, and delegate the event based on which key is pressed.
  • Bind keyboard to following events
    • space (play/pause)
    • c for muting the click track
    • 0-9 for selecting a track
    • r for arming recording on a specific track
    • m for muting a specific track
    • i for monitoring input on a specific track

@ericyd ericyd merged commit 572ca6e into main Nov 25, 2022
@ericyd ericyd deleted the keyboard-bindings branch November 25, 2022 22: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