diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-09-16 16:43:07 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-09-16 16:43:07 -0400 |
commit | 3287477db1c2903e173034af9039c4273dccf58d (patch) | |
tree | b61d2d02c7b93a74ec6b89c83cce5c5aed09c9a7 | |
parent | 5bbe2a63e48ec3057322167a3a6745a66f0c8941 (diff) |
made some Keyboard methods private
-rw-r--r-- | cores/arduino/USBAPI.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h index ae91a36..759079b 100644 --- a/cores/arduino/USBAPI.h +++ b/cores/arduino/USBAPI.h @@ -57,7 +57,7 @@ public: void click(uint8_t b = MOUSE_LEFT); void move(signed char x, signed char y, signed char wheel = 0); void press(uint8_t b = MOUSE_LEFT); // press LEFT by default - void release(uint8_t b = MOUSE_LEFT); // release LEFT by default + void release(uint8_t b = MOUSE_LEFT); // release LEFT by default }; extern Mouse_ Mouse; @@ -93,11 +93,12 @@ public: // class Keyboard_ : public Print { +private: KeyMap* _keyMap; + void sendReport(KeyReport* keys); + void setKeyMap(KeyMap* keyMap); public: Keyboard_(); - void sendReport(KeyReport* keys); - void setKeyMap(KeyMap* keyMap); virtual size_t write(uint8_t); }; extern Keyboard_ Keyboard; |