diff --git a/config.h b/config.h index d8f47f5..7adf3d6 100644 --- a/config.h +++ b/config.h @@ -39,10 +39,11 @@ along with this program. If not, see . #define TAPPING_TERM 200 // Recommended for heavy chording. -// #define QMK_KEYS_PER_SCAN 4 +//#define QMK_KEYS_PER_SCAN 4 // Prevent normal rollover on alphas from accidentally triggering mods. -#define IGNORE_MOD_TAP_INTERRUPT +// NOT NEEDED ANYMORE - IS DEFAULT NOW ANYWAYS +//#define IGNORE_MOD_TAP_INTERRUPT // Consider a rapid key successions as a HOLD and not a TAP, // even if HOLD is shorter than TAPPING_TERM diff --git a/keymap.c b/keymap.c index a13335b..301b8e6 100644 --- a/keymap.c +++ b/keymap.c @@ -200,7 +200,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { bool _macro_is_recording = false; -void dynamic_macro_record_start_user(void) { +void dynamic_macro_record_start_user(int8_t direction) { _macro_is_recording = true; } @@ -251,12 +251,14 @@ void oled_render_empty_line(void) { } void render_keylock_status(uint8_t led_usb_state) { + led_t led_state = host_keyboard_led_state(); + oled_write_P(PSTR("Lock: "), false); - oled_write_P(PSTR("N"), led_usb_state & (1 << USB_LED_NUM_LOCK)); + oled_write_P(PSTR("N"), led_state.num_lock); oled_write_P(PSTR(" "), false); - oled_write_P(PSTR("C"), led_usb_state & (1 << USB_LED_CAPS_LOCK)); + oled_write_P(PSTR("C"), led_state.caps_lock); oled_write_P(PSTR(" "), false); - oled_write_ln_P(PSTR("S"), led_usb_state & (1 << USB_LED_SCROLL_LOCK)); + oled_write_ln_P(PSTR("S"), led_state.scroll_lock); } void render_bootmagic_status(bool status) { diff --git a/rules.mk b/rules.mk index 557772e..9271c9c 100644 --- a/rules.mk +++ b/rules.mk @@ -1,5 +1,5 @@ OLED_ENABLE = yes -OLED_DRIVER = SSD1306 +OLED_DRIVER = ssd1306 EXTRAKEY_ENABLE = yes # Audio control and System control MOUSEKEY_ENABLE = yes COMBO_ENABLE = yes