Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

enable_rumble

Function enable_rumble 

Source
pub fn enable_rumble(port: Port)
Expand description

Put the motors of the pad on port under the poll. The engine maps them (command 0x4D, in the same visit to configuration mode as an analog request if one is pending) whenever an analog DualShock is there and again each time one is plugged in, then sends set_rumble’s request with every poll. rumble_mapped says whether the pad took it.