Skip to content

GB_set_key_mask_for_player

Lior Halphon edited this page Nov 28, 2024 · 2 revisions

Definition

void GB_set_key_mask_for_player(GB_gameboy_t *gb, GB_key_mask_t mask, unsigned player);

In joypad.h

Description

Sets the state for all of player's buttons using a mask.

Thread Safety

GB_set_key_mask_for_player is thread-safe and can be called from any thread and context.

See Also

Clone this wiki locally