Commit Graph

12 Commits

Author SHA1 Message Date
Zach Eveland 4e9fb924b2 changed Keyboard write() method to type(). Made write() an alias for type() to allow subclassing by Stream. 2011-12-20 17:09:44 -05:00
Zach Eveland e405a6eb60 Revert "changed Keyboard write() method to type(). Made write() an alias for type() to allow subclassing by Stream."
This reverts commit de1d5fc0cb82874c0dcb766c5fb27ab36c5cb32c.
2011-12-20 17:08:07 -05:00
Zach Eveland e4930f866d changed Keyboard write() method to type(). Made write() an alias for type() to allow subclassing by Stream. 2011-12-20 17:00:19 -05:00
Zach Eveland 58fc0d17cc added asynchronous buffering of received CDC characters
This fixes the issue Federico reported where bytes written by host but not read by sketch would cause serial connection to lock up.  Ring buffer implementation is based on HardwareSerial.cpp.

Adds public accept() method to CDC.
2011-12-18 17:52:35 -05:00
Zach Eveland d004d6a9b4 added Mouse.isPressed() method 2011-09-16 16:59:14 -04:00
Zach Eveland 3287477db1 made some Keyboard methods private 2011-09-16 16:43:07 -04:00
Zach Eveland 15c4c96929 fixed Mouse button assignments 2011-09-13 21:37:46 -04:00
Zach Eveland d3c96622b3 made Mouse.buttons() private. removed MOUSE_ALL macro 2011-09-12 08:14:13 -04:00
Zach Eveland 90ea0707e6 added Mouse press() and release() 2011-08-30 20:23:06 -04:00
Zach Eveland af635024db support for non-Leonardo boards is back! 2011-08-30 11:50:08 -04:00
Zach Eveland 481fdeab79 CDC and HID write() routines now return non-void - brought in line with new write behavior 2011-08-30 11:04:34 -04:00
Zach Eveland ddd3418a4f Serial via USB works
Integrated rest of Peter's USB implementation
2011-08-14 16:59:34 -04:00