View Single Post
Old 01-11-2020, 12:17 PM   #895
Human being with feelings
Join Date: Jul 2009
Posts: 3,221

Originally Posted by Sexan View Post
Still not sure why I do not get any response from Keyboard. Does OSX need any addition in order for JS_VKeys_GetState to work?
Which keys are you trying to detect? As mentioned in the API documentation, mouse buttons and modifier keys are not reliably detected by the VKeys functions, and Mouse_GetState should be used instead.

In the case of WindowsOS, VKeys should detect modifier keys, but in the case of Linux and macOS, I haven't figured out a way to detect them.

We can submit a feature request for REAPER to send modifier keys to the keyboard hook.
juliansader is online now   Reply With Quote