35#ifndef LIBTCOD_SDL2_EVENT_H_
36#define LIBTCOD_SDL2_EVENT_H_
44TCODLIB_BEGIN_IGNORE_DEPRECATIONS
56[[deprecated(
"This function should only be used to migrate away from libtcod events.")]] TCODLIB_API TCOD_event_t
66[[deprecated(
"This function should only be used to migrate away from libtcod events.")]] TCODLIB_API TCOD_event_t
80TCOD_DEPRECATED(
"This function should only be used to migrate away from libtcod events.")
91TCOD_DEPRECATED(
"This function should only be used to migrate away from libtcod events.")
94TCODLIB_END_IGNORE_DEPRECATIONS
C types for console functions.
TCOD_event_t TCOD_sys_process_key_event(const union SDL_Event *in, TCOD_key_t *out)
Parse an SDL_Event into a key event and return the relevant TCOD_event_t.
TCOD_event_t process_event(const union SDL_Event &in, TCOD_key_t &out) noexcept
Parse an SDL_Event into a key event and return the relevant TCOD_event_t.
TCOD_event_t TCOD_sys_process_mouse_event(const union SDL_Event *in, TCOD_mouse_t *out)
Parse an SDL_Event into a mouse event and return the relevant TCOD_event_t.
Deprecated mouse functions.
The libtcod namespace.
Definition bresenham.hpp:157
Libtcod key event data, as a keycode or text character.
Definition console_types.h:207
Mouse state provided by the libtcod event system.
Definition mouse_types.h:50
Deprecated low-level functions.