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

ParameterDescription
[in] connHandleThe connection handle associated with the connection.
[in] xAxisThe movement along the X-axis. Range: -2047 to 2047.
[in] yAxisThe movement along the Y-axis. Range: -2047 to 2047.

Return values

Return valueDescription
MBA_RES_SUCCESSThe input report was sent successfully.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAThe parameters provided are invalid.