Is it possible to check the hardware directly for input (keys/mouse)? I need this because if you press a key in a jframe then click outside the JFrame, it won’t register a keyReleased event.
Thanks.
Is it possible to check the hardware directly for input (keys/mouse)? I need this because if you press a key in a jframe then click outside the JFrame, it won’t register a keyReleased event.
Thanks.
Yes, but you need native code - either use JInput, or LWJGL which has a simplified wrapper around JInput.
Cas 