mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-25 00:35:30 -04:00
At work, major cleanup
- Can't flash firmware to test RGBMatrix here so trying to do other stuff - Added Reverse Base Layer toggle and mapped it to the encoder - Tweaked combos. Moving mouse buttons around for comfort and moving stuff to minimize misfires - removed macro 2 set binds - Fleshed out MOUSEKEY config and tweaked mouse wheel to speed it up - Refreshed RGB Matrix config, added timeout, removed unneeded stuff - Added split OLED data sync - Updated keymap drawer image - Cleaned up comments and bad Swoop rgbmatrix code
This commit is contained in:
parent
c769c3783c
commit
4c1ff262ab
13 changed files with 139 additions and 160 deletions
|
@ -1,7 +1,5 @@
|
|||
#include "t4corun.h"
|
||||
|
||||
static uint8_t current_base_layer = _DEFAULT_LAYER_1;
|
||||
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
|
||||
state = update_tri_layer_state(state, _NAVIGATION, _NUMBER, _SYMBOL);
|
||||
|
@ -20,10 +18,17 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
return false;
|
||||
|
||||
case RBSELYR:
|
||||
if (record->event.pressed) {
|
||||
current_base_layer = (current_base_layer - 1) % NUM_BASE_LAYER;
|
||||
set_single_persistent_default_layer(current_base_layer);
|
||||
}
|
||||
return false;
|
||||
|
||||
case PN_DRGS:
|
||||
if (record->event.pressed) {
|
||||
//tap numlock twice to toggle ploopy nano drag scroll
|
||||
double_tap(KC_NUM, KC_NUM,WAIT_DELAY);
|
||||
double_tap(KC_NUM, KC_NUM, WAIT_DELAY);
|
||||
}
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue