From b86ec2723a706445fa30820d48354613f511fd1b Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Wed, 28 Mar 2012 18:46:10 -0400 Subject: [PATCH] removed horrible multi-key Keyboard.press() and Keyboard.release() methods Saves 924 bytes of Flash --- hardware/arduino/cores/arduino/HID.cpp | 81 ------------------------- hardware/arduino/cores/arduino/USBAPI.h | 15 ----- 2 files changed, 96 deletions(-) diff --git a/hardware/arduino/cores/arduino/HID.cpp b/hardware/arduino/cores/arduino/HID.cpp index dfcbd9d25..cdf49bd52 100644 --- a/hardware/arduino/cores/arduino/HID.cpp +++ b/hardware/arduino/cores/arduino/HID.cpp @@ -498,87 +498,6 @@ size_t Keyboard_::release(uint8_t k) return 1; } -size_t Keyboard_::press(uint8_t k[], uint8_t len) { - uint8_t i; - uint8_t result = 0; - for (i=0; i