summaryrefslogtreecommitdiffstats
path: root/keyboards/kbdfans/kbd67/rev2/rev2.c
blob: 10f848d2f94cfd212cef902d5027b0b4c215c2cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "rev2.h"
void matrix_init_kb(void) {
    setPinOutput(D4);
    matrix_init_user();
}
bool led_update_kb(led_t led_state) {
    bool res = led_update_user(led_state);
    if(res) {
        writePin(D4, !led_state.caps_lock);
    }
    return res;
}