diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2012-03-03 23:06:44 -0500 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2012-03-03 23:06:44 -0500 |
commit | 54fb0bf3f54a37d4dd9370d5f545a52b54ad1775 (patch) | |
tree | cf1a284aaaf4e88ae85dd541f31ceec825d01413 /cores/arduino/USBAPI.h | |
parent | fbea67532a03cbcb35c47209f902797c80c499f7 (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/USBAPI.h')
-rw-r--r-- | cores/arduino/USBAPI.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h index 6615fa8..3f71856 100644 --- a/cores/arduino/USBAPI.h +++ b/cores/arduino/USBAPI.h @@ -87,22 +87,11 @@ typedef struct uint8_t keys[6]; } KeyReport; -// Map a character into a key report -// Called from Print to map text to keycodes -class KeyMap -{ -public: - virtual void charToKey(int c, KeyReport* keyReport) = 0; -}; - -// class Keyboard_ : public Print { private: - KeyMap* _keyMap; KeyReport _keyReport; void sendReport(KeyReport* keys); - void setKeyMap(KeyMap* keyMap); public: Keyboard_(); virtual size_t write(uint8_t k) {return type(k);}; |