Closed flyfy1 closed 10 years ago
I don't check the key pressed or released property when registering a hotkey. As you can see in CarbonProvider, it explicitly sets kEventHotKeyPressed
as parameter. From what I can see, windows and linux providers do not have that option, so I decided to not do it for osx. If you feel in the mood to dust off old Carbon doc files and implement this feature, I'll be happy to accept a pull request :)
Thanks for supplying this library, it looks really nice :)
Here's my working example:
However, at my last register statement, I got "WARNING: Could not register HotKey: shift ctrl released M. Error code: -9878". Additionally, the release event was populated, when I simply press the key without actually releasing it.
I'm using Java6 on Mac