map_report_to_xinput

Function map_report_to_xinput 

Source
pub fn map_report_to_xinput(m: &MappingYaml, report: &[u8]) -> XInputState
Expand description

Convert a raw HID input report to an XInput-like state using the mapping. This is a pure function: output depends only on (mapping, report).