aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-07-22 04:28:58 +1000
committerGitHub <noreply@github.com>2021-07-21 19:28:58 +0100
commitc79bc7c9094b7bed26450e85040df6ef91239aed (patch)
tree90f55f305483e44bc82e0501f0469385036ba6ba
parent2b260bd84627b808c237226b8c65ac518f5fae93 (diff)
downloadqmk_firmware-c79bc7c9094b7bed26450e85040df6ef91239aed.tar.gz
qmk_firmware-c79bc7c9094b7bed26450e85040df6ef91239aed.zip
Fix MATRIX_COLS for peranekofactory/tone (#13632)
-rw-r--r--keyboards/peranekofactory/tone/rev1/config.h12
-rw-r--r--keyboards/peranekofactory/tone/rev2/config.h9
2 files changed, 5 insertions, 16 deletions
diff --git a/keyboards/peranekofactory/tone/rev1/config.h b/keyboards/peranekofactory/tone/rev1/config.h
index 22658c9c7..54a59ed55 100644
--- a/keyboards/peranekofactory/tone/rev1/config.h
+++ b/keyboards/peranekofactory/tone/rev1/config.h
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
28 28
29/* key matrix size */ 29/* key matrix size */
30#define MATRIX_ROWS 1 30#define MATRIX_ROWS 1
31#define MATRIX_COLS 10 31#define MATRIX_COLS 8
32 32
33/* 33/*
34 * Keyboard Matrix Assignments 34 * Keyboard Matrix Assignments
@@ -42,19 +42,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
42 */ 42 */
43 43
44#define DIRECT_PINS { \ 44#define DIRECT_PINS { \
45 { D4, C6, D7, E6, F6, F7, B1, B3 } \ 45 { D4, C6, D7, E6, F6, F7, B1, B3 } \
46} 46}
47#define UNUSED_PINS 47#define UNUSED_PINS
48 48
49/*
50#define MATRIX_ROW_PINS { NO_PIN }
51#define MATRIX_COL_PINS { F6,F7,B1,B3,D4,C6,D7,E6 }
52#define UNUSED_PINS
53*/
54
55/* COL2ROW, ROW2COL */ 49/* COL2ROW, ROW2COL */
56#define DIODE_DIRECTION COL2ROW 50#define DIODE_DIRECTION COL2ROW
57 51
58/* Rotary encoder define*/ 52/* Rotary encoder define*/
59#define ENCODERS_PAD_A { B5 } 53#define ENCODERS_PAD_A { B5 }
60#define ENCODERS_PAD_B { B4 } 54#define ENCODERS_PAD_B { B4 }
diff --git a/keyboards/peranekofactory/tone/rev2/config.h b/keyboards/peranekofactory/tone/rev2/config.h
index f49c38e4b..54a59ed55 100644
--- a/keyboards/peranekofactory/tone/rev2/config.h
+++ b/keyboards/peranekofactory/tone/rev2/config.h
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
28 28
29/* key matrix size */ 29/* key matrix size */
30#define MATRIX_ROWS 1 30#define MATRIX_ROWS 1
31#define MATRIX_COLS 10 31#define MATRIX_COLS 8
32 32
33/* 33/*
34 * Keyboard Matrix Assignments 34 * Keyboard Matrix Assignments
@@ -42,13 +42,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
42 */ 42 */
43 43
44#define DIRECT_PINS { \ 44#define DIRECT_PINS { \
45 { D4,C6,D7,E6,F6,F7,B1,B3 } \ 45 { D4, C6, D7, E6, F6, F7, B1, B3 } \
46} 46}
47
48/*
49#define MATRIX_ROW_PINS { NO_PIN }
50#define MATRIX_COL_PINS { D4,C6,D7,E6,F6,F7,B1,B3 }
51*/
52#define UNUSED_PINS 47#define UNUSED_PINS
53 48
54/* COL2ROW, ROW2COL */ 49/* COL2ROW, ROW2COL */