// Auto-generated. Do not edit.
declare namespace mouse {

    /** 
     * Set the mouse button state to up or down
     */
    //% help=mouse/set-button
    //% blockId=mouseSetButton block="mouse button %index|%down=toggleDownUp" shim=mouse::setButton
    function setButton(button: MouseButton, down: boolean): void;

    /**
     * Move the mouse in the X and Y direction
     **/
    //% help=mouse/move
    //% blockId=mouseMove block="mouse move x %x|y %y"
    //% x.min=-128 x.max=127
    //% y.min=-128 y.max=127 shim=mouse::move
    function move(x: int32, y: int32): void;

    /**
     * Turn the mouse wheel
     **/
    //% help=mouse/turn-wheel
    //% blockId=mouseWheel block="mouse turn wheel %w"
    //% w.min=-128 w.max=127 shim=mouse::turnWheel
    function turnWheel(w: int32): void;
}

// Auto-generated. Do not edit. Really.
