pub unsafe fn get_rumble_interface(
callback: retro_environment_t,
) -> Option<retro_rumble_interface>Expand description
Gets an interface which is used by a libretro core to set
state of rumble motors in controllers.
A strong and weak motor is supported, and they can be
controlled indepedently.
Should be called from either Core::on_init or Core::on_load_game.
Should not be called from Core::on_set_environment.
Returns false if rumble functionality is unavailable.