aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-07-21 18:30:35 +0000
committerQMK Bot <hello@qmk.fm>2021-07-21 18:30:35 +0000
commit874a3df950ddb61752f3395bb15d9c6c9630d2de (patch)
treeb8dc22720206b7aded75643ff02a18c6e3553543
parent201b4dc7ab01382fa0be560ea3f1c2e2b81e4b9d (diff)
parentb564ba13eef1564c871d062a6ce97c1ccdbbd825 (diff)
downloadqmk_firmware-874a3df950ddb61752f3395bb15d9c6c9630d2de.tar.gz
qmk_firmware-874a3df950ddb61752f3395bb15d9c6c9630d2de.zip
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/peranekofactory/tone/rev1/config.h12
-rw-r--r--keyboards/peranekofactory/tone/rev2/config.h9
-rw-r--r--keyboards/sekigon/grs_70ec/config.h2
-rw-r--r--keyboards/sekigon/grs_70ec/ec_switch_matrix.c12
4 files changed, 7 insertions, 28 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 */
diff --git a/keyboards/sekigon/grs_70ec/config.h b/keyboards/sekigon/grs_70ec/config.h
index aa740e777..b1559fcc2 100644
--- a/keyboards/sekigon/grs_70ec/config.h
+++ b/keyboards/sekigon/grs_70ec/config.h
@@ -45,7 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
45 * 45 *
46 */ 46 */
47#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } 47#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
48#define MATRIX_COL_PINS { S2, S1, S0, S3, S5, S7, S6, S4 } 48#define MATRIX_COL_CHANNELS { 2, 1, 0, 3, 5, 7, 6, 4 }
49#define UNUSED_PINS 49#define UNUSED_PINS
50#define DISCHARGE_PIN B1 50#define DISCHARGE_PIN B1
51#define ANALOG_PORT F6 51#define ANALOG_PORT F6
diff --git a/keyboards/sekigon/grs_70ec/ec_switch_matrix.c b/keyboards/sekigon/grs_70ec/ec_switch_matrix.c
index 88e9bdabd..d1c2d85ac 100644
--- a/keyboards/sekigon/grs_70ec/ec_switch_matrix.c
+++ b/keyboards/sekigon/grs_70ec/ec_switch_matrix.c
@@ -20,19 +20,9 @@
20#include "analog.h" 20#include "analog.h"
21#include "print.h" 21#include "print.h"
22 22
23// sensing channel definitions
24#define S0 0
25#define S1 1
26#define S2 2
27#define S3 3
28#define S4 4
29#define S5 5
30#define S6 6
31#define S7 7
32
33// pin connections 23// pin connections
34const uint8_t row_pins[] = MATRIX_ROW_PINS; 24const uint8_t row_pins[] = MATRIX_ROW_PINS;
35const uint8_t col_channels[] = MATRIX_COL_PINS; 25const uint8_t col_channels[] = MATRIX_COL_CHANNELS;
36const uint8_t mux_sel_pins[] = MUX_SEL_PINS; 26const uint8_t mux_sel_pins[] = MUX_SEL_PINS;
37 27
38_Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS"); 28_Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS");