OMOTE/Platformio/hardware/ESP32/keyboard_ble_hal_esp32.h
2024-03-10 19:27:46 +01:00

17 lines
No EOL
491 B
C++

#pragma once
#if (ENABLE_KEYBOARD_BLE == 1)
#include "lib/ESP32-BLE-Keyboard/BleKeyboard.h"
void init_keyboardBLE_HAL();
bool keyboardBLE_isConnected_HAL();
void keyboardBLE_end_HAL();
void keyboardBLE_write_HAL(uint8_t c);
void keyboardBLE_longpress_HAL(uint8_t c);
void keyboardBLE_home_HAL();
void keyboardBLE_sendString_HAL(const std::string &s);
void consumerControlBLE_write_HAL(const MediaKeyReport value);
void consumerControlBLE_longpress_HAL(const MediaKeyReport value);
#endif