Reference.MouseEnd History

Hide minor edits - Show changes to output

April 27, 2012, at 10:22 PM by Scott Fitzgerald -
Changed lines 21-22 from:

\\
to:
(:source lang=arduino tabwidth=4:)
void setup(){
pinMode(2,INPUT);
//initiate the Mouse library
Mouse.begin();
}

void loop(){
//if the button is pressed, send a Right mouse click
//then end the Mouse emulation
if(digitalRead(2) == HIGH){
Mouse.click();
Mouse.end();
}
}

(:sourceend:)

!!!!See also
*[[/Reference/MouseBegin | Mouse.begin]]()
*[[/Reference/MouseClick | Mouse.click]]()
*[[/Reference/MouseMove | Mouse.move]]()
*[[/Reference/MousePress | Mouse.press]]()
*[[/Reference/MouseRelease | Mouse.release]]()
*[[/Reference/MouseIsPressed | Mouse.isPressed]]()
March 28, 2012, at 08:27 PM by Scott Fitzgerald -
Changed lines 7-8 from:
Stops emulating the mouse connected to a computer. To start control, use Mouse.begin().
to:
Stops emulating the mouse connected to a computer. To start control, use [[/Reference/MouseBegin | Mouse.begin]]().
March 28, 2012, at 01:14 AM by Scott Fitzgerald -
Added lines 1-22:
[[Reference/MouseKeyboard]]

!!Mouse.end()

!!!!Description

Stops emulating the mouse connected to a computer. To start control, use Mouse.begin().

!!!!Syntax
Mouse.end()

!!!!Parameters

none

!!!!Returns

nothing

!!!Example:

\\

Share