mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
31 lines
849 B
Plaintext
31 lines
849 B
Plaintext
|
menu "HID Example Configuration"
|
||
|
choice EXAMPLE_HID_DEVICE_ROLE
|
||
|
prompt "HID Device Role"
|
||
|
depends on BT_NIMBLE_ENABLED
|
||
|
default EXAMPLE_MEDIA_ENABLE
|
||
|
help
|
||
|
Three Supported Roles for Device
|
||
|
- Media Device
|
||
|
- Keyboard
|
||
|
- Mouse
|
||
|
|
||
|
config EXAMPLE_MEDIA_ENABLE
|
||
|
select BT_NIMBLE_HID_SERVICE
|
||
|
bool "Enable Media Device"
|
||
|
|
||
|
config EXAMPLE_KBD_ENABLE
|
||
|
select BT_NIMBLE_HID_SERVICE
|
||
|
bool "Enable Keyboard Device"
|
||
|
|
||
|
config EXAMPLE_MOUSE_ENABLE
|
||
|
select BT_NIMBLE_HID_SERVICE
|
||
|
bool "Enable Mouse Device"
|
||
|
endchoice
|
||
|
|
||
|
config EXAMPLE_HID_DEVICE_ROLE
|
||
|
int
|
||
|
default 1 if EXAMPLE_MEDIA_ENABLE
|
||
|
default 2 if EXAMPLE_KBD_ENABLE
|
||
|
default 3 if EXAMPLE_MOUSE_ENABLE
|
||
|
endmenu
|