Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
InputSdl2.cpp File Reference
#include <cassert>
#include <unordered_map>
#include <SDL2/SDL.h>
#include <Ult/Input.h>

Namespaces

namespace  Ult
 

Functions

void Ult::InitInput ()
 
void Ult::UpdateInput ()
 
void Ult::DeinitInput ()
 
bool Ult::IsButtonDown (const INPUT_BUTTON btn)
 
bool Ult::IsButtonUp (const INPUT_BUTTON btn, const bool wasDown)
 
void Ult::GetMousePosition (int *mx, int *my)
 
bool Ult::GetWindowResize (int *width, int *height)