-
Notifications
You must be signed in to change notification settings - Fork 64
/
Kconfig
30 lines (25 loc) · 1013 Bytes
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
menu "ESP32 Button"
config ESP32_BUTTON_LONG_PRESS_DURATION_MS
int "Button long press duration in ms"
default 2000
help
Defines how long a button has to be pressed to trigger BUTTON_HELD events.
config ESP32_BUTTON_LONG_PRESS_REPEAT_MS
int "Button long press repetition in ms"
default 50
help
Defines in which interval BUTTON_HELD events are generated while a button is long pressed.
config ESP32_BUTTON_QUEUE_SIZE
int "Size of the button event queue"
default 4
help
Defines how many button events the queue can store. If the queue is full because the events
are not retreived from the queue quickly enough, the button task has to wait and does not
process any button presses during this time.
config ESP32_BUTTON_TASK_STACK_SIZE
int "Button update task stack size"
default 3072
help
Configure the stack size of the button task in bytes. Reducing this value to 2048 should not
cause any problems.
endmenu