1.2.2.3.3.1.3.12 BLE_HOGPS_SetBootMouseInputReport

C

uint16_t BLE_HOGPS_SetBootMouseInputReport(uint8_t buttons, int8_t xAxis, int8_t yAxis);

Description

Set HID boot mouse input report.

Parameters

ParameterDescription
[in] buttonsBit fields (bit 0 - bit 2) represent left/right/middle button pressed or not.
[in] xAxisX-Axis position.
[in] yAxisY-Axis position.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully set the input report.
MBA_RES_INVALID_PARAInvalid parameters.