diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-08-25 23:26:02 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-08-25 23:26:02 +0300 |
commit | 523dff3005193f72247addff70c8cb238ac6164b (patch) | |
tree | 43b0835c0dc3b59ad7366b8ae77acfb8e21fdc98 /keyboards/kitten_paw/kitten_paw.h | |
parent | 2e3834edea1bc2f83477dff1a423adc87c357471 (diff) | |
parent | 4321f0af7d34f794a372964be49d225442671c45 (diff) | |
download | qmk_firmware-523dff3005193f72247addff70c8cb238ac6164b.tar.gz |
Merge branch 'master' into makefile_overhaul
Diffstat (limited to 'keyboards/kitten_paw/kitten_paw.h')
-rw-r--r-- | keyboards/kitten_paw/kitten_paw.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |