User Tools

Site Tools


digispark:tutorials:digikeyboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
digispark:tutorials:digikeyboard [2012/12/20 01:18]
digistump
digispark:tutorials:digikeyboard [2016/08/20 10:25]
Larek Added Dated Content Tag
Line 1: Line 1:
-======Digispark Keyboard ​Library======+======Digispark Keyboard, Mouse, and Joystick Libraries======
  
 Building off of the Arduino port of some of the VUSB code (http://​code.google.com/​p/​vusb-for-arduino/​) - I was able to setup a simple, very basic keyboard library for use with the Digispark. Building off of the Arduino port of some of the VUSB code (http://​code.google.com/​p/​vusb-for-arduino/​) - I was able to setup a simple, very basic keyboard library for use with the Digispark.
  
-Take a look at the example DigisparkKeyboard->​Keyboard+Take a look at the example:  File->​Examples->​DigisparkKeyboard->​Keyboard
  
 +^ Possible Dated Content FIXME^
 +| The following line is not found in the provided example, yet is claimed here in the wiki to be essential. This entry and/or the example should be updated to reflect whats current for the library. |
 It is essential that DigiKeyboard.update() is called at the beginning of the loop to maintain USB communication,​ otherwise you can use buttons, inputs, etc to trigger the keystrokes. ​ It is essential that DigiKeyboard.update() is called at the beginning of the loop to maintain USB communication,​ otherwise you can use buttons, inputs, etc to trigger the keystrokes. ​
 +
  
 For the example: Upload and then place the cursor in a text area, watch it type. For the example: Upload and then place the cursor in a text area, watch it type.
 +
  
 Some ideas: Some ideas:
Line 15: Line 19:
   - Use it for a password generator.   - Use it for a password generator.
  
 +**UPDATE:** The software package now includes a Joystick and Keyboard library as well, they are similar and each include an easy to learn from example - thanks to duckythescientist on the Digistump forums for this contribution!
digispark/tutorials/digikeyboard.txt · Last modified: 2016/08/20 11:02 by Larek