aboutsummaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-05-30 11:46:34 -0400
committerJack Humbert <jack.humb@gmail.com>2017-05-30 11:46:34 -0400
commit3a1a7d647283681be4681990619061249717a99a (patch)
treed5f7e045651c1640cf46aefef865985347268665 /tmk_core
parent7eccbfe73764dbac0c33065394a8b86c4952eabf (diff)
parent732a115b32a9c6aa529c53ef52a9689b5901411d (diff)
downloadqmk_firmware-3a1a7d647283681be4681990619061249717a99a.tar.gz
qmk_firmware-3a1a7d647283681be4681990619061249717a99a.zip
Merge branch 'master' of https://github.com/qmk/qmk_firmware
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/action.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index f73b0fe80..cffc0b9eb 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -324,9 +324,10 @@ void process_action(keyrecord_t *record, action_t action)
324 tp_buttons |= (1<<2); 324 tp_buttons |= (1<<2);
325 break; 325 break;
326 default: 326 default:
327 mousekey_on(action.key.code); 327 break;
328 mousekey_send();
329 } 328 }
329 mousekey_on(action.key.code);
330 mousekey_send();
330 } else { 331 } else {
331 switch (action.key.code) { 332 switch (action.key.code) {
332 case KC_MS_BTN1: 333 case KC_MS_BTN1:
@@ -339,9 +340,10 @@ void process_action(keyrecord_t *record, action_t action)
339 tp_buttons &= ~(1<<2); 340 tp_buttons &= ~(1<<2);
340 break; 341 break;
341 default: 342 default:
342 mousekey_off(action.key.code); 343 break;
343 mousekey_send();
344 } 344 }
345 mousekey_off(action.key.code);
346 mousekey_send();
345 } 347 }
346 break; 348 break;
347#endif 349#endif