aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/USBAPI.h')
-rw-r--r--cores/arduino/USBAPI.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h
index c8948c1..e83089a 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -130,6 +130,21 @@ public:
virtual size_t type(uint8_t k);
virtual size_t press(uint8_t k);
virtual size_t release(uint8_t k);
+
+ virtual size_t press(uint8_t k[], uint8_t len);
+ virtual size_t press(uint8_t k1, uint8_t k2);
+ virtual size_t press(uint8_t k1, uint8_t k2, uint8_t k3);
+ virtual size_t press(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4);
+ virtual size_t press(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4, uint8_t k5);
+ virtual size_t press(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4, uint8_t k5, uint8_t k6);
+
+ virtual size_t release(uint8_t k[], uint8_t len);
+ virtual size_t release(uint8_t k1, uint8_t k2);
+ virtual size_t release(uint8_t k1, uint8_t k2, uint8_t k3);
+ virtual size_t release(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4);
+ virtual size_t release(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4, uint8_t k5);
+ virtual size_t release(uint8_t k1, uint8_t k2, uint8_t k3, uint8_t k4, uint8_t k5, uint8_t k6);
+
virtual void releaseAll(void);
};
extern Keyboard_ Keyboard;