group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
InputCapture.hpp
Go to the documentation of this file.
1
3
4#pragma once
5
6struct SDL_Window;
7
8namespace input_capture
9{
10
16void acquireGameplayInputCapture(SDL_Window* window);
17
22void releaseGameplayInputCapture(SDL_Window* window);
23
24} // namespace input_capture
Definition InputCapture.cpp:11
void acquireGameplayInputCapture(SDL_Window *window)
Put the window into relative-mouse mode for in-game look, draining any stale state.
Definition InputCapture.cpp:13
void releaseGameplayInputCapture(SDL_Window *window)
Fully release mouse capture so menu screens get a normal desktop cursor.
Definition InputCapture.cpp:31