1.1.2.3.3.1.3.6 BLE_HOGPS_SendBootMouseInputReport
C
uint16_t BLE_HOGPS_SendBootMouseInputReport(uint16_t connHandle, uint8_t buttons, int8_t xAxis, int8_t yAxis);Description
Send HID boot mouse input report.
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | The connection handle associated with the connection. |
| [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 send the input report. |
| MBA_RES_OOM | Internal memory allocation failure. |
| MBA_RES_INVALID_PARA | Invalid parameters. |
