Hi
Not in JInput, you can from AWT. I think LWJGL bypass JInput for keyboard/mouse and talk direct to the OS, I don't know if they expose cursor locations.
You can set the properties any way you like, as long as it's done before the JInput classes are loaded.
HTH
Endolf
Well, really all I need JInput for is reading keys directly from the hardware, because On AWT if you hold a key and click outside the window then release the key, the system will keep generating KeyPressed events. That could be used for botting. Is there a way for Jinput to detect whether a key is pressed/released outside the AWT window?
Can you read keys from JInput? If so can I have an example? Thanks.