From 2f00d9d6ac9d41e71e801ff7106401fb0e1cf9fe Mon Sep 17 00:00:00 2001 From: huantian Date: Sun, 15 Dec 2024 13:00:50 -0800 Subject: [PATCH] fix: stop button 8 from being always activated It seems that because the unused button 8 needed for infinitas spoof was the same pin as an LED pin, it could sometimes be always activated for some users. We switch it to unused pins to stop this from happening. --- src/controller_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller_config.h b/src/controller_config.h index 656543d..3643273 100644 --- a/src/controller_config.h +++ b/src/controller_config.h @@ -22,10 +22,10 @@ const uint8_t SW_KEYCODE[] = {HID_KEY_D, HID_KEY_F, HID_KEY_J, HID_KEY_K, HID_KEY_C, HID_KEY_M, HID_KEY_A, HID_KEY_B, HID_KEY_1, HID_KEY_E, HID_KEY_G}; const uint8_t SW_GPIO[] = { - 2, 4, 6, 8, 10, 12, 14, 26, 16, 18, 20, 22, + 2, 4, 6, 8, 10, 12, 14, 27, 16, 18, 20, 22, }; const uint8_t LED_GPIO[] = { - 3, 5, 7, 9, 11, 13, 15, 27, 17, 19, 21, 26, + 3, 5, 7, 9, 11, 13, 15, 25, 17, 19, 21, 26, }; const uint8_t ENC_GPIO[] = {0}; // TT(0, 1) const bool ENC_REV[] = {false}; // Reverse Encoders