logo
pub unsafe fn get_input_max_users(callback: retro_environment_t) -> (u32, bool)
Expand description

The first returned value is the number of active input devices provided by the frontend. This may change between frames, but will remain constant for the duration of each frame.

If the second return value is true, a core does not need to poll any input device with an index greater than or equal to the number of active devices.

If the second return value is false, the number of active input devices is unknown. In this case, all input devices should be considered active.