summaryrefslogtreecommitdiff
path: root/keyboards/xd60/xd60.h
diff options
context:
space:
mode:
authorOle Anders <git@swoy.org>2017-03-28 15:55:33 +0200
committerOle Anders <git@swoy.org>2017-03-28 15:55:33 +0200
commit62faa20ef6ddab7dacc74123b2253cf25b5c20f7 (patch)
tree281ae30283f7491b2529465da4897dc2ddd7088c /keyboards/xd60/xd60.h
parentd5ee0194abf5cc9df4086a89ad78cf188352028a (diff)
parent5e4daf1c6db980fad269fe7b013205008bfe701e (diff)
Merge remote-tracking branch 'refs/remotes/qmk/master'
Diffstat (limited to 'keyboards/xd60/xd60.h')
-rw-r--r--keyboards/xd60/xd60.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/keyboards/xd60/xd60.h b/keyboards/xd60/xd60.h
index 36442cb527..dd5f63c0ca 100644
--- a/keyboards/xd60/xd60.h
+++ b/keyboards/xd60/xd60.h
@@ -6,24 +6,18 @@
/* XD60 LEDs
* GPIO pads
- * 0 F7 WASD LEDs
- * 1 F6 ESC LED
- * 2 F5 FN LED
- * 3 F4 POKER Arrow LEDs
+ * 0 F7 not connected
+ * 1 F6 RGB PWM Underglow
+ * 2 F5 Backlight LED
+ * 3 F4 not connected
* B2 Capslock LED
* B0 not connected
*/
inline void xd60_caps_led_on(void) { DDRB |= (1<<2); PORTB &= ~(1<<2); }
-inline void xd60_poker_leds_on(void) { DDRF |= (1<<4); PORTF &= ~(1<<4); }
-inline void xd60_fn_led_on(void) { DDRF |= (1<<5); PORTF &= ~(1<<5); }
-inline void xd60_esc_led_on(void) { DDRF |= (1<<6); PORTF &= ~(1<<6); }
-inline void xd60_wasd_leds_on(void) { DDRF |= (1<<7); PORTF &= ~(1<<7); }
+inline void xd60_bl_led_on(void) { DDRF |= (1<<5); PORTF &= ~(1<<5); }
inline void xd60_caps_led_off(void) { DDRB &= ~(1<<2); PORTB &= ~(1<<2); }
-inline void xd60_poker_leds_off(void) { DDRF &= ~(1<<4); PORTF &= ~(1<<4); }
-inline void xd60_fn_led_off(void) { DDRF &= ~(1<<5); PORTF &= ~(1<<5); }
-inline void xd60_esc_led_off(void) { DDRF &= ~(1<<6); PORTF &= ~(1<<6); }
-inline void xd60_wasd_leds_off(void) { DDRF &= ~(1<<7); PORTF &= ~(1<<7); }
+inline void xd60_bl_led_off(void) { DDRF &= ~(1<<5); PORTF &= ~(1<<5); }
/* XD60 Keymap Definition Macro */
#define KEYMAP( \