From 3e8f2728732b20b5b6af63db73ad8b6f2be18823 Mon Sep 17 00:00:00 2001 From: Xyverz Date: Sat, 4 Aug 2018 09:01:26 -0700 Subject: Keyboard: LED fixes for Kinesis Stapelberg controller, and keymap changes (#3564) * Rules for vitamins_included Added a section to disable RGB underglow for the Let's Split Vitamins Included board. * fixing ortho_4x12 configs * Using upstream/master version instead * Additions and Corrections Corrected the Kinesis/Stapelberg's .c file to allow LEDs to work Removed excess cruft from my Kinesis keymap to reflect this change Other minor tweaks and adjustments to my ortho_4x12 and 5x12 layouts * Updated readme --- keyboards/kinesis/stapelberg/stapelberg.c | 86 ++++++++++--------------------- 1 file changed, 28 insertions(+), 58 deletions(-) (limited to 'keyboards/kinesis/stapelberg') diff --git a/keyboards/kinesis/stapelberg/stapelberg.c b/keyboards/kinesis/stapelberg/stapelberg.c index 94d15316d..af407ac4f 100644 --- a/keyboards/kinesis/stapelberg/stapelberg.c +++ b/keyboards/kinesis/stapelberg/stapelberg.c @@ -27,65 +27,35 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { } void led_init_ports() { - // * Set our LED pins as output - DDRF |= (1<<0); // Keypad LED - DDRF |= (1<<1); // ScrLock LED - DDRF |= (1<<2); // NumLock LED - DDRF |= (1<<3); // CapsLock LED + // * Set our LED pins as output + DDRF |= (1<<0); // Keypad LED + DDRF |= (1<<1); // ScrLock LED + DDRF |= (1<<2); // NumLock LED + DDRF |= (1<<3); // CapsLock LED } void led_set_kb(uint8_t usb_led) { - DDRF |= (1<<0); // Keypad LED - if (usb_led & (1<