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

Conversation

drashna
Copy link

@drashna drashna commented Jul 7, 2022

No description provided.

Comment on lines 319 to 321
if ((keycode >= POINTER_DEFAULT_DPI_FORWARD && keycode < CHARYBDIS_SAFE_RANGE) || IS_MOUSEKEY(keycode)) {
debug_charybdis_config_to_console(&g_charybdis_config);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you also need to gate that with #ifndef NO_CHARYBDIS_KEYCODES.

@0xcharly
Copy link
Collaborator

0xcharly commented Jul 7, 2022

Thanks, Drashna!

@0xcharly 0xcharly merged commit 021cd12 into Bastardkb:bkb-master Jul 7, 2022
@drashna drashna deleted the patch-1 branch July 7, 2022 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants