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
Parameter | Description |
---|---|
[in] buttons | Bit fields (bit 0 - bit 2) represent left/right/middle button pressed or not. |
[in] xAxis | X-Axis position. |
[in] yAxis | Y-Axis position. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully set the input report. |
MBA_RES_INVALID_PARA | Invalid parameters. |