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:
Victor 2024-04-24 12:38:08 -05:00
parent c769c3783c
commit 4c1ff262ab
Failed to generate hash of commit
13 changed files with 139 additions and 160 deletions

View file

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