-
-
Notifications
You must be signed in to change notification settings - Fork 217
GB_set_key_state
Lior Halphon edited this page Nov 28, 2024
·
3 revisions
void GB_set_key_state(GB_gameboy_t *gb, GB_key_t index, bool pressed);
In joypad.h
Sets the state for player 1's button index
to value pressed
(true
means down, false
means released).
GB_set_key_state
is thread-safe and can be called from any thread and context.