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
Parameter | Description |
---|---|
[in] buttons | Bit fields (bit 0 - bit 4) represent button pressed or not. |
[in] wheel | Value of mouse wheel. Range from -127 to 127. |
[in] acPan | Value of mouse AC pan. Range from -127 to 127. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully set the input report. |
MBA_RES_INVALID_PARA | Invalid parameters. |