From 3287477db1c2903e173034af9039c4273dccf58d Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Fri, 16 Sep 2011 16:43:07 -0400 Subject: made some Keyboard methods private --- cores/arduino/USBAPI.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cores/arduino/USBAPI.h') 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; -- cgit v1.2.3-18-g5258