ESP32 | LVGL7 = My Shortcuts for Windows 10 = (ft. BLE HID Keyboard)

This commit is contained in:
Eric
2021-05-28 12:58:28 -07:00
parent ef3819b272
commit 08fa25b183
16 changed files with 3596 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
/////////////////////////////////////////////////////////////////
/*
ESP32 | LVGL7 = My Shortcuts for Windows 10 = (ft. BLE HID Keyboard)
Video Tutorial: https://youtu.be/EWKAyQBdcYM
Created by Eric N. (ThatProject)
*/
/////////////////////////////////////////////////////////////////
#pragma once
class BleKeyboard;
class BLECont
{
private:
void(*callback)(bool);
BleKeyboard* bleKeyboard;
unsigned long previousTimestamp;
friend void sendTask(void* pvParameters);
public:
BLECont();
bool isConnected;
void begin();
void loop();
void triggerTask(int caseNum);
void bindCallback(void(*fn)(bool)) {callback = fn;}
};