10 #define _PCE_JOYPAD_H_
25 #define KEY_RIGHT 0x20
28 #define KEY_SELECT 0x04
uint8_t pce_joypad_wr(uint8_t value)
Write a value to the joypad I/O port, then read the result.
uint8_t pce_joypad_next(void)
Read the next joypad controller's pressed buttons.
uint8_t pce_joypad_read(void)
Read the first joypad controller's pressed buttons.
::uint8_t uint8_t
Definition: cstdint:21