summaryrefslogtreecommitdiff
path: root/keyboards/clueboard/keymaps/mac_optimized
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2017-03-21 22:06:47 -0700
committerskullY <skullydazed@gmail.com>2017-03-21 22:06:47 -0700
commit452949f9139a04d46748e6abc03e92d65d74eb30 (patch)
tree5f48221df354c5511550fa6144b34e47bf51528c /keyboards/clueboard/keymaps/mac_optimized
parentdd967f2c0512a0007d214e219edf60dd990b778c (diff)
Add #1170 to all the clueboard keymaps
Diffstat (limited to 'keyboards/clueboard/keymaps/mac_optimized')
-rw-r--r--keyboards/clueboard/keymaps/mac_optimized/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/clueboard/keymaps/mac_optimized/keymap.c b/keyboards/clueboard/keymaps/mac_optimized/keymap.c
index 4a18e9a758..7ea02d27e8 100644
--- a/keyboards/clueboard/keymaps/mac_optimized/keymap.c
+++ b/keyboards/clueboard/keymaps/mac_optimized/keymap.c
@@ -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);