group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
InputCapture.hpp File Reference

Acquire and release SDL mouse/keyboard capture across screen transitions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  input_capture

Functions

void input_capture::acquireGameplayInputCapture (SDL_Window *window)
 Put the window into relative-mouse mode for in-game look, draining any stale state.
void input_capture::releaseGameplayInputCapture (SDL_Window *window)
 Fully release mouse capture so menu screens get a normal desktop cursor.

Detailed Description

Acquire and release SDL mouse/keyboard capture across screen transitions.