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

Only send debug info if keycode is mouse related #11

Merged
merged 2 commits into from
Jul 7, 2022
Merged
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
8 changes: 7 additions & 1 deletion keyboards/bastardkb/charybdis/charybdis.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,14 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
pointing_device_send();
}
# endif // !MOUSEKEY_ENABLE
if (IS_MOUSEKEY(keycode)
# ifndef NO_CHARYBDIS_KEYCODES
|| (keycode >= POINTER_DEFAULT_DPI_FORWARD && keycode < CHARYBDIS_SAFE_RANGE)
# endif
) {
debug_charybdis_config_to_console(&g_charybdis_config);
}
# endif // POINTING_DEVICE_ENABLE
debug_charybdis_config_to_console(&g_charybdis_config);
return true;
}

Expand Down