Reference.MouseRelease History

Hide minor edits - Show changes to markup

April 27, 2012, at 10:27 PM by Scott Fitzgerald -
Deleted line 25:

Example

April 27, 2012, at 10:26 PM by Scott Fitzgerald -
Changed lines 26-27 from:
to:
Changed line 56 from:
to:
April 27, 2012, at 10:20 PM by Scott Fitzgerald -
Added lines 25-34:
March 28, 2012, at 01:03 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Sends a message that a previously pressed button (invoked through Mouse.press())is released. Mouse.release() defaults to the left button.

to:

Sends a message that a previously pressed button (invoked through Mouse.press()) is released. Mouse.release() defaults to the left button.

December 07, 2011, at 01:28 AM by Scott Fitzgerald -
Deleted line 24:
November 30, 2011, at 05:46 AM by Scott Fitzgerald -
Changed lines 7-8 from:

Sends a message that a previously pressed button is released. Mouse.release() defaults to the left button.

to:

Sends a message that a previously pressed button (invoked through Mouse.press())is released. Mouse.release() defaults to the left button.

November 30, 2011, at 05:45 AM by Scott Fitzgerald -
Changed lines 16-21 from:

button: which mouse button to release - int

  • Left button : 1 (default)
  • Right button : 2
  • Middle button : 4
to:

button: which mouse button to press - char

  • MOUSE_LEFT (default)
  • MOUSE_RIGHT
  • MOUSE_MIDDLE
November 30, 2011, at 03:48 AM by Scott Fitzgerald -
Added lines 1-26:

Mouse

Mouse.release()

Description

Sends a message that a previously pressed button is released. Mouse.release() defaults to the left button.

WARNING: When you use the Mouse.release() command, the Arduino takes over your mouse! Make sure you have control before you use the command. A pushbutton to toggle the mouse control state is effective.

Syntax

Mouse.release();
Mouse.release(button);

Parameters

button: which mouse button to release - int

  • Left button : 1 (default)
  • Right button : 2
  • Middle button : 4

Returns

nothing

Reference Home

Share