mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-09 17:14:18 -04:00
Added super alt-tab
- going to remove it though so I can hold different mods for chrome and windows. Wanted to save the code since I spent time working on it - General code cleanup - introduced klor and rollow keyboard.json - set encoder resolution to 4 for alt tab to work right
This commit is contained in:
parent
bd72a9b350
commit
edf4c932f2
19 changed files with 172 additions and 129 deletions
|
@ -1,8 +1,10 @@
|
|||
#include "combo.h"
|
||||
|
||||
bool combo_should_trigger(uint16_t combo_index, combo_t *combo, uint16_t keycode, keyrecord_t *record) {
|
||||
bool combo_should_trigger (uint16_t combo_index, combo_t *combo, uint16_t keycode, keyrecord_t *record) {
|
||||
// disable all combos on config layer
|
||||
if ( get_highest_layer(layer_state | default_layer_state) == _CONFIG ) return false;
|
||||
if (get_highest_layer(layer_state | default_layer_state) == _CONFIG) {
|
||||
return false;
|
||||
}
|
||||
|
||||
switch (combo_index) {
|
||||
case MOUSE_BUTTON2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue