summaryrefslogtreecommitdiff
path: root/keyboards/reversestudio/decadepad/decadepad.c
blob: 32a66e295cb0b0a85c9d32b7c030f53a164c5da3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "decadepad.h"
void matrix_init_kb(void) {
  led_init_ports();
  matrix_init_user(); 
};

void led_init_ports(void) {
  setPinOutput(D4);
}

bool led_update_kb(led_t led_state) {
    if (led_update_user(led_state)){
        writePin(D4, !led_state.num_lock);
    }
    return true;
}