From d3eabc9c015dc02b6044b491cd04dde66d40a0ac Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Wed, 28 Mar 2012 18:35:26 -0400 Subject: eliminated Keyboard.type() - unnecessary duplication of Keyboard.write() (David Mellis). Also edit KeyboardReprogram example which was the only example using type() --- cores/arduino/USBAPI.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cores/arduino/USBAPI.h') 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); -- cgit v1.2.3-18-g5258