Reference Language | Libraries | Comparison | Changes
USBHost : MouseController class
Reports the status of the requested mouse button.
mouse.getButton(button)
button : which mouse button is being requested. Can be one of the following :
boolean : true if the requested button is pressed, false if it is not pressed.
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.