aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HID.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-03-03 23:06:44 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2012-03-03 23:06:44 -0500
commit54fb0bf3f54a37d4dd9370d5f545a52b54ad1775 (patch)
treecf1a284aaaf4e88ae85dd541f31ceec825d01413 /cores/arduino/HID.cpp
parentfbea67532a03cbcb35c47209f902797c80c499f7 (diff)
Removed support for key mapping in Keyboard.
Was no longer being used and would be damn near impossible to support with the new scheme for handling modifiers and non-printing keyboard characters.
Diffstat (limited to 'cores/arduino/HID.cpp')
-rw-r--r--cores/arduino/HID.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/cores/arduino/HID.cpp b/cores/arduino/HID.cpp
index 9904993..b508f10 100644
--- a/cores/arduino/HID.cpp
+++ b/cores/arduino/HID.cpp
@@ -253,7 +253,7 @@ bool Mouse_::isPressed(uint8_t b)
//================================================================================
// Keyboard
-Keyboard_::Keyboard_() : _keyMap(0)
+Keyboard_::Keyboard_()
{
}
@@ -262,11 +262,6 @@ void Keyboard_::sendReport(KeyReport* keys)
HID_SendReport(2,keys,sizeof(KeyReport));
}
-void Keyboard_::setKeyMap(KeyMap* keyMap)
-{
- _keyMap = keyMap;
-}
-
extern
const uint8_t _asciimap[128] PROGMEM;