5 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
11 void set_led_state(int ledId, bool state) {
14 /* LED 0 to 5 are the leds of each keyswitch. From left to right, top to bottom. These are equal to the numbers in the legends of the default keycaps. */
19 if((PINB & (1 << 7)) != 0) {
37 /* LED 6 to 8 are the three layer leds in front of the device from left to right. */
54 if((PINB & (1 << 7)) != 0) {
85 void led_init_ports() {
102 void led_set_layer(int layer) {
104 /*KNOPS_SIMPLELED_STATES*/
108 void matrix_init_user(void) {
116 const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
117 //keyevent_t event = record->event;
124 void matrix_scan_user(void) {
128 void led_set_user(uint8_t usb_led) {
130 /*KNOPS_FUNCTIONALLED_STATES*/
134 bool process_record_user (uint16_t keycode, keyrecord_t *record) {
136 /*KNOPS_PROCESS_STATE*/