Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
henrebotha committed Oct 7, 2019
1 parent 1440db9 commit 830344c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/keymaps/henrebotha/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ void matrix_scan_user(void) {
}

if (kc_task_release_after_500) {
// If this operation is slow, it will only affect performance for 500 ms
// after a KC_TASK press. The rest of the time, the conditional will prevent
// any performance cost.
if (timer_elapsed(kc_task_release_time) > 500) {
SEND_STRING(SS_UP(X_LALT));
kc_task_release_after_500 = false;
Expand Down

0 comments on commit 830344c

Please sign in to comment.