1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-11 22:24:13 +01:00
Arduino/hardware/arduino/avr/libraries/Robot_Control/utility/VirtualKeyboard.h

28 lines
447 B
C
Raw Normal View History

2013-05-15 10:47:17 +02:00
#ifndef VIRTUAL_KEYBOARD_H
#define VIRTUAL_KEYBOARD_H
#include <Arduino.h>
#include <ArduinoRobot.h>
class VirtualKeyboard{
public:
//void begin();
void display(uint8_t top, uint16_t showColor=BLACK, uint16_t hideColor=WHITE);
void hide();
char getSelection();
void run();
private:
uint8_t top;
bool onOff;
uint16_t showColor;
uint16_t hideColor;
int getColLin(int val);
};
extern VirtualKeyboard Vkey;
#endif