#include "sdl/input.hpp"
#include "sdl/point.hpp"
#include "video.hpp"
#include <SDL2/SDL_mouse.h>
#include <SDL2/SDL_keyboard.h>
Go to the source code of this file.
Namespaces | |
sdl | |
Functions | |
uint32_t | sdl::get_mouse_state (int *x, int *y) |
A wrapper for SDL_GetMouseState that gives coordinates in draw space. More... | |
uint32_t | sdl::get_mouse_button_mask () |
Returns the current mouse button mask. More... | |
point | sdl::get_mouse_location () |
Returns the current mouse location in draw space. More... | |
unsigned | sdl::get_mods () |
Returns a bitmask of active modifier keys (ctrl, shift, alt, gui). More... | |