qmk_firmware/keyboards/sentraq/s65_plus/s65_plus.c
2020-02-29 21:35:29 -08:00

12 lines
226 B
C

#include "s65_plus.h"
#include "led.h"
void led_set_kb(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
// Turn capslock on
PORTB &= ~(1<<7);
} else {
// Turn capslock off
PORTB |= (1<<7);
}
}