Skip to content

GB_get_joyp_accessed

Lior Halphon edited this page Nov 30, 2024 · 3 revisions

Definition

bool GB_get_joyp_accessed(GB_gameboy_t *gb);

In joypad.h

Description

Return true if the JOYP/P1 register was read, directly (via a memory read) or indirectly (via the joypad interrupt) since the last time GB_clear_joyp_accessed was called.

Thread Safety

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

See Also

Clone this wiki locally