Skip to content

Commit

Permalink
Remove matrix size defines (#19581)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Feb 17, 2023
1 parent 40ed20d commit 2da0827
Show file tree
Hide file tree
Showing 2,109 changed files with 0 additions and 8,522 deletions.
4 changes: 0 additions & 4 deletions keyboards/0_sixty/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#pragma once


/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 5
#define MATRIX_COLS 12
#define MATRIX_ROW_PINS { B1, F7, F6, F5, F4 }
#define MATRIX_COL_PINS { D3, D2, D1, D0, D4, C6, D7, E6, B4, B5, B3, B2 }

Expand Down
4 changes: 0 additions & 4 deletions keyboards/0xc7/61key/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once


/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14

/*
* Keyboard Matrix Assignments
*
Expand Down
5 changes: 0 additions & 5 deletions keyboards/0xcb/static/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

// clang-format off

/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 6


/*
* Keyboard Matrix Assignments
*
Expand Down
3 changes: 0 additions & 3 deletions keyboards/10bleoledhub/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 3
#define MATRIX_ROW_PINS { F0, F5, F4, F6 }
#define MATRIX_COL_PINS { D6, D7, B5 }

Expand Down
4 changes: 0 additions & 4 deletions keyboards/1upkeyboards/1up60hse/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once


/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/1upkeyboards/1up60hte/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once


/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 14

/* key matrix pins */
#define MATRIX_ROW_PINS { B3, B2, B1, B0, D4 }
#define MATRIX_COL_PINS { F6, F5, F4, F1, E6, D0, D1, D2, D3, D5, D6, D7, B4, B5 }
Expand Down
4 changes: 0 additions & 4 deletions keyboards/1upkeyboards/1up60rgb/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

/* key matrix pins */
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4 }
Expand Down
4 changes: 0 additions & 4 deletions keyboards/1upkeyboards/pi40/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
#define OLED_FONT_H "keyboards/1upkeyboards/pi40/lib/glcdfont.c"
#endif

/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12

#define DIODE_DIRECTION COL2ROW

#define MATRIX_ROW_PINS { GP21, GP20, GP19, GP18 }
Expand Down
4 changes: 0 additions & 4 deletions keyboards/1upkeyboards/super16/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 4

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/1upkeyboards/super16v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 4

#define MOUSEKEY_MOVE_DELTA 25

/*
Expand Down
5 changes: 0 additions & 5 deletions keyboards/1upkeyboards/sweet16/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 4

#define BACKLIGHT_LEVELS 10

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
Expand Down
4 changes: 0 additions & 4 deletions keyboards/25keys/aleth42/rev0/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 11

/* key matrix pins */
#define MATRIX_ROW_PINS { B0, B1, B2, B3 }
#define MATRIX_COL_PINS { D0, D1, D2, D3, D4, D5, D6, C2, C4, C5, C6 }
Expand Down
4 changes: 0 additions & 4 deletions keyboards/25keys/aleth42/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 11

/* key matrix pins */
#define MATRIX_ROW_PINS { B4, B0, B2, B1 }
#define MATRIX_COL_PINS { D5, D3, D2, D1, D0, D6, D4, F7, F0, F1, F4 }
Expand Down
6 changes: 0 additions & 6 deletions keyboards/25keys/zinc/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define MASTER_RIGHT
//#define EE_HANDS

/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 8
#define MATRIX_ROW_PINS { F6, F7, B1, B3 }

// wiring of each half
#define MATRIX_COLS 6
#define MATRIX_COL_PINS { F4, D4, C6, D7, E6, B4 }

#define DIODE_DIRECTION COL2ROW
Expand Down
6 changes: 0 additions & 6 deletions keyboards/25keys/zinc/reva/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define MASTER_RIGHT
//#define EE_HANDS

/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 8
#define MATRIX_ROW_PINS { D4, C6, D7, E6 }

// wiring of each half
#define MATRIX_COLS 6
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3}

#define DIODE_DIRECTION COL2ROW
Expand Down
4 changes: 0 additions & 4 deletions keyboards/2key2crawl/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 7

/* key matrix pins */
#define MATRIX_ROW_PINS { C4, C5 }
#define MATRIX_COL_PINS { B3, B4, B5, B6, B7, C7, B2 }
Expand Down
4 changes: 0 additions & 4 deletions keyboards/30wer/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 13

/* pcb default pin-out */
#define MATRIX_ROW_PINS { E6, B4, B5 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, D1, D0, D4, C6, D7 }
Expand Down
4 changes: 0 additions & 4 deletions keyboards/3keyecosystem/2key2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once


/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 2

/* Keyboard Matrix Assignments */
#define MATRIX_ROW_PINS { F6 }
#define MATRIX_COL_PINS { F4, D7 }
Expand Down
5 changes: 0 additions & 5 deletions keyboards/40percentclub/25/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
//#define MASTER_RIGHT
//#define EE_HANDS

/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 5*2
#define MATRIX_COLS 5

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/4x4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 16

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/5x5/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

/*
* Keyboard Matrix Assignments
*
Expand Down
5 changes: 0 additions & 5 deletions keyboards/40percentclub/6lit/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
//#define MASTER_RIGHT
//#define EE_HANDS

/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 2*2
#define MATRIX_COLS 3

/*
* Keyboard Matrix Assignments
*
Expand Down
5 changes: 0 additions & 5 deletions keyboards/40percentclub/foobar/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
//#define MASTER_RIGHT
//#define EE_HANDS

/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 3*2
#define MATRIX_COLS 5

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/gherkin/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 6

/* key matrix pins */
#define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
#define MATRIX_COL_PINS { B4, E6, D7, C6, D4, D0 }
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/half_n_half/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4*2
#define MATRIX_COLS 7

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/i75/promicro/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 9
#define MATRIX_COLS 9

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/i75/teensy2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 9
#define MATRIX_COLS 9

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/luddite/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8

/* key matrix pins */
#define MATRIX_ROW_PINS { D3, D2, D1, D0, D4, C6, D7, E6 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/mf68/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once


/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 9

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/nori/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12

/*
* Keyboard Matrix Assignments
*
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/polyandry/promicro/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 12

/* key matrix pins
* Direct pins is not used because there is not a shared ground position
* between all compatible microcontrollers.
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/polyandry/teensy2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 12

/* key matrix pins */

// Note from original contributor (ryjelsum):
Expand Down
4 changes: 0 additions & 4 deletions keyboards/40percentclub/tomato/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 6

/* key matrix pins */
#define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
#define MATRIX_COL_PINS { B4, E6, D7, C6, D4, D0 }
Expand Down
4 changes: 0 additions & 4 deletions keyboards/45_ats/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 14

#define ENCODERS_PAD_A { B4 }
#define ENCODERS_PAD_B { B5 }

Expand Down
4 changes: 0 additions & 4 deletions keyboards/4by3/config.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#pragma once


/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 4

/* key matrix pins */
#define MATRIX_ROW_PINS { D1, D0, D4 }
#define MATRIX_COL_PINS { C6, D7, E6, B4 }
Expand Down
Loading

0 comments on commit 2da0827

Please sign in to comment.