zmk_mf68/app/drivers/zephyr/Kconfig

64 lines
1.3 KiB
Text
Raw Normal View History

config ZMK_KSCAN_GPIO_DRIVER
bool "Enable GPIO kscan driver to simulate key presses"
default y
select GPIO
if ZMK_KSCAN_GPIO_DRIVER
config ZMK_KSCAN_GPIO_POLLING
bool "Poll for key event triggers instead of using interrupts"
default n
endif
config ZMK_KSCAN_INIT_PRIORITY
int "Keyboard scan driver init priority"
default 40
help
Keyboard scan device driver initialization priority.
menuconfig EC11
bool "EC11 Incremental Encoder Sensor"
2020-07-18 12:43:19 +10:00
depends on GPIO
help
Enable driver for EC11 incremental encoder sensors.
2020-07-18 12:43:19 +10:00
if EC11
2020-07-18 12:43:19 +10:00
2020-07-25 06:31:38 +10:00
choice EC11_TRIGGER
2020-07-18 12:43:19 +10:00
prompt "Trigger mode"
default EC11_TRIGGER_NONE
2020-07-18 12:43:19 +10:00
help
Specify the type of triggering to be used by the driver.
config EC11_TRIGGER_NONE
2020-07-18 12:43:19 +10:00
bool "No trigger"
config EC11_TRIGGER_GLOBAL_THREAD
2020-07-18 12:43:19 +10:00
bool "Use global thread"
depends on GPIO
select EC11_TRIGGER
2020-07-18 12:43:19 +10:00
config EC11_TRIGGER_OWN_THREAD
2020-07-18 12:43:19 +10:00
bool "Use own thread"
depends on GPIO
select EC11_TRIGGER
2020-07-18 12:43:19 +10:00
endchoice
config EC11_THREAD_PRIORITY
2020-07-18 12:43:19 +10:00
int "Thread priority"
depends on EC11_TRIGGER_OWN_THREAD
2020-07-18 12:43:19 +10:00
default 10
help
Priority of thread used by the driver to handle interrupts.
config EC11_THREAD_STACK_SIZE
2020-07-18 12:43:19 +10:00
int "Thread stack size"
depends on EC11_TRIGGER_OWN_THREAD
2020-07-18 12:43:19 +10:00
default 1024
help
Stack size of thread used by the driver to handle interrupts.
endif # EC11