...Call PointerLock.setPointerLock(Window, boolean) on the AWT EDT when you want to lock or unlock the pointer.
This library and the included native library loader are released under the Unlicense and come with absolutely no warranty. See https://unlicense.org/ for more information.