logo
pub unsafe fn get_input_device_capabilities(
    callback: retro_environment_t
) -> RetroDevice
Expand description

Gets a bitmask telling which device type are expected to be handled properly in a call to retro_input_state_t. Devices which are not handled or recognized always return 0 in retro_input_state_t. Example bitmask: RetroDevice::JOYPAD | RetroDevice::ANALOG.