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

enable_analog_on

Function enable_analog_on 

Source
pub fn enable_analog_on<T: Transport>(port: &mut T, socket: Port) -> bool
Expand description

Ask the controller in socket to enter DualShock analog mode. Returns true when a follow-up poll reports analog mode.

Digital-only controllers simply keep reporting digital mode, so callers should still gate analog-only controls on PadState::is_analog.