-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sokol_app.h: Add pointer-lock support
- Amend wayland-specific state with appropriate data, - amend cleanup routine, - include new temporary header externally, - bind to the pointer constraint interface, - create a locked-pointer when requesting the mouse-lock, add the appropriate listener, as well as implement their callbacks, - destroy the locked-pointer when requesting the mouse to unlock.
- Loading branch information
Showing
1 changed file
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters