|
group2 0.1.0
CSE 125 Group 2
|
Implementation of mouse/keyboard capture helpers used at screen transitions. More...
#include "InputCapture.hpp"#include <SDL3/SDL_events.h>#include <SDL3/SDL_keyboard.h>#include <SDL3/SDL_log.h>#include <SDL3/SDL_mouse.h>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. | |
Implementation of mouse/keyboard capture helpers used at screen transitions.