pub type retro_input_state_t = Option<unsafe extern "C" fn(port: c_uint, device: c_uint, index: c_uint, id: c_uint) -> i16>;
Expand description

Queries for input for player ‘port’. device will be masked with RETRO_DEVICE_MASK.

Specialization of devices such as RETRO_DEVICE_JOYPAD_MULTITAP that have been set with retro_set_controller_port_device() will still use the higher level RETRO_DEVICE_JOYPAD to request input.