openMSX
|
#include <SDLKey.hh>
Public Member Functions | |
std::string | toString () const |
Static Public Member Functions | |
static SDLKey | create (SDL_Keycode code, bool down, uint16_t mod=0) |
static SDLKey | createDown (SDL_Keycode code) |
static std::optional< SDLKey > | fromString (std::string_view name) |
static SDL_Keycode | keycodeFromString (zstring_view name) |
static std::string | toString (SDL_Keycode code) |
Public Attributes | |
SDL_Keysym | sym |
bool | down |
|
inlinestatic |
Definition at line 22 of file SDLKey.hh.
Referenced by createDown(), and TEST_CASE().
|
inlinestatic |
|
static |
Definition at line 119 of file SDLKey.cc.
References down, keycodeFromString(), and sym.
Referenced by openmsx::KeyCodeSetting::getKey(), and openmsx::KeyCodeSetting::KeyCodeSetting().
|
static |
Definition at line 109 of file SDLKey.cc.
References zstring_view::c_str().
Referenced by fromString(), and openmsx::parseBooleanInput().
std::string openmsx::SDLKey::toString | ( | ) | const |
Definition at line 230 of file SDLKey.cc.
References down, sym, and toString().
Referenced by toString(), and openmsx::toString().
|
static |
bool openmsx::SDLKey::down |
Definition at line 20 of file SDLKey.hh.
Referenced by create(), fromString(), and toString().
SDL_Keysym openmsx::SDLKey::sym |
Definition at line 19 of file SDLKey.hh.
Referenced by create(), fromString(), and toString().