BLE_HOGPS_SendMouseMotionInputReport
C
uint16_t BLE_HOGPS_SendMouseMotionInputReport(uint16_t connHandle, int16_t xAxis, int16_t yAxis);
Description
Send HID mouse (Mouse Motion) input report.
Parameters
Parameter | Description |
---|---|
[in] connHandle | The connection handle associated with the connection. |
[in] xAxis | X-Axis position. Range from -2047 to 2047. |
[in] yAxis | Y-Axis position. Range from -2047 to 2047. |
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. |