This PR updates two dependency libraries to their latest versions: ## espressif/button: v3.5.0 to v4.1.5 [Version 4](https://components.espressif.com/components/espressif/button/versions/4.1.5/changelog?language=en) changed the API. This code makes use of the new API, with no change to the existing behavior. ## chmorgan/esp-audio-player: v1.0.7 to v1.1.0 [Version 1.1.0](https://github.com/chmorgan/esp-audio-player/releases/tag/v1.1.0) introduces the possibility of multiple simultaneous audio streams. This feature is as yet unused by KTag. Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #16
55 lines
1.4 KiB
Text
55 lines
1.4 KiB
Text
menu "IoT Button"
|
|
|
|
config BUTTON_PERIOD_TIME_MS
|
|
int "BUTTON PERIOD TIME (MS)"
|
|
range 2 500
|
|
default 5
|
|
help
|
|
"Button scan interval"
|
|
|
|
config BUTTON_DEBOUNCE_TICKS
|
|
int "BUTTON DEBOUNCE TICKS"
|
|
range 1 7
|
|
default 2
|
|
help
|
|
"One CONFIG_BUTTON_DEBOUNCE_TICKS equal to CONFIG_BUTTON_PERIOD_TIME_MS"
|
|
|
|
config BUTTON_SHORT_PRESS_TIME_MS
|
|
int "BUTTON SHORT PRESS TIME (MS)"
|
|
range 50 800
|
|
default 180
|
|
|
|
config BUTTON_LONG_PRESS_TIME_MS
|
|
int "BUTTON LONG PRESS TIME (MS)"
|
|
range 500 5000
|
|
default 1500
|
|
|
|
config BUTTON_LONG_PRESS_HOLD_SERIAL_TIME_MS
|
|
int "BUTTON LONG_PRESS_HOLD SERIAL TIME (MS)"
|
|
range 2 1000
|
|
default 20
|
|
help
|
|
"Long press hold Serial trigger interval"
|
|
|
|
config ADC_BUTTON_MAX_CHANNEL
|
|
int "ADC BUTTON MAX CHANNEL"
|
|
range 1 5
|
|
default 3
|
|
help
|
|
"Maximum number of channels for ADC buttons"
|
|
|
|
config ADC_BUTTON_MAX_BUTTON_PER_CHANNEL
|
|
int "ADC BUTTON MAX BUTTON PER CHANNEL"
|
|
range 1 10
|
|
default 8
|
|
help
|
|
"Maximum number of buttons per channel"
|
|
|
|
config ADC_BUTTON_SAMPLE_TIMES
|
|
int "ADC BUTTON SAMPLE TIMES"
|
|
range 1 4
|
|
default 1
|
|
help
|
|
"Number of samples per scan"
|
|
|
|
endmenu
|