Copy link to clipboard
Copied
Hey All!
Is it possible to track that ctr was pressed and released?
I want to differentiate the button behaviour rely on that.
I tried to use KEYDOWN Event, but it can be active just if any other meaningfull key (not only modifier key) was pressed with ctrl.
Copy link to clipboard
Copied
Depending on the purpose, you can use the idle hook to track pressed keys. You just have to keep in mind that the detection is not immediate, and you'll have to wait for the timer tick to activate. Depending on what the system is doing, this can take a while, however it's usually about 100ms.
Copy link to clipboard
Copied
Didnt know about idle hook, honestly...
Thank you! Diged out, learned a lot!
Copy link to clipboard
Copied
The hook is great! thanks!
However it is still a problem for me to track the pressed key. I found some solutions for windows, but not MacOS specific. Is there any way provided by Adobe? Didnt find in SDK help.
Or any other platform specific solutions?