Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable config ZMK_INPUT_MOUSE_PS2 depends on split role #2

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/drivers/input/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DT_COMPAT_ZMK_INPUT_PS2_MOUSE := zmk,input-mouse-ps2
config ZMK_INPUT_MOUSE_PS2
bool
default $(dt_compat_enabled,$(DT_COMPAT_ZMK_INPUT_PS2_MOUSE))
depends on (!ZMK_SPLIT || ZMK_SPLIT_ROLE_CENTRAL)
# depends on (!ZMK_SPLIT || ZMK_SPLIT_ROLE_CENTRAL)
select ZMK_MOUSE
select PS2

Expand All @@ -24,4 +24,11 @@ config ZMK_INPUT_MOUSE_PS2_ENABLE_ERROR_MITIGATION
bool "Tries to mitigate transmission errors. Only useful when using a PS2 driver that is prone to miscommunication like the GPIO bitbanging driver."
default n

config ZMK_INPUT_MOUSE_PS2_REPORT_INTERVAL_MIN
int "Minimum report rate. Use to avoid bluetooth queue overflow."
default 0
help
Default minimum report interval in milliseconds.
Slow down input reporting for hid queue over the air.

endif # ZMK_INPUT_MOUSE_PS2
Loading