From e4930f866d41baa7e8ac615f22dc3e92ec0f1c5a Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Tue, 20 Dec 2011 17:00:19 -0500 Subject: changed Keyboard write() method to type(). Made write() an alias for type() to allow subclassing by Stream. --- cores/arduino/USBAPI.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cores/arduino/USBAPI.h') diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h index 1772c3c..326fd6c 100644 --- a/cores/arduino/USBAPI.h +++ b/cores/arduino/USBAPI.h @@ -105,6 +105,7 @@ private: public: Keyboard_(); virtual size_t write(uint8_t); + virtual size_t type(uint8_t); }; extern Keyboard_ Keyboard; -- cgit v1.2.3-18-g5258