aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-03-28 18:35:26 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2012-03-28 18:35:26 -0400
commitd3eabc9c015dc02b6044b491cd04dde66d40a0ac (patch)
tree4fc3f96b7a9dd83dcaa7f88bf824dce3efd1ec8e /cores/arduino/USBAPI.h
parent58c36f76d51d1fe4859140acf5c9c056b4204da5 (diff)
eliminated Keyboard.type() - unnecessary duplication of Keyboard.write() (David Mellis). Also edit KeyboardReprogram example which was the only example using type()
Diffstat (limited to 'cores/arduino/USBAPI.h')
-rw-r--r--cores/arduino/USBAPI.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h
index e83089a..ee35af9 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -126,8 +126,7 @@ public:
Keyboard_(void);
void begin(void);
void end(void);
- virtual size_t write(uint8_t k) {return type(k);};
- virtual size_t type(uint8_t k);
+ virtual size_t write(uint8_t k);
virtual size_t press(uint8_t k);
virtual size_t release(uint8_t k);