4.4.11.3.1 USB_HIDMouseButton()

RETURN_CODE_t USB_HIDMouseButton (bool buttonState, uint8_t button)

Registers the button and its state and sends it to the host.

Parameters:
buttonState

- Boolean value indicating if the button is pressed or not

button

- Parameter for which button is pressed

Returns:

SUCCESS or an Error code according to RETURN_CODE_t