Browse Source

Fix MATRIX_COLS for peranekofactory/tone (#13632)

pull/13637/head
Ryan 2 years ago
committed by GitHub
parent
commit
c79bc7c909
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 16 deletions
  1. +3
    -9
      keyboards/peranekofactory/tone/rev1/config.h
  2. +2
    -7
      keyboards/peranekofactory/tone/rev2/config.h

+ 3
- 9
keyboards/peranekofactory/tone/rev1/config.h View File

@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 10
#define MATRIX_COLS 8
/*
* Keyboard Matrix Assignments
@ -42,19 +42,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define DIRECT_PINS { \
{ D4, C6, D7, E6, F6, F7, B1, B3 } \
{ D4, C6, D7, E6, F6, F7, B1, B3 } \
}
#define UNUSED_PINS
/*
#define MATRIX_ROW_PINS { NO_PIN }
#define MATRIX_COL_PINS { F6,F7,B1,B3,D4,C6,D7,E6 }
#define UNUSED_PINS
*/
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Rotary encoder define*/
#define ENCODERS_PAD_A { B5 }
#define ENCODERS_PAD_B { B4 }


+ 2
- 7
keyboards/peranekofactory/tone/rev2/config.h View File

@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 10
#define MATRIX_COLS 8
/*
* Keyboard Matrix Assignments
@ -42,13 +42,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define DIRECT_PINS { \
{ D4,C6,D7,E6,F6,F7,B1,B3 } \
{ D4, C6, D7, E6, F6, F7, B1, B3 } \
}
/*
#define MATRIX_ROW_PINS { NO_PIN }
#define MATRIX_COL_PINS { D4,C6,D7,E6,F6,F7,B1,B3 }
*/
#define UNUSED_PINS
/* COL2ROW, ROW2COL */


Loading…
Cancel
Save