ESP32 Stream Deck is a BLE HID Keyboard. It sent a shortcut key to the host (my purpose is to use switch OBS scene), but you can customize code to control any application by using keyboard shortcut eg; sent media keys to control volume, play/pause music or control your mouse.
This project use BLE library from T-vk's ESP32-BLE-Keyboard so you can see more features their.