Function vcs_classic_hid::input::process_input[][src]

pub fn process_input<D>(device: D) -> Result<Option<State>, D::Error> where
    D: Device

Process input reports in queue from the device and return its current state.

This function does not block. Might return None if no input report was received. When this happens, game loops should preferably assume no changes occurred to the controller’s input state.