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_SERIAL_TIME_MS int "BUTTON SERIAL TIME (MS)" range 2 1000 default 20 help "Serial trigger interval" config GPIO_BUTTON_SUPPORT_POWER_SAVE bool "GPIO BUTTON SUPPORT POWER SAVE" default n help Enable GPIO button power save The function enables the use of GPIO buttons during light sleep, but enabling this function prevents the simultaneous use of other types of buttons. 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