You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
879 B
39 lines
879 B
2 years ago
|
# Copyright (c) 2021 The ZMK Contributors
|
||
|
# SPDX-License-Identifier: MIT
|
||
|
|
||
|
menuconfig ZMK_MOUSE
|
||
|
bool "Enable ZMK mouse emulation"
|
||
|
default n
|
||
|
|
||
|
config ZMK_MOUSE_TICK_DURATION
|
||
|
int "Mouse tick duration in ms"
|
||
|
default 8
|
||
|
|
||
|
if ZMK_MOUSE
|
||
|
|
||
|
choice ZMK_MOUSE_WORK_QUEUE
|
||
|
prompt "Work queue selection for mouse events"
|
||
|
default ZMK_MOUSE_WORK_QUEUE_DEDICATED
|
||
|
|
||
|
config ZMK_MOUSE_WORK_QUEUE_SYSTEM
|
||
|
bool "Use default system work queue for mouse events"
|
||
|
|
||
|
config ZMK_MOUSE_WORK_QUEUE_DEDICATED
|
||
|
bool "Use dedicated work queue for mouse events"
|
||
|
|
||
|
endchoice
|
||
|
|
||
|
if ZMK_MOUSE_WORK_QUEUE_DEDICATED
|
||
|
|
||
|
config ZMK_MOUSE_DEDICATED_THREAD_STACK_SIZE
|
||
|
int "Stack size for dedicated mouse thread/queue"
|
||
|
default 2048
|
||
|
|
||
|
config ZMK_MOUSE_DEDICATED_THREAD_PRIORITY
|
||
|
int "Thread priority for dedicated mouse thread/queue"
|
||
|
default 3
|
||
|
|
||
|
endif # ZMK_MOUSE_WORK_QUEUE_DEDICATED
|
||
|
|
||
|
endif
|