Function read_raw_axis
Source pub fn read_raw_axis(axes: &[f64], axis: u32) -> f64
Expand description
Reads the nth analog axis out of a raw axis reading list.
§Arguments
&[f64] - The raw axis readings as reported by the browser.
u32 - The axis index to read.
§Returns
f64 - The raw reading, or 0.0 when the pad has no such axis.