Adds support for confining the mouse pointer to a Java AWT or Swing window, useful for video games that use mouse look or edge scrolling.
Usage:
0. Download release/jpointerlock.jar and lib/native-library-loader.jar from the code section, and add them to your build path/classpath.
1. Call PointerLockLoader.init() as early as possible on the AWT EDT to load the native library.
2. Call PointerLock.setPointerLock(Window, boolean) on the AWT EDT when you want to lock or unlock the pointer...