-
-
Notifications
You must be signed in to change notification settings - Fork 217
GB_set_key_state_for_player
Lior Halphon edited this page Nov 30, 2024
·
4 revisions
void GB_set_key_state_for_player(GB_gameboy_t *gb, GB_key_t index, unsigned player, bool pressed);
In joypad.h
For use with Super Game Boy games that support multiplayer. Sets the state for player
's button index
to value pressed
(true
means down, false
means released).
GB_set_key_state_for_player
is thread-safe and can be called from any thread and context.