[Keymap] Update rp2040_orbweaver (#24704)

* Update keymap.c

enhancement - power down indicator LEDs when host sleeps

* Update keyboards/lostdotfish/rp2040_orbweaver/keymaps/default/keymap.c

Co-authored-by: jack <jack@pngu.org>

* Update keyboards/lostdotfish/rp2040_orbweaver/keymaps/default/keymap.c

Co-authored-by: jack <jack@pngu.org>

---------

Co-authored-by: jack <jack@pngu.org>
This commit is contained in:
Lostdotfish 2024-12-11 20:29:36 +00:00 committed by GitHub
parent 847257c3c7
commit d283e27bf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,3 +76,15 @@ layer_state_t layer_state_set_user(layer_state_t state) {
} }
return state; return state;
} }
void suspend_power_down_kb(void) {
// code will run multiple times while keyboard is suspended
gpio_write_pin_high(GP23);
gpio_write_pin_high(GP24);
gpio_write_pin_high(GP25);
suspend_power_down_user();
}
void suspend_wakeup_init_kb(void) {
layer_state_set_kb(layer_state);
suspend_wakeup_init_user();
}