BLE_HOGPS_SetMouseMotionInputReport
C
uint16_t BLE_HOGPS_SetMouseMotionInputReport(int16_t xAxis, int16_t yAxis);
Description
Sets the HID mouse motion input report.
Note
This function prepares the input report for mouse motion in the HID profile. It specifies the relative movement of the mouse along the X and Y axes.
Parameters
Parameter | Description |
---|---|
[in] xAxis | The relative movement on the X-Axis with a valid range from -2047 to 2047. |
[in] yAxis | The relative movement on the Y-Axis with a valid range from -2047 to 2047. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | The input report was successfully set. |
MBA_RES_INVALID_PARA | The input parameters are invalid. |