aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HID.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/HID.cpp')
-rw-r--r--cores/arduino/HID.cpp81
1 files changed, 0 insertions, 81 deletions
diff --git a/cores/arduino/HID.cpp b/cores/arduino/HID.cpp
index dfcbd9d..cdf49bd 100644
--- a/cores/arduino/HID.cpp
+++ b/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<len; i++) {
- result += press(k[i]);
- }
- return result;
-}
-
-size_t Keyboard_::press(uint8_t k1, uint8_t k2)
-{
- uint8_t k[] = {k1, k2};
- return press(k, 2);
-}
-
-size_t Keyboard_::press(uint8_t k1, uint8_t k2, uint8_t k3)
-{
- uint8_t k[] = {k1, k2, k3};
- return press(k, 3);
-}
-
-size_t Keyboard_::press(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4)
-{
- uint8_t k[] = {k1, k2, k3, k4};
- return press(k, 4);
-}
-
-size_t Keyboard_::press(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4, uint8_t k5)
-{
- uint8_t k[] = {k1, k2, k3, k4, k5};
- return press(k, 5);
-}
-
-size_t Keyboard_::press(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4, uint8_t k5, uint8_t k6)
-{
- uint8_t k[] = {k1, k2, k3, k4, k5, k6};
- return press(k, 6);
-}
-
-
-
-size_t Keyboard_::release(uint8_t k[], uint8_t len) {
- uint8_t i;
- uint8_t result = 0;
- for (i=0; i<len; i++) {
- result += release(k[i]);
- }
- return result;
-}
-
-size_t Keyboard_::release(uint8_t k1, uint8_t k2)
-{
- uint8_t k[] = {k1, k2};
- return release(k, 2);
-}
-
-size_t Keyboard_::release(uint8_t k1, uint8_t k2, uint8_t k3)
-{
- uint8_t k[] = {k1, k2, k3};
- return release(k, 3);
-}
-
-size_t Keyboard_::release(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4)
-{
- uint8_t k[] = {k1, k2, k3, k4};
- return release(k, 4);
-}
-
-size_t Keyboard_::release(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4, uint8_t k5)
-{
- uint8_t k[] = {k1, k2, k3, k4, k5};
- return release(k, 5);
-}
-
-size_t Keyboard_::release(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4, uint8_t k5, uint8_t k6)
-{
- uint8_t k[] = {k1, k2, k3, k4, k5, k6};
- return release(k, 6);
-}
-
-
void Keyboard_::releaseAll(void)
{
_keyReport.keys[0] = 0;