You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/keyboards/sentraq/s65_plus/s65_plus.c

13 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);
}
}