remove debugs

master
Stefan Dorn 2016-10-31 19:29:04 +00:00
parent 5947829da5
commit 2039dedb6a
1 changed files with 5 additions and 4 deletions

View File

@ -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;
}
}
}