From f1b5659ba8227624a3f31fc551212cb64d8c763f Mon Sep 17 00:00:00 2001 From: wangfuco <46733695+wangfuco@users.noreply.github.com> Date: Thu, 26 Jan 2023 22:11:29 -0800 Subject: fix pegasushoof caps light, add via keymap (#19649) Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan Co-authored-by: Fucong Wang --- keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c | 16 +--------------- keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk | 10 ---------- 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk (limited to 'keyboards/bpiphany/pegasushoof/keymaps/default') diff --git a/keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c b/keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c index eb19a16d94..2dcf6de867 100644 --- a/keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c +++ b/keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c @@ -39,18 +39,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, _______, _______, _______, _______, _______, _______, QK_BOOT, _______, KC_MPRV, KC_MSTP, KC_MNXT ) -}; - -void led_set_user(uint8_t usb_led) { - if (usb_led & (1 << USB_LED_CAPS_LOCK)) { - ph_caps_led_on(); - } else { - ph_caps_led_off(); - } - - if (usb_led & (1 << USB_LED_SCROLL_LOCK)) { - ph_sclk_led_on(); - } else { - ph_sclk_led_off(); - } -} +}; \ No newline at end of file diff --git a/keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk b/keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk deleted file mode 100644 index 0f9291c88b..0000000000 --- a/keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -CUSTOM_MATRIX = yes # Custom matrix file for the Pegasus Hoof due to the 2x74HC42 -NKRO_ENABLE = no -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -- cgit v1.2.3