1.1.2.3.3.1.3.9 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

ParameterDescription
[in] connHandleThe connection handle associated with the connection.
[in] xAxisX-Axis position. Range from -2047 to 2047.
[in] yAxisY-Axis position. Range from -2047 to 2047.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully send the input report.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.