aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gh80_3000/keymaps/iso_wkl/keymap.c
diff options
context:
space:
mode:
authorchalex <[email protected]>2024-04-29 21:36:10 -0400
committerGitHub <[email protected]>2024-04-29 18:36:10 -0700
commitb4b222a6e3b103df201ca098cb7ddecc99993b1e (patch)
tree41438df8165b5a1466972a55a71a7bedf05b40ea /keyboards/gh80_3000/keymaps/iso_wkl/keymap.c
parent78a76b6c1e60e606eebc7cf571ee4251fc47d92a (diff)
downloadqmk_firmware-b4b222a6e3b103df201ca098cb7ddecc99993b1e.tar.gz
qmk_firmware-b4b222a6e3b103df201ca098cb7ddecc99993b1e.zip
gh80_3000 - Enable indicator LED functionality (#23633)
Co-authored-by: chalex <[email protected]>
Diffstat (limited to 'keyboards/gh80_3000/keymaps/iso_wkl/keymap.c')
-rw-r--r--keyboards/gh80_3000/keymaps/iso_wkl/keymap.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/keyboards/gh80_3000/keymaps/iso_wkl/keymap.c b/keyboards/gh80_3000/keymaps/iso_wkl/keymap.c
index 86054ba1fd..9108f6aba4 100644
--- a/keyboards/gh80_3000/keymaps/iso_wkl/keymap.c
+++ b/keyboards/gh80_3000/keymaps/iso_wkl/keymap.c
@@ -12,29 +12,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-bool led_update_user(led_t led_state) {
- if (led_state.num_lock) {
- DDRB |= (1 << 5);
- PORTB &= ~(1 << 5);
- } else {
- DDRB &= ~(1 << 5);
- PORTB &= ~(1 << 5);
- }
-
- if (led_state.caps_lock) {
- DDRB |= (1 << 6);
- PORTB &= ~(1 << 6);
- } else {
- DDRB &= ~(1 << 6);
- PORTB &= ~(1 << 6);
- }
-
- if (led_state.scroll_lock) {
- DDRB |= (1 << 7);
- PORTB &= ~(1 << 7);
- } else {
- DDRB &= ~(1 << 7);
- PORTB &= ~(1 << 7);
- }
- return false;
-}