11 class GASStringContext;
22 virtual void OnKeyDown(
GASStringContext* a_sc,
int a_code, std::uint8_t a_ascii, std::uint32_t a_charCode, std::uint8_t a_keyboardIndex) = 0;
23 virtual void OnKeyUp(
GASStringContext* a_sc,
int a_code, std::uint8_t a_ascii, std::uint32_t a_charCode, std::uint8_t a_keyboardIndex) = 0;
24 virtual void Update(
int a_code, std::uint8_t a_ascii, std::uint32_t a_charCode, std::uint8_t a_keyboardIndex) = 0;
55 static_assert(
sizeof(
KeyQueue) == 0x64C);
Definition GASEnvironment.h:13
EventType
Definition GFxEvent.h:14
@ kTotal
Definition GFxKey.h:128
Definition GFxKeyboardState.h:17
virtual void OnKeyUp(GASStringContext *a_sc, int a_code, std::uint8_t a_ascii, std::uint32_t a_charCode, std::uint8_t a_keyboardIndex)=0
virtual void OnKeyDown(GASStringContext *a_sc, int a_code, std::uint8_t a_ascii, std::uint32_t a_charCode, std::uint8_t a_keyboardIndex)=0
virtual void Update(int a_code, std::uint8_t a_ascii, std::uint32_t a_charCode, std::uint8_t a_keyboardIndex)=0
virtual ~IListener()=default
Definition GFxKeyboardState.h:29
std::uint32_t putIdx
Definition GFxKeyboardState.h:51
std::uint32_t getIdx
Definition GFxKeyboardState.h:52
@ kKeyQueueSize
Definition GFxKeyboardState.h:33
KeyRecord buffer[kKeyQueueSize]
Definition GFxKeyboardState.h:50
std::uint32_t count
Definition GFxKeyboardState.h:53
Definition GFxKeyboardState.h:14
std::uint8_t keyboardIndex
Definition GFxKeyboardState.h:60
IListener * listener
Definition GFxKeyboardState.h:58
KeyQueue keyQueue
Definition GFxKeyboardState.h:59
bool toggled[3]
Definition GFxKeyboardState.h:62
std::uint8_t keymap[GFxKey::kTotal/8+1]
Definition GFxKeyboardState.h:61
std::uint8_t pad685
Definition GFxKeyboardState.h:63
std::uint8_t pad687
Definition GFxKeyboardState.h:65
std::uint8_t pad686
Definition GFxKeyboardState.h:64
Definition GFxSpecialKeysState.h:6
Definition GRefCountBaseNTS.h:10
Definition AbsorbEffect.h:6
Definition GFxKeyboardState.h:37
std::uint32_t charCode
Definition GFxKeyboardState.h:38
GFxEvent::EventType event
Definition GFxKeyboardState.h:41
GFxSpecialKeysState specialKeysState
Definition GFxKeyboardState.h:43
std::uint8_t pad0E
Definition GFxKeyboardState.h:44
std::uint8_t ascii
Definition GFxKeyboardState.h:42
std::uint16_t pad06
Definition GFxKeyboardState.h:40
std::uint16_t code
Definition GFxKeyboardState.h:39
std::uint8_t pad0F
Definition GFxKeyboardState.h:45