1
0
Fork 0

Add #1170 to all the clueboard keymaps

This commit is contained in:
skullY 2017-03-21 22:06:47 -07:00
parent dd967f2c05
commit 452949f913
9 changed files with 34 additions and 10 deletions

View file

@ -62,8 +62,8 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
/* The key is being pressed.
*/
if (mods_pressed) {
add_key(KC_GRV);
mod_flag = true;
add_key(KC_GRV);
send_keyboard_report();
} else {
add_key(KC_ESC);
@ -73,8 +73,8 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
/* The key is being released.
*/
if (mod_flag) {
del_key(KC_GRV);
mod_flag = false;
del_key(KC_GRV);
send_keyboard_report();
} else {
del_key(KC_ESC);