Skip to content

Commit

Permalink
Only send debug info if keycode is mouse related
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored Jul 7, 2022
1 parent b098077 commit ef75a4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion keyboards/bastardkb/charybdis/charybdis.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,10 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
pointing_device_send();
}
# endif // !MOUSEKEY_ENABLE
if ((keycode >= POINTER_DEFAULT_DPI_FORWARD && keycode < CHARYBDIS_SAFE_RANGE) || IS_MOUSEKEY(keycode)) {
debug_charybdis_config_to_console(&g_charybdis_config);
}
# endif // POINTING_DEVICE_ENABLE
debug_charybdis_config_to_console(&g_charybdis_config);
return true;
}

Expand Down

0 comments on commit ef75a4b

Please sign in to comment.