mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-09 00:54:17 -04:00
Fine tuning
- All feature config settings are now in two keycodes for encoder - All key press toggles are now in one keycode - added back the quote bracket tap holds - Cleaned up keymap - formatting - updated other board keymaps for these - removed trace of _CONFIG layer
This commit is contained in:
parent
a2a79ed324
commit
a48bbe358b
12 changed files with 102 additions and 161 deletions
|
@ -1,11 +1,6 @@
|
|||
#include "combo.h"
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
switch (combo_index) {
|
||||
case MOUSE_BUTTON2:
|
||||
if ( get_highest_layer(layer_state | default_layer_state) > FIRST_DEFAULT_LAYER ) {
|
||||
|
@ -13,7 +8,7 @@ bool combo_should_trigger (uint16_t combo_index, combo_t *combo, uint16_t keycod
|
|||
}
|
||||
|
||||
case MOUSE_DRGTOG:
|
||||
if (( get_highest_layer(layer_state | default_layer_state) != FIRST_DEFAULT_LAYER )
|
||||
if (( get_highest_layer(layer_state | default_layer_state) != FIRST_DEFAULT_LAYER )
|
||||
&& ( get_highest_layer(layer_state | default_layer_state) != _MOUSE_FUNC )) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue