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.
Aliased Type§
pub enum retro_input_state_t {
None,
Some(unsafe extern "C" fn(u32, u32, u32, u32) -> i16),
}