remove debugs
parent
5947829da5
commit
2039dedb6a
|
@ -192,7 +192,7 @@ void main_key_up(u8 row, u8 col) {
|
|||
// stop key repeat
|
||||
if (repeating[row][col]) {
|
||||
repeating[row][col] = false;
|
||||
debug_printf("stop: %lu\n", now() - time_pressed[row][col]);
|
||||
/* debug_printf("stop: %lu\n", now() - time_pressed[row][col]); */
|
||||
}
|
||||
|
||||
exec_key(layer, row, col, false);
|
||||
|
@ -203,7 +203,7 @@ void main_key_down_new(u8 row, u8 col) {
|
|||
layers_pressed[row][col] = layer;
|
||||
|
||||
time_pressed[row][col] = now();
|
||||
debug_printf("down: %lu\n", time_pressed[row][col]);
|
||||
/* debug_printf("down: %lu\n", time_pressed[row][col]); */
|
||||
|
||||
exec_key(layer, row, col, true);
|
||||
}
|
||||
|
@ -216,11 +216,11 @@ void main_key_down_repeat(u8 row, u8 col) {
|
|||
repeating[row][col] = true;
|
||||
time_pressed[row][col] = t;
|
||||
|
||||
debug_printf("start: %lu\n", diff);
|
||||
/* debug_printf("start: %lu\n", diff); */
|
||||
} else if (repeating[row][col] && diff >= repeat_rate) { // continue repeat
|
||||
time_pressed[row][col] = t;
|
||||
|
||||
debug_printf("cont: %lu\n", diff);
|
||||
/* debug_printf("cont: %lu\n", diff); */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -481,6 +481,7 @@ void kbfun_modifier_sticky(keycode key, bool is_pressed) {
|
|||
set_bit(mod_sticky, mod);
|
||||
mod_sticky_done = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue