An open API service indexing awesome lists of open source software.

https://github.com/talon1024/gl_pointerlock

GLFW Pointer lock
https://github.com/talon1024/gl_pointerlock

Last synced: over 1 year ago
JSON representation

GLFW Pointer lock

Awesome Lists containing this project

README

          

Pointer Lock Example
====================

A (hopefully) simple example of doing pointer lock with GLFW. Maybe it can be used to find out what Xlib commands are needed to implement pointer lock in an app.

Hover over the window and click to lock the pointer.

Once the pointer is locked, hold down LMB to drag the cube, or RMB to rotate the cube.