1.1.2.3.3.1.3.6 BLE_HOGPS_SendBootMouseInputReport

C

uint16_t BLE_HOGPS_SendBootMouseInputReport(uint16_t connHandle, uint8_t buttons, int8_t xAxis, int8_t yAxis);

Description

Send HID boot mouse input report.

Parameters

ParameterDescription
[in] connHandleThe connection handle associated with the connection.
[in] buttonsBit fields (bit 0 - bit 2) represent left/right/middle button pressed or not.
[in] xAxisX-Axis position.
[in] yAxisY-Axis position.

Return values

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