Simplified-JNA
Simplified-JNA copied to clipboard
Multi-threaded JNA hooks and simplified library access to window/key/mouse functions.
A small change I made to the code to nicely shutdown the DeviceHookThread (With the current version it stays running even if you call unhook()) Maybe it helps someone :))...
I'm not sure if this was intended or not, but in [onMousePress](https://github.com/Col-E/Simplified-JNA/blob/6c77d1f7fb9f514a23d39b446714748ed730ff34/src/me/coley/simplejna/hook/mouse/MouseEventReceiver.java#L42) and [onMouseRelease](https://github.com/Col-E/Simplified-JNA/blob/6c77d1f7fb9f514a23d39b446714748ed730ff34/src/me/coley/simplejna/hook/mouse/MouseEventReceiver.java#L44) the cancel doesn't get set with the result. So in case of a mouse press or...
Currently this is a windows only library. It would be really handy for it to support multiple systems.