mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-05 23:24:17 -04:00
- 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
27 lines
No EOL
639 B
C
27 lines
No EOL
639 B
C
#include "tapping.h"
|
|
|
|
bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
|
|
//This is effective for all dual role keys (e.g. Mod-Taps, Layer-Taps, etc)
|
|
switch(keycode) {
|
|
default:
|
|
//Disable HOLD_ON_OTHER_KEY_PRESS aka enable IGNORE_MOD_TAP_INTERRUPT
|
|
return false;
|
|
}
|
|
}
|
|
|
|
uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t *record) {
|
|
switch (keycode) {
|
|
|
|
default:
|
|
return QUICK_TAP_TERM;
|
|
}
|
|
}
|
|
|
|
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
|
|
switch (keycode) {
|
|
|
|
default:
|
|
//uprintf("tapping term: %d \n", TAPPING_TERM);
|
|
return TAPPING_TERM;
|
|
}
|
|
} |