aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HID.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-12-20 17:09:44 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2011-12-20 17:09:44 -0500
commit4e9fb924b2ea4c1373edc09408db2ac0c402e68c (patch)
treeb418eb3f288bc98db177797e382018511de804ec /cores/arduino/HID.cpp
parente405a6eb6099a71959c664cab8ca8241634c6b91 (diff)
changed Keyboard write() method to type(). Made write() an alias for type() to allow subclassing by Stream.
Diffstat (limited to 'cores/arduino/HID.cpp')
-rw-r--r--cores/arduino/HID.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cores/arduino/HID.cpp b/cores/arduino/HID.cpp
index 8ed1566..e6fb5f7 100644
--- a/cores/arduino/HID.cpp
+++ b/cores/arduino/HID.cpp
@@ -406,7 +406,8 @@ const uint8_t _asciimap[128] =
};
uint8_t USBPutChar(uint8_t c);
-size_t Keyboard_::write(uint8_t c)
+
+size_t Keyboard_::type(uint8_t c)
{
// Keydown
{