-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 Manager doesn't work with Avid Pro Tools (2020) #7396
Comments
I can repro this on Pro Tools First. The issue seems to be happen only with remapping a shortcut containing Alt to copy/paste. Remapping Shift+C to Ctrl+C works fine. Pro Tools seems to swallow the Alt event |
so does this mean, there is now way to fix this, outside of avid reprogramming pro tools ? |
It seems that Pro Tools seems to handle input at a level lower than low level hooks. If you press the Win key while Pro Tools is in focus, Keyboard Manager (even if running as admin) does not receive the key event. For Alt, it seems that only if you press and release Alt without any key in between Pro Tools forwards it, otherwise it suppresses the event. @enricogior @crutkas This might be something that could get fixed only if KBM was implemented at the driver level. In addition to that we would need to store our own keyboard states rather than using GetAsyncKeyState because in the above scenario, if a user remaps Alt+A, with the current logic we do not do anything until we receive the A event. On receiving A we use GetAsyncKeyState to check if Alt is pressed. For this to work even at the driver level with apps like Pro Tools, we would have to store that Alt was pressed (and similarly all keys), because GetAsyncKeyState will detect that Alt is not pressed. This would be required to ensure KBM is compatible with any other process that could suppress key events. |
I can't see us getting this fixed due to the fact they are going lower than we are. I don't want to get into doing a driver as well. We should add this to the known app list then close this as won't fix. |
Added Avid to known issues. https://github.com/microsoft/PowerToys/wiki/Application-Compatibility |
I think if possible we should figure out what sort of APIs these apps are using for handling input, so that we can classify all such apps as "can't remap". Might apply to some games as well. |
True, that would be helpful, can you look into that? |
ℹ Computer information
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
alt+c should copy and alt+v should paste
❌ Actual result
nothing happens
(though it does work on the windows desktop for copying and pasting)
(The reason I'm trying to do this is to match Mac OS Shortcuts for pro tools so that i can switch platforms without issues and retain muscle memory)
The text was updated successfully, but these errors were encountered: