X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Fkitten_paw%2Fkitten_paw.h;h=189b721b934cfcd7ea83f440e8f2e9b78e054f61;hb=8e058135e2905d6a2ec281d29e5a93cb808bd8a5;hp=a6c1d27de77eb2d6b9cfa9837e370e98131781f7;hpb=d2990645ca82d84b571c1c6c99080ed57ef8771e;p=qmk_firmware.git diff --git a/keyboards/kitten_paw/kitten_paw.h b/keyboards/kitten_paw/kitten_paw.h index a6c1d27de..189b721b9 100644 --- a/keyboards/kitten_paw/kitten_paw.h +++ b/keyboards/kitten_paw/kitten_paw.h @@ -3,6 +3,17 @@ #include "quantum.h" +#define CONFIG_LED_IO \ + DDRB |= (1<<7); \ + DDRC |= (1<<5) | (1<<6); + +#define USB_LED_CAPS_LOCK_ON PORTC &= ~(1<<6) +#define USB_LED_CAPS_LOCK_OFF PORTC |= (1<<6) +#define USB_LED_NUM_LOCK_ON PORTB &= ~(1<<7) +#define USB_LED_NUM_LOCK_OFF PORTB |= (1<<7) +#define USB_LED_SCROLL_LOCK_ON PORTC &= ~(1<<5) +#define USB_LED_SCROLL_LOCK_OFF PORTC |= (1<<5) + // This a shortcut to help you visually see your layout. // The first section contains all of the arguements // The second converts the arguments into a two-dimensional array