BLE_HOGPS_SendMouseMotionInputReport
C
uint16_t BLE_HOGPS_SendMouseMotionInputReport(uint16_t connHandle, int16_t xAxis, int16_t yAxis);Description
Sends a HID mouse motion input report.
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | The connection handle associated with the connection. |
| [in] xAxis | The movement along the X-axis. Range: -2047 to 2047. |
| [in] yAxis | The movement along the Y-axis. Range: -2047 to 2047. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | The input report was sent successfully. |
| MBA_RES_OOM | Internal memory allocation failure. |
| MBA_RES_INVALID_PARA | The parameters provided are invalid. |
