Loading...

Reference.MouseEnd History

Show minor edits - Show changes to markup

April 27, 2012, at 04: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

March 28, 2012, at 02: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 Mouse.begin().

March 27, 2012, at 07:14 PM by Scott Fitzgerald -
Added lines 1-22:

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:

\\




Bookmark and Share