1.2.2.3.3.1.3.8 BLE_HOGPS_SendMouseButtonInputReport

C

uint16_t BLE_HOGPS_SendMouseButtonInputReport(uint16_t connHandle, uint8_t buttons, int8_t wheel, int8_t acPan);

Description

Send HID mouse (Mouse Button) input report.

Parameters

ParameterDescription
[in] connHandleThe connection handle associated with the connection.
[in] buttonsBit fields (bit 0 - bit 4) represent button pressed or not.
[in] wheelValue of mouse wheel. Range from -127 to 127.
[in] acPanValue of mouse AC pan. Range from -127 to 127.

Return values

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