ENCODERS_PAD_* -> ENCODER_*_PINS

This commit is contained in:
Ilya Zhuravlev 2024-09-28 15:27:03 -06:00
parent a780dd1cb1
commit 75d2ccf9ea
10 changed files with 22 additions and 22 deletions

View file

@ -48,8 +48,8 @@
*/ */
// #define GRAVE_ESC_CTRL_OVERRIDE // #define GRAVE_ESC_CTRL_OVERRIDE
#define ENCODERS_PAD_A { B3, D1 } #define ENCODER_A_PINS { B3, D1 }
#define ENCODERS_PAD_B { B4, D0 } #define ENCODER_B_PINS { B4, D0 }
#define ENCODER_RESOLUTION 4 #define ENCODER_RESOLUTION 4
#define TAP_CODE_DELAY 10 #define TAP_CODE_DELAY 10

View file

@ -35,8 +35,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USB_MAX_POWER_CONSUMPTION 100 #define USB_MAX_POWER_CONSUMPTION 100
#define ENCODERS_PAD_A { D0 } #define ENCODER_A_PINS { D0 }
#define ENCODERS_PAD_B { D1 } #define ENCODER_B_PINS { D1 }
#define ENCODER_DIRECTION_FLIP #define ENCODER_DIRECTION_FLIP
#define ENCODER_RESOLUTION 4 #define ENCODER_RESOLUTION 4
#define TAP_CODE_DELAY 10 #define TAP_CODE_DELAY 10

View file

@ -16,8 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define ENCODERS_PAD_A { C0 } #define ENCODER_A_PINS { C0 }
#define ENCODERS_PAD_B { C1 } #define ENCODER_B_PINS { C1 }
#define ENCODER_DIRECTION_FLIP #define ENCODER_DIRECTION_FLIP
#define ENCODER_RESOLUTION 4 #define ENCODER_RESOLUTION 4
#define TAP_CODE_DELAY 10 #define TAP_CODE_DELAY 10

View file

@ -16,6 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define ENCODERS_PAD_A { B5 } #define ENCODER_A_PINS { B5 }
#define ENCODERS_PAD_B { B6 } #define ENCODER_B_PINS { B6 }
#define ENCODER_RESOLUTION 4 #define ENCODER_RESOLUTION 4

View file

@ -31,8 +31,8 @@
#define DEBOUNCE 5 #define DEBOUNCE 5
/* Encoder pins */ /* Encoder pins */
#define ENCODERS_PAD_A { B5 } #define ENCODER_A_PINS { B5 }
#define ENCODERS_PAD_B { B6 } #define ENCODER_B_PINS { B6 }
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
/* RGB Matrix config */ /* RGB Matrix config */

View file

@ -24,8 +24,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F0, F6, D5, F7 } #define MATRIX_ROW_PINS { F0, F6, D5, F7 }
#define MATRIX_COL_PINS { E6, B2, B3, B7, D4, D6, D7, B4, B5, B6, C6, C7, F1 } #define MATRIX_COL_PINS { E6, B2, B3, B7, D4, D6, D7, B4, B5, B6, C6, C7, F1 }
#define ENCODERS_PAD_A { F4 } #define ENCODER_A_PINS { F4 }
#define ENCODERS_PAD_B { F5 } #define ENCODER_B_PINS { F5 }
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW

View file

@ -31,11 +31,11 @@
#define TAP_CODE_DELAY 1 // without a slight delay, the RP2040 doesn't register instant taps #define TAP_CODE_DELAY 1 // without a slight delay, the RP2040 doesn't register instant taps
/* Encoder Configuration */ /* Encoder Configuration */
#define ENCODERS_PAD_A { GP7, GP27, GP4 } #define ENCODER_A_PINS { GP7, GP27, GP4 }
#define ENCODERS_PAD_A_RIGHT { GP27, GP7, GP5 } #define ENCODER_A_PINS_RIGHT { GP27, GP7, GP5 }
#define ENCODERS_PAD_B { GP6, GP28, GP5 } #define ENCODER_B_PINS { GP6, GP28, GP5 }
#define ENCODERS_PAD_B_RIGHT { GP26, GP6, GP4 } #define ENCODER_B_PINS_RIGHT { GP26, GP6, GP4 }
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW

View file

@ -24,8 +24,8 @@
#define UNUSED_PINS #define UNUSED_PINS
/* encoder */ /* encoder */
#define ENCODERS_PAD_A { D3 } #define ENCODER_A_PINS { D3 }
#define ENCODERS_PAD_B { D2 } #define ENCODER_B_PINS { D2 }
#define ENCODER_RESOLUTION 1 #define ENCODER_RESOLUTION 1
#define USB_POLLING_INTERVAL_MS 1 #define USB_POLLING_INTERVAL_MS 1

View file

@ -3,5 +3,5 @@
#pragma once #pragma once
#define ENCODERS_PAD_A { GP0 } #define ENCODER_A_PINS { GP0 }
#define ENCODERS_PAD_B { GP1 } #define ENCODER_B_PINS { GP1 }

View file

@ -16,8 +16,8 @@
/* key matrix pins */ /* key matrix pins */
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 } #define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
#define MATRIX_COL_PINS { F7, F6, F5, F4 } #define MATRIX_COL_PINS { F7, F6, F5, F4 }
#define ENCODERS_PAD_A { D6 } #define ENCODER_A_PINS { D6 }
#define ENCODERS_PAD_B { D7 } #define ENCODER_B_PINS { D7 }
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */