mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 05:53:12 -07:00
Add Key State Tracker
This commit is contained in:
parent
68aadd4343
commit
736b4835df
5 changed files with 89 additions and 0 deletions
|
@ -96,6 +96,13 @@ static inline void chiaki_gkcrypt_free(ChiakiGKCrypt *gkcrypt)
|
|||
free(gkcrypt);
|
||||
}
|
||||
|
||||
typedef struct chiaki_key_state_t {
|
||||
uint64_t prev;
|
||||
} ChiakiKeyState;
|
||||
|
||||
CHIAKI_EXPORT void chiaki_key_state_init(ChiakiKeyState *state);
|
||||
CHIAKI_EXPORT uint64_t chiaki_key_state_request_pos(ChiakiKeyState *state, uint32_t low);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue