Skip to content

Commit

Permalink
Add some comments/hints regarding debug key process
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienFellay committed May 2, 2024
1 parent 72f3f3a commit 9d2e1a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keyboards/keychron/q6_custom/q6_custom.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
#ifndef NO_DEBUG
// Manage EEPROM config for debug state
case DB_TOGG:
// Replace and customize the process for the debug key (no post_process_record_kb possible for this particular key)
if (record->event.pressed) {
// On key press
debug_enable ^= 1;
Expand Down

0 comments on commit 9d2e1a0

Please sign in to comment.