Skip to main content

parse_input_report

Function parse_input_report 

Source
pub fn parse_input_report(
    bytes: &[u8],
) -> Result<XboxControllerState, ParseError>
Expand description

Parse an Xbox Series controller BLE input notification.

This initially supports the 16-byte layout documented by the asukiaaa/arduino-XboxControllerNotificationParser project. The report ID belongs to the GATT Report characteristic/descriptor and is therefore not present in these notification bytes.