esp-idf/examples/bluetooth/esp_hid_device
liqigan 2078dfe293 1. update esp_hid component to use esp HID API
2. add esp_hidh_config_t::callback_arg
2021-09-08 14:08:34 +08:00
..
main 1. update esp_hid component to use esp HID API 2021-09-08 14:08:34 +08:00
CMakeLists.txt Update HID examples to comply with the new requirements 2020-04-29 20:51:16 +03:00
Makefile Add HID Support to IDF 2020-04-29 17:24:01 +08:00
README.md 1. update esp_hid component to use esp HID API 2021-09-08 14:08:34 +08:00
sdkconfig.defaults 1. update esp_hid component to use esp HID API 2021-09-08 14:08:34 +08:00
sdkconfig.defaults.esp32c3 1. update esp_hid component to use esp HID API 2021-09-08 14:08:34 +08:00
sdkconfig.defaults.esp32s3 1. update esp_hid component to use esp HID API 2021-09-08 14:08:34 +08:00

Supported Targets ESP32

ESP-IDF BT/BLE HID Device Demo

This demo use APIs which esp_hid component provided to create a BT, BLE or Bluetooth dual mode hid device. Users can choose mode by setting HID_DEV_MODE.

The BT hid device plays as a mouse. When the connection is successfully established, users can follow the usage below to operate the 'mouse'.

########################################################################
BT hid mouse demo usage:
You can input these value to simulate mouse: 'q', 'w', 'e', 'a', 's', 'd', 'h'
q -- click the left key
w -- move up
e -- click the right key
a -- move left
s -- move down
d -- move right
h -- show the help
########################################################################

The BLE hid device plays as a remote control. When the connection is successfully established, the remote control will set volume up and down periodically.