Use 3rd led as caps-lock indicator
This commit is contained in:
parent
ac94577cbe
commit
8677ec0c9f
1 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
#include "ergodox_ez.h"
|
#include "ergodox_ez.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "action_layer.h"
|
#include "action_layer.h"
|
||||||
|
#include "led.h"
|
||||||
|
|
||||||
#define BASE 0 // default layer
|
#define BASE 0 // default layer
|
||||||
#define SYMB 1 // symbols
|
#define SYMB 1 // symbols
|
||||||
|
@ -191,5 +192,7 @@ void * matrix_scan_user(void) {
|
||||||
// none
|
// none
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK)) {
|
||||||
|
ergodox_right_led_3_on();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue