28 lines
470 B
C
28 lines
470 B
C
#include QMK_KEYBOARD_H
|
|
|
|
#ifdef KEYBOARD_tidbit
|
|
|
|
/**** Override Defalt keymap completely *****/
|
|
bool encoder_update_user(uint8_t index, bool clockwise) {
|
|
if (clockwise) {
|
|
tap_code(KC_VOLU);
|
|
} else {
|
|
tap_code(KC_VOLD);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
/***** Nuke unneeded functionality *****/
|
|
|
|
void matrix_init_user(void) {
|
|
}
|
|
|
|
void matrix_scan_user(void) {
|
|
}
|
|
|
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|
return true;
|
|
}
|
|
|
|
#endif
|