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
- Host: GitHub
- URL: https://github.com/talon1024/gl_pointerlock
- Owner: Talon1024
- Created: 2020-07-14T03:06:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-31T17:00:23.000Z (almost 6 years ago)
- Last Synced: 2025-02-09T21:27:47.950Z (over 1 year ago)
- Language: C
- Size: 85.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.