1
0

Refactor keyboard/keymap use of deprecated isLeftHand (#25891)

This commit is contained in:
Joel Challis
2025-12-21 20:52:48 +00:00
committed by GitHub
parent d420bcad33
commit f82d4d8680
14 changed files with 25 additions and 29 deletions

View File

@@ -18,7 +18,7 @@
void led_init_ports(void) {
// Initialize indicator LEDs to output
if (isLeftHand) {
if (is_keyboard_left()) {
gpio_set_pin_output(C6);
gpio_set_pin_output(B6);
gpio_set_pin_output(B5);
@@ -36,7 +36,7 @@ void led_init_ports(void) {
//
// (LEFT) 0 1 2 | 3 4 5 (RIGHT)
void led_toggle(uint8_t id, bool on) {
if (isLeftHand) {
if (is_keyboard_left()) {
switch (id) {
case 0:
// Left hand C6