#include <InputBindings.h>
◆ Type
| Enumerator |
|---|
| Disabled | |
| KeyboardKey | |
| JoystickButton | |
| JoystickHat | |
| MouseButton | |
◆ KeyBinding() [1/2]
| InputBindings::KeyBinding::KeyBinding |
( |
| ) |
|
|
default |
◆ KeyBinding() [2/2]
| InputBindings::KeyBinding::KeyBinding |
( |
SDL_Keycode |
k | ) |
|
|
inline |
◆ Enabled()
| bool InputBindings::KeyBinding::Enabled |
( |
| ) |
const |
|
inline |
◆ FromEvent()
| static KeyBinding InputBindings::KeyBinding::FromEvent |
( |
SDL_Event & |
event | ) |
|
|
static |
◆ JoystickButton()
| static KeyBinding InputBindings::KeyBinding::JoystickButton |
( |
uint16_t |
joystickID, |
|
|
uint8_t |
button |
|
) |
| |
|
inlinestatic |
◆ JoystickHat()
| static KeyBinding InputBindings::KeyBinding::JoystickHat |
( |
uint16_t |
joystickID, |
|
|
uint8_t |
hat, |
|
|
uint8_t |
direction |
|
) |
| |
|
inlinestatic |
◆ Matches()
| Response KeyBinding::Matches |
( |
const SDL_Event & |
ev | ) |
const |
◆ MouseButton()
| static KeyBinding InputBindings::KeyBinding::MouseButton |
( |
uint8_t |
mouseButton | ) |
|
|
inlinestatic |
◆ operator<()
| bool KeyBinding::operator< |
( |
const KeyBinding & |
rhs | ) |
const |
◆ operator==()
| bool KeyBinding::operator== |
( |
const KeyBinding & |
rhs | ) |
const |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
, |
|
|
const KeyBinding & |
|
|
) |
| |
|
friend |
◆ operator>>
| std::string_view & operator>> |
( |
std::string_view & |
, |
|
|
KeyBinding & |
|
|
) |
| |
|
friend |
◆ [union]
◆ button
| uint8_t InputBindings::KeyBinding::button |
◆ hat
| uint8_t InputBindings::KeyBinding::hat |
◆ id
| uint16_t InputBindings::KeyBinding::id |
◆ [struct]
| struct { ... } InputBindings::KeyBinding::joystick |
◆ keycode
| SDL_Keycode InputBindings::KeyBinding::keycode = 0 |
◆ [struct]
| struct { ... } InputBindings::KeyBinding::mouse |
◆ type
The documentation for this struct was generated from the following files: