summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-11-29 15:08:20 +0000
committerGitHub <noreply@github.com>2021-11-29 15:08:20 +0000
commitdb04899a4a7cc39665c63e9639a60ea4e1d96bab (patch)
treee748a744fe384ccd2b334e57604598d87a85bd3e
parent84b8cdc1a43245d24b232bc8e28cca7f1183d676 (diff)
Remove unnecessary ENCODER_DIRECTION_FLIP at keyboard level (#15342)
-rw-r--r--keyboards/0xcb/1337/config.h5
-rw-r--r--keyboards/absinthe/config.h6
-rw-r--r--keyboards/aplyard/aplx6/rev2/config.h5
-rw-r--r--keyboards/basketweave/config.h5
-rwxr-xr-xkeyboards/keysofkings/twokey/config.h5
-rw-r--r--keyboards/makrosu/config.h5
-rw-r--r--keyboards/ramonimbao/herringbone/pro/config.h6
-rw-r--r--keyboards/space_space/rev2/config.h5
-rw-r--r--keyboards/synapse/config.h5
-rw-r--r--keyboards/z12/config.h5
10 files changed, 20 insertions, 32 deletions
diff --git a/keyboards/0xcb/1337/config.h b/keyboards/0xcb/1337/config.h
index 21332c5585..d134d1ab49 100644
--- a/keyboards/0xcb/1337/config.h
+++ b/keyboards/0xcb/1337/config.h
@@ -37,10 +37,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ E6, B4, B2 } \
}
#define TAP_CODE_DELAY 10
-#define ENCODER_DIRECTION_FLIP
#define ENCODER_RESOLUTION 4
-#define ENCODERS_PAD_A { F5 }
-#define ENCODERS_PAD_B { F6 }
+#define ENCODERS_PAD_A { F6 }
+#define ENCODERS_PAD_B { F5 }
#define BACKLIGHT_PIN B5
#define BACKLIGHT_BREATHING
diff --git a/keyboards/absinthe/config.h b/keyboards/absinthe/config.h
index 3000a4b8a1..d6acd350cc 100644
--- a/keyboards/absinthe/config.h
+++ b/keyboards/absinthe/config.h
@@ -44,10 +44,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, D3, D0 }
#define UNUSED_PINS
-#define ENCODERS_PAD_A { D5 }
-#define ENCODERS_PAD_B { B7 }
-
-#define ENCODER_DIRECTION_FLIP
+#define ENCODERS_PAD_A { B7 }
+#define ENCODERS_PAD_B { D5 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/aplyard/aplx6/rev2/config.h b/keyboards/aplyard/aplx6/rev2/config.h
index b4bb7d62ad..2b30e67e09 100644
--- a/keyboards/aplyard/aplx6/rev2/config.h
+++ b/keyboards/aplyard/aplx6/rev2/config.h
@@ -41,9 +41,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TERM 200
/* Encoder */
-#define ENCODERS_PAD_A { F4 }
-#define ENCODERS_PAD_B { F5 }
+#define ENCODERS_PAD_A { F5 }
+#define ENCODERS_PAD_B { F4 }
#define ENCODER_RESOLUTION 4
-#define ENCODER_DIRECTION_FLIP
#define TAP_CODE_DELAY 50
diff --git a/keyboards/basketweave/config.h b/keyboards/basketweave/config.h
index afe66c6b14..cdaffe4ca3 100644
--- a/keyboards/basketweave/config.h
+++ b/keyboards/basketweave/config.h
@@ -50,10 +50,9 @@
*/
// #define GRAVE_ESC_CTRL_OVERRIDE
-#define ENCODERS_PAD_A { D7 }
-#define ENCODERS_PAD_B { C0 }
+#define ENCODERS_PAD_A { C0 }
+#define ENCODERS_PAD_B { D7 }
#define ENCODER_RESOLUTION 4
-#define ENCODER_DIRECTION_FLIP
#define TAP_CODE_DELAY 10
/* Bootmagic Lite key configuration */
diff --git a/keyboards/keysofkings/twokey/config.h b/keyboards/keysofkings/twokey/config.h
index 9b77fa73e2..29612187f8 100755
--- a/keyboards/keysofkings/twokey/config.h
+++ b/keyboards/keysofkings/twokey/config.h
@@ -35,10 +35,9 @@
#define UNUSED_PINS
-#define ENCODERS_PAD_A { E6 }
-#define ENCODERS_PAD_B { D7 }
+#define ENCODERS_PAD_A { D7 }
+#define ENCODERS_PAD_B { E6 }
#define ENCODER_RESOLUTION 1
-#define ENCODER_DIRECTION_FLIP
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/makrosu/config.h b/keyboards/makrosu/config.h
index 8a5214fe68..b587477f8a 100644
--- a/keyboards/makrosu/config.h
+++ b/keyboards/makrosu/config.h
@@ -34,9 +34,8 @@
#define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5}
#define UNUSED_PINS
-#define ENCODERS_PAD_A { D1 }
-#define ENCODERS_PAD_B { E6 }
-#define ENCODER_DIRECTION_FLIP
+#define ENCODERS_PAD_A { E6 }
+#define ENCODERS_PAD_B { D1 }
#define TAP_CODE_DELAY 10
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/ramonimbao/herringbone/pro/config.h b/keyboards/ramonimbao/herringbone/pro/config.h
index 25249456f9..20f92282b0 100644
--- a/keyboards/ramonimbao/herringbone/pro/config.h
+++ b/keyboards/ramonimbao/herringbone/pro/config.h
@@ -48,10 +48,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
/* Encoder pin assignment */
-#define ENCODERS_PAD_A { C3 }
-#define ENCODERS_PAD_B { C2 }
-
-#define ENCODER_DIRECTION_FLIP
+#define ENCODERS_PAD_A { C2 }
+#define ENCODERS_PAD_B { C3 }
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
diff --git a/keyboards/space_space/rev2/config.h b/keyboards/space_space/rev2/config.h
index 66f8f6add4..bb8f04da2b 100644
--- a/keyboards/space_space/rev2/config.h
+++ b/keyboards/space_space/rev2/config.h
@@ -41,12 +41,11 @@
/* ROTARY ENCODERS */
#define ENCODERS_PAD_A \
- { D7, F7 }
-#define ENCODERS_PAD_B \
{ B4, C7 }
+#define ENCODERS_PAD_B \
+ { D7, F7 }
#define ENCODER_RESOLUTION 3
-#define ENCODER_DIRECTION_FLIP
#define DEBOUNCE 5
diff --git a/keyboards/synapse/config.h b/keyboards/synapse/config.h
index 82a0aadea5..809194afe8 100644
--- a/keyboards/synapse/config.h
+++ b/keyboards/synapse/config.h
@@ -41,12 +41,11 @@
/* ROTARY ENCODERS */
#define ENCODERS_PAD_A \
- { D6, C6 }
-#define ENCODERS_PAD_B \
{ D7, C7 }
+#define ENCODERS_PAD_B \
+ { D6, C6 }
#define ENCODER_RESOLUTION 4
-#define ENCODER_DIRECTION_FLIP
#define DEBOUNCE 5
diff --git a/keyboards/z12/config.h b/keyboards/z12/config.h
index 7f897b795d..68aff7acf7 100644
--- a/keyboards/z12/config.h
+++ b/keyboards/z12/config.h
@@ -25,9 +25,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MANUFACTURER zigotica
#define PRODUCT z12
-#define ENCODERS_PAD_A { B4, B2 }
-#define ENCODERS_PAD_B { B5, B6 }
-#define ENCODER_DIRECTION_FLIP
+#define ENCODERS_PAD_A { B5, B6 }
+#define ENCODERS_PAD_B { B4, B2 }
/* key matrix size */
#define MATRIX_ROWS 4