Function compute_held_buttons
Source pub fn compute_held_buttons(values: &[f64]) -> GamepadButtonSet
Expand description
Folds one frame of raw gamepad readings into the per-pad edge sets.
§Arguments
&[f64] - This frame’s raw button pressure per button index.
§Returns
GamepadButtonSet - Every button currently down this frame.