[gnoduino: 140/237] made some Keyboard methods private
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnoduino: 140/237] made some Keyboard methods private
- Date: Sat, 31 Mar 2012 20:26:36 +0000 (UTC)
commit 1e7574414d2d01d9008e8ca4d1191b62a8630714
Author: Zach Eveland <zeveland blacklabel-development com>
Date: Fri Sep 16 16:43:07 2011 -0400
made some Keyboard methods private
arduino/cores/arduino/USBAPI.h | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/arduino/cores/arduino/USBAPI.h b/arduino/cores/arduino/USBAPI.h
index ae91a36..759079b 100644
--- a/arduino/cores/arduino/USBAPI.h
+++ b/arduino/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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]