mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 08:26:21 +00:00
[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:
parent
847257c3c7
commit
d283e27bf8
@ -76,3 +76,15 @@ layer_state_t layer_state_set_user(layer_state_t 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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user