Articles Posted in the " " Category

  • KeyboardController

    KeyboardController

    Description KeyboardController is the class for all calls to the USBHost relating to an attached USB keyboard. Syntax KeyboardController keyboard(usb); Example Functions - keyPressed() - keyReleased() - getModifiers() - getKey() - getOemKey() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons […]



  • getButton()

    getButton()

    Description Reports the status of the requested mouse button. Syntax mouse.getButton(button) Parameters button : which mouse button is being requested; can be one of the following : -LEFT_BUTTON -RIGHT_BUTTON -MIDDLE_BUTTON Returns boolean : true if the requested button is pressed, false if it is not pressed. Example See Also - mousePressed() - mouseReleased() Libraries Reference […]


  • getYChange()

    getYChange()

    Description Reports the relative amount of movement of a mouse on the Y-axis since the last time polled. A positive number indicates downward movement, a negative number indicates upward movement. Syntax mouse.getYChange() Parameters none Returns int Example See Also - mouseDragged() - mousePressed() Libraries Reference Home The text of the 86Duino reference is a modification […]


  • getXChange()

    getXChange()

    Description Reports the relative amount of movement of a mouse on the X-axis since the last time polled. A positive number indicates movement to the right, a negative number indicates movement to the left. Syntax mouse.getXChange() Parameters none Returns int Example See Also - mouseDragged() - mousePressed() Libraries Reference Home The text of the 86Duino […]


  • mouseReleased()

    mouseReleased()

    描述 mouseReleased() 是一個函式,當 USB 的滑鼠按鍵釋放時被呼叫。 語法 void mouseReleased() {   // statements } 範例 參見 - mouseMoved() - mouseDragged() - mousePressed() - getXChange() - getYChange() - getButton() 函式庫參考主頁面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference […]


  • mousePressed()

    mousePressed()

    Description mousePressed() is a function that is called whenever a button on a connected USB mouse is pressed. Syntax void mousePressed() {   // statements } Example See Also - mouseMoved() - mouseDragged() - mouseReleased() - getXChange() - getYChange() - getButton() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino […]


  • mouseDragged()

    mouseDragged()

    Description mouseDragged() is a function that is called whenever a connected USB mouse is dragged (movement while a mouse button is being pressed). Syntax void mouseDragged() {   // statements } Example See Also - mouseMoved() - mousePressed() - mouseReleased() - getXChange() - getYChange() - getButton() Libraries Reference Home The text of the 86Duino reference is […]


  • mouseMoved()

    mouseMoved()

    Description mouseMoved() is a function that is called whenever a connected USB mouse moves. Syntax void mouseMoved() {   // statements } Example See Also - mouseDragged() - mousePressed() - mouseReleased() - getXChange() - getYChange() - getButton() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed […]


  • MouseController

    MouseController

    Description MouseController is the class for all calls to the USBHost relating to an attached mouse. Syntax MouseController mouse(usb); Example Functions - mouseMoved() - mouseDragged() - mousePressed() - mouseReleased() - getXChange() - getYChange() - getButton() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under […]