1.2.2.3.3.1.3.15 BLE_HOGPS_SetMouseButtonInputReport

C

uint16_t BLE_HOGPS_SetMouseButtonInputReport(uint8_t buttons, int8_t wheel, int8_t acPan);

Description

Set HID mouse (Mouse Button) input report.

Parameters

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