aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HID.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-03-26 16:02:40 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2012-03-26 16:02:40 -0400
commit9c040a8a2bcc7ec8d128df05479b2e741fe192c2 (patch)
treec776e40e1f3a9ef56648d55da6599bd3cd554528 /cores/arduino/HID.cpp
parentdbdf2dadfa6464e6cc031401cbd34088e836548b (diff)
added stub methods for begin() and end() to Mouse and Keyboard
Diffstat (limited to 'cores/arduino/HID.cpp')
-rw-r--r--cores/arduino/HID.cpp20
1 files changed, 18 insertions, 2 deletions
diff --git a/cores/arduino/HID.cpp b/cores/arduino/HID.cpp
index 378a157..e7ee249 100644
--- a/cores/arduino/HID.cpp
+++ b/cores/arduino/HID.cpp
@@ -201,7 +201,15 @@ bool WEAK HID_Setup(Setup& setup)
//================================================================================
// Mouse
-Mouse_::Mouse_() : _buttons(0)
+Mouse_::Mouse_(void) : _buttons(0)
+{
+}
+
+void Mouse_::begin(void)
+{
+}
+
+void Mouse_::end(void)
{
}
@@ -253,7 +261,15 @@ bool Mouse_::isPressed(uint8_t b)
//================================================================================
// Keyboard
-Keyboard_::Keyboard_()
+Keyboard_::Keyboard_(void)
+{
+}
+
+void Keyboard_::begin(void)
+{
+}
+
+void Keyboard_::end(void)
{
}