1.2.2.3.3.1.3.16 BLE_HOGPS_SetMouseMotionInputReport

C

uint16_t BLE_HOGPS_SetMouseMotionInputReport(int16_t xAxis, int16_t yAxis);

Description

Set HID mouse (Mouse Motion) input report.

Parameters

ParameterDescription
[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 set the input report.
MBA_RES_INVALID_PARAInvalid parameters.