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:
Victor 2024-07-02 23:29:06 -05:00
parent bd72a9b350
commit edf4c932f2
Failed to generate hash of commit
19 changed files with 172 additions and 129 deletions

View file

@ -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: