KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Keyboard Key State. More...
#include <keyboard.h>
Data Fields | ||
struct { | ||
bool is_down: 1 | ||
Whether down the current frame. More... | ||
bool was_down: 1 | ||
Whether down the previous frame. More... | ||
uint8_t : 6 | ||
}; | ||
Convenience Bitfields. | ||
key_state_value_t | value | |
Enum for specific state. | ||
uint8_t | raw | |
Packed 8-bit unsigned integer of bitflags. | ||
Keyboard Key State.
Union containing the the previous and current frames' state information for a keyboard key.
struct { ... } key_state_t |
Convenience Bitfields.
uint8_t key_state_t::__pad0__ |
bool key_state_t::is_down |
Whether down the current frame.
uint8_t key_state_t::raw |
Packed 8-bit unsigned integer of bitflags.
key_state_value_t key_state_t::value |
Enum for specific state.
bool key_state_t::was_down |
Whether down the previous frame.