You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
439 B
26 lines
439 B
8 years ago
|
#ifndef _KEYBOARD_H
|
||
|
#define _KEYBOARD_H
|
||
|
|
||
|
#include "Arduino.h"
|
||
|
|
||
|
class Keyboard {
|
||
|
public:
|
||
|
Keyboard();
|
||
|
void init();
|
||
|
bool touchDetected[10];
|
||
|
private:
|
||
|
uint8_t thresholds[10];
|
||
|
void gotTouch0();
|
||
|
void gotTouch1();
|
||
|
void gotTouch2();
|
||
|
void gotTouch3();
|
||
|
void gotTouch4();
|
||
|
void gotTouch5();
|
||
|
void gotTouch6();
|
||
|
void gotTouch7();
|
||
|
void gotTouch8();
|
||
|
void gotTouch9();
|
||
|
};
|
||
|
|
||
|
#endif /* _KEYBOARD_H */
|