#ifndef _KEYBOARD_H #define _KEYBOARD_H #include "driver/touch_pad.h" #define TOUCH_PAD_NUM 10 static bool s_pad_activated[TOUCH_PAD_NUM]; static bool touchDetected[TOUCH_PAD_NUM]; static uint16_t threshold[TOUCH_PAD_NUM]; class Keyboard { public: Keyboard(); void init(); bool getTouchDetected(uint8_t pad); private: }; #endif /* _KEYBOARD_H */