Reference.MouseKeyboard History

Show minor edits - Show changes to markup

October 23, 2013, at 01:23 PM by Roberto Guido - typo in page title. Thanks Rafael Berro for report
Changed line 38 from:
to:
November 05, 2012, at 02:57 PM by Scott Fitzgerald -
Changed lines 3-4 from:

These core libraries allow an Arduino Leonardo or Due board to appear as a native Mouse and/or Keyboard to a connected computer.

to:

These core libraries allow an Arduino Leonardo, Micro, or Due board to appear as a native Mouse and/or Keyboard to a connected computer.

Changed lines 11-12 from:

The mouse functions enable a Leonardo or Due to control cursor movement on a connected computer. When updating the cursor position, it is always relative to the cursor's previous location.

to:

The mouse functions enable a Leonardo, Micro, or Due to control cursor movement on a connected computer. When updating the cursor position, it is always relative to the cursor's previous location.

Changed lines 23-24 from:

The keyboard functions enable a Leonardo or Due to send keystrokes to an attached computer.

to:

The keyboard functions enable a Leonardo, Micro, or Due to send keystrokes to an attached computer.

October 20, 2012, at 03:20 PM by Scott Fitzgerald -
Changed lines 5-6 from:

A word of caution on using the Leonardo as a Mouse or Keyboard: if the Mouse or Keyboard library is constantly running, it will be difficult to program your board. Functions such as Mouse.move() and Keyboard.print() will move your cursor or send keystrokes to a connected computer and should only be called when you are ready to handle them. It is recommended to use a control system to turn this functionality on, like a physical switch or only responding to specific input you can control.

to:

A word of caution on using the Mouse and Keyboard libraries: if the Mouse or Keyboard library is constantly running, it will be difficult to program your board. Functions such as Mouse.move() and Keyboard.print() will move your cursor or send keystrokes to a connected computer and should only be called when you are ready to handle them. It is recommended to use a control system to turn this functionality on, like a physical switch or only responding to specific input you can control.

October 20, 2012, at 03:19 PM by Scott Fitzgerald -
Changed lines 3-4 from:

These core libraries allow an Arduino Leonardo board to appear as a native Mouse and/or Keyboard to a connected computer.

to:

These core libraries allow an Arduino Leonardo or Due board to appear as a native Mouse and/or Keyboard to a connected computer.

Changed lines 11-12 from:

The mouse functions enable to Leonardo to control cursor movement on a connected computer. When updating the cursor position, it is always relative to the cursor's previous location.

to:

The mouse functions enable a Leonardo or Due to control cursor movement on a connected computer. When updating the cursor position, it is always relative to the cursor's previous location.

Changed lines 23-26 from:

The keyboard functions enable to Leonardo to send keystrokes to an attached computer.

Note: Not every possible ASCII character, particularly the non-printing ones, can be sent with the Keyboard library. The Leonardo supports the use of modifier keys. Modifier keys change the behavior of another key when pressed simultaneously. See here for additional information on supported keys and their use.

to:

The keyboard functions enable a Leonardo or Due to send keystrokes to an attached computer.

Note: Not every possible ASCII character, particularly the non-printing ones, can be sent with the Keyboard library. The library supports the use of modifier keys. Modifier keys change the behavior of another key when pressed simultaneously. See here for additional information on supported keys and their use.

Changed line 42 from:
  • KeyboardReprogram : opens a new window in the Arduino IDE and reprograms the Leonardo with a simple blink program
to:
  • KeyboardReprogram : opens a new window in the Arduino IDE and reprograms the board with a simple blink program
May 16, 2012, at 06:42 PM by Tom Igoe -
Changed lines 25-26 from:

Note Not every possible ASCII character, particularly the non-printing ones, can be sent with the Keyboard library'''. The Leonardo supports the use of modifier keys. Modifier keys change the behavior of another key when pressed simultaneously. See here for additional information on supported keys and their use.

to:

Note: Not every possible ASCII character, particularly the non-printing ones, can be sent with the Keyboard library. The Leonardo supports the use of modifier keys. Modifier keys change the behavior of another key when pressed simultaneously. See here for additional information on supported keys and their use.

May 16, 2012, at 06:42 PM by Tom Igoe -
Changed lines 25-26 from:

The Leonardo supports the use of modifier keys. Modifier keys change the behavior of another key when pressed simultaneously. See here for additional information on supported keys and their use.

to:

Note Not every possible ASCII character, particularly the non-printing ones, can be sent with the Keyboard library'''. The Leonardo supports the use of modifier keys. Modifier keys change the behavior of another key when pressed simultaneously. See here for additional information on supported keys and their use.

April 27, 2012, at 10:21 PM by Scott Fitzgerald -
April 25, 2012, at 06:16 PM by Scott Fitzgerald -
Changed lines 38-40 from:
to:
March 28, 2012, at 07:10 PM by Scott Fitzgerald -
Deleted line 33:
March 28, 2012, at 12:58 AM by Scott Fitzgerald -
Added line 13:
Added line 15:
Added lines 27-28:
March 16, 2012, at 09:31 PM by Scott Fitzgerald - added additional keyboard functions and modifiers link
Added lines 23-24:

The Leonardo supports the use of modifier keys. Modifier keys change the behavior of another key when pressed simultaneously. See here for additional information on supported keys and their use.

Added line 30:
March 16, 2012, at 09:21 PM by Scott Fitzgerald - added additional keyboard functions
Changed line 23 from:
to:
Changed lines 26-29 from:
to:
Changed line 35 from:

\\

to:

\\

December 12, 2011, at 05:39 PM by Scott Fitzgerald -
Changed lines 3-7 from:

These core libraries allow an Arduino Leonardo board to appear as a native Mouse and/or Keyboard to a connected computer. When using these libraries, it is very important to make sure you have control of your computer. If the Mouse or Keyboard library is constantly running, it will be difficult, if not downright impossible, to program your board.

to:

These core libraries allow an Arduino Leonardo board to appear as a native Mouse and/or Keyboard to a connected computer.

A word of caution on using the Leonardo as a Mouse or Keyboard: if the Mouse or Keyboard library is constantly running, it will be difficult to program your board. Functions such as Mouse.move() and Keyboard.print() will move your cursor or send keystrokes to a connected computer and should only be called when you are ready to handle them. It is recommended to use a control system to turn this functionality on, like a physical switch or only responding to specific input you can control.

When using the Mouse or Keyboard library, it may be best to test your output first using Serial.print(). This way, you can be sure you know what values are being reported. Refer to the Mouse and Keyboard examples for some ways to handle this.

Deleted lines 8-11:

It may be best to test your output first using Serial.print(). This way, you can be sure you know what values are being reported.

NB: When using either the Mouse or the Keyboard functionality, you should take appropriate steps to insure you do not lose control of your computer. It is strongly recommended you set up a control system that allows you to enable and disable the commands. A toggle or pushbutton works well.

December 07, 2011, at 06:36 PM by Scott Fitzgerald -
Changed lines 5-6 from:

When using this library, it may be best to test your output first using Serial.print(). This way, you can be sure you know what values are being reported.

to:

It may be best to test your output first using Serial.print(). This way, you can be sure you know what values are being reported.

December 07, 2011, at 12:57 AM by Scott Fitzgerald -
Changed lines 3-7 from:

These core libraries allow an Arduino Leonardo board to appear as a native Mouse and/or Keyboard to a connected computer.

NB: When using either the Mouse or the Keyboard functionality, you should take appropriate steps to insure you do not lose control of your computer. It is strongly recommended you set up a control system that allows you to enable and disable the commands. A toggle or pushbutton would suffice.

to:

These core libraries allow an Arduino Leonardo board to appear as a native Mouse and/or Keyboard to a connected computer. When using these libraries, it is very important to make sure you have control of your computer. If the Mouse or Keyboard library is constantly running, it will be difficult, if not downright impossible, to program your board.

When using this library, it may be best to test your output first using Serial.print(). This way, you can be sure you know what values are being reported.

NB: When using either the Mouse or the Keyboard functionality, you should take appropriate steps to insure you do not lose control of your computer. It is strongly recommended you set up a control system that allows you to enable and disable the commands. A toggle or pushbutton works well.

November 30, 2011, at 03:54 AM by Scott Fitzgerald -
Added line 31:

\\

November 30, 2011, at 03:53 AM by Scott Fitzgerald -
Deleted line 28:
Added line 30:
November 30, 2011, at 03:35 AM by Scott Fitzgerald -
Added line 12:
Changed lines 14-17 from:
to:
November 30, 2011, at 03:11 AM by Scott Fitzgerald -
Added lines 1-26:

Mouse and Keyboard libraries

These core libraries allow an Arduino Leonardo board to appear as a native Mouse and/or Keyboard to a connected computer.

NB: When using either the Mouse or the Keyboard functionality, you should take appropriate steps to insure you do not lose control of your computer. It is strongly recommended you set up a control system that allows you to enable and disable the commands. A toggle or pushbutton would suffice.

Mouse

The mouse functions enable to Leonardo to control cursor movement on a connected computer. When updating the cursor position, it is always relative to the cursor's previous location.

Keyboard

The keyboard functions enable to Leonardo to send keystrokes to an attached computer.

Examples

Share