mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
made some Keyboard methods private
This commit is contained in:
parent
30fc9919e1
commit
00c3631467
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user