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
6
struct
SDL_Window;
7
8
namespace
input_capture
9
{
10
16
void
acquireGameplayInputCapture
(SDL_Window* window);
17
22
void
releaseGameplayInputCapture
(SDL_Window* window);
23
24
}
// namespace input_capture
input_capture
Definition
InputCapture.cpp:11
input_capture::acquireGameplayInputCapture
void acquireGameplayInputCapture(SDL_Window *window)
Put the window into relative-mouse mode for in-game look, draining any stale state.
Definition
InputCapture.cpp:13
input_capture::releaseGameplayInputCapture
void releaseGameplayInputCapture(SDL_Window *window)
Fully release mouse capture so menu screens get a normal desktop cursor.
Definition
InputCapture.cpp:31
src
client
util
InputCapture.hpp
Generated by
1.16.1