mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-06-20 12:29:58 -04:00
putting keyboard combos back
- it felt too weird and clunky now I got used to combos
This commit is contained in:
parent
0344373690
commit
90ea8d727a
5 changed files with 18 additions and 20 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "combo.h"
|
||||
|
||||
/*
|
||||
|
||||
bool get_combo_must_tap(uint16_t index, combo_t *combo) {
|
||||
|
||||
switch (index) {
|
||||
|
@ -10,9 +10,8 @@ bool get_combo_must_tap(uint16_t index, combo_t *combo) {
|
|||
// case MOUSE_BUTTON5:
|
||||
// case MOUSE_DRGTOG:
|
||||
|
||||
|
||||
case KEY_ENT:
|
||||
// case KEY_TAB:
|
||||
case KEY_TAB:
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
@ -20,7 +19,7 @@ bool get_combo_must_tap(uint16_t index, combo_t *combo) {
|
|||
|
||||
}
|
||||
|
||||
} */
|
||||
}
|
||||
|
||||
bool combo_should_trigger(uint16_t combo_index, combo_t *combo, uint16_t keycode, keyrecord_t *record) {
|
||||
|
||||
|
@ -34,7 +33,7 @@ bool combo_should_trigger(uint16_t combo_index, combo_t *combo, uint16_t keycode
|
|||
// case MOUSE_BUTTON2:
|
||||
// case MOUSE_BUTTON3:
|
||||
// case MOUSE_BUTTON4:
|
||||
// case MOUSE_BUTTON5:
|
||||
df// case MOUSE_BUTTON5:
|
||||
|
||||
case MOUSE_DRGTOG:
|
||||
if ( get_highest_layer(layer_state | default_layer_state) > _DEFAULT_LAYER_1 ) return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue