diff options
author | wangfuco <46733695+wangfuco@users.noreply.github.com> | 2023-01-26 22:11:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-26 23:11:29 -0700 |
commit | f1b5659ba8227624a3f31fc551212cb64d8c763f (patch) | |
tree | f462eb196ba6228c66cd5d367cef7f95ff4ae567 /keyboards/bpiphany/pegasushoof/keymaps/default | |
parent | ad817a71a3b6bdb21c2e628d853e6312d7aa0100 (diff) |
fix pegasushoof caps light, add via keymap (#19649)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Fucong Wang <wangfuco@Fucongs-Mac-mini.local>
Diffstat (limited to 'keyboards/bpiphany/pegasushoof/keymaps/default')
-rw-r--r-- | keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c | 16 | ||||
-rw-r--r-- | keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk | 10 |
2 files changed, 1 insertions, 25 deletions
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. |