-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Make keyboard focus a compile time macro #415
Comments
I think this is the same issue I came to report. When the plugin UI is selected, it blocks the keyboard presses from being sent to the DAW. For example, you can't hit spacebar to start the timeline or use the computer keyboard to play notes, etc. That's usually not ideal, so I'd support an option to disable this as well. For Mac, I was able to accomplish this by switching |
DPF does not do automatic focus, the ticket is to add some way for plugins to request it. The DPF stealing keyboard input from the DAW is likely due to something "returning true" for keyboard events, and thus not having them propagate on the OS level anymore. But this varies wildly between hosts, there is no consistency afaik |
Ah okay, sorry for jumping in on the wrong issue. I don't totally understand the original ticket (I assume dromer wants to use the keyboard to control his plugin?), but thanks for the info about DPF stealing focus. You're right about different hosts - the |
I actually don't remember what this was about, I created the ticket as a result from a discussion on IRC. Could've put some more context to remember -_- |
Try this for Live on Mac - (void)keyDown:(NSEvent *)event
{
if (shouldMyPluginConsumeKeystrokes) {
[super keyDown:event];
} else {
[self.superview keyDown:event];
}
}
Repeat for It might be worth checking what JUCE does about this. |
Thank you! Before I saw your message I tried adding this to
I found that from this JUCE thread. |
As discussed on IRC. Forcing focus may not always be wanted.
The text was updated successfully, but these errors were encountered: