aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-12-20 17:00:19 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2011-12-20 17:00:19 -0500
commite4930f866d41baa7e8ac615f22dc3e92ec0f1c5a (patch)
treec59cd56317a2d6fcf283907afa3f4a8331edadff /cores/arduino/USBAPI.h
parent6dc00061df81b4750208996bb7dd0ec76f8f901f (diff)
changed Keyboard write() method to type(). Made write() an alias for type() to allow subclassing by Stream.
Diffstat (limited to 'cores/arduino/USBAPI.h')
-rw-r--r--cores/arduino/USBAPI.h1
1 files changed, 1 insertions, 0 deletions
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;