Last active
July 11, 2021 13:31
-
-
Save takashicompany/822d2c71ac81f07676e0c84d239f1b96 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// キーを押した回数を格納する変数 | |
static uint16_t press_count = 0; | |
bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |
// キーが押されたら、カウンターをインクリメントする | |
if (record->event.pressed) { | |
press_count++; | |
} | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment