diff options
author | cbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info> | 2016-08-26 12:13:50 -0400 |
---|---|---|
committer | cbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info> | 2016-08-26 12:13:50 -0400 |
commit | a732003bfd1a780be0728cdacda71c0b3d8b59b3 (patch) | |
tree | 8a9ceab958bb863ee2fd6b00a204856f96bacdab /keyboards/kitten_paw/kitten_paw.h | |
parent | 7c2a24b3154367bfff06163193e07303d9dcf86e (diff) | |
parent | 2c8f6557e6994d3fe4fa2038f6cb4a4e51caf3a9 (diff) | |
download | qmk_firmware-a732003bfd1a780be0728cdacda71c0b3d8b59b3.tar.gz qmk_firmware-a732003bfd1a780be0728cdacda71c0b3d8b59b3.zip |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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 a6c1d27de7..189b721b93 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 |