Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove matrix size defines #19581

Merged
merged 33 commits into from
Feb 17, 2023
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1420b75
Remove `MATRIX_ROWS`/`MATRIX_COLS`, 0-9
fauxpark Jan 13, 2023
14daea2
Remove `MATRIX_ROWS`/`MATRIX_COLS`, A
fauxpark Jan 13, 2023
fd2f6b9
Remove `MATRIX_ROWS`/`MATRIX_COLS`, B
fauxpark Jan 13, 2023
1b3c908
Remove `MATRIX_ROWS`/`MATRIX_COLS`, C
fauxpark Jan 13, 2023
8f05a90
Remove `MATRIX_ROWS`/`MATRIX_COLS`, D
fauxpark Jan 13, 2023
e0cbbe2
Remove `MATRIX_ROWS`/`MATRIX_COLS`, E
fauxpark Jan 13, 2023
c39ccde
Remove `MATRIX_ROWS`/`MATRIX_COLS`, F
fauxpark Jan 13, 2023
5582e97
Remove `MATRIX_ROWS`/`MATRIX_COLS`, G
fauxpark Jan 13, 2023
f69e75b
Remove `MATRIX_ROWS`/`MATRIX_COLS`, H
fauxpark Jan 13, 2023
2aad422
Remove `MATRIX_ROWS`/`MATRIX_COLS`, handwired
fauxpark Jan 13, 2023
f0abf24
Remove `MATRIX_ROWS`/`MATRIX_COLS`, I
fauxpark Jan 13, 2023
b13f49a
Remove `MATRIX_ROWS`/`MATRIX_COLS`, J
fauxpark Jan 13, 2023
751f30f
Remove `MATRIX_ROWS`/`MATRIX_COLS`, K
fauxpark Jan 13, 2023
69dc0c1
Remove `MATRIX_ROWS`/`MATRIX_COLS`, L
fauxpark Jan 13, 2023
8664f71
Remove `MATRIX_ROWS`/`MATRIX_COLS`, M
fauxpark Jan 13, 2023
c767887
Remove `MATRIX_ROWS`/`MATRIX_COLS`, N
fauxpark Jan 13, 2023
892305c
Remove `MATRIX_ROWS`/`MATRIX_COLS`, O
fauxpark Jan 13, 2023
0fffe2b
Remove `MATRIX_ROWS`/`MATRIX_COLS`, P
fauxpark Jan 13, 2023
a024bf6
Remove `MATRIX_ROWS`/`MATRIX_COLS`, Q
fauxpark Jan 13, 2023
6ca7341
Remove `MATRIX_ROWS`/`MATRIX_COLS`, R
fauxpark Jan 13, 2023
1fff26f
Remove `MATRIX_ROWS`/`MATRIX_COLS`, S
fauxpark Jan 13, 2023
61579f8
Remove `MATRIX_ROWS`/`MATRIX_COLS`, T
fauxpark Jan 13, 2023
419fb79
Remove `MATRIX_ROWS`/`MATRIX_COLS`, U
fauxpark Jan 13, 2023
c44df50
Remove `MATRIX_ROWS`/`MATRIX_COLS`, V
fauxpark Jan 13, 2023
3942aad
Remove `MATRIX_ROWS`/`MATRIX_COLS`, W
fauxpark Jan 13, 2023
10f019e
Remove `MATRIX_ROWS`/`MATRIX_COLS`, X
fauxpark Jan 13, 2023
d81f3f8
Remove `MATRIX_ROWS`/`MATRIX_COLS`, Y
fauxpark Jan 13, 2023
b999b2f
Remove `MATRIX_ROWS`/`MATRIX_COLS`, Z
fauxpark Jan 13, 2023
5460622
Merge branch 'develop' into remove-matrix-size-defines
fauxpark Jan 20, 2023
863e47f
Merge remote-tracking branch 'upstream/develop' into remove-matrix-si…
fauxpark Feb 3, 2023
26d7556
Merge branch 'develop' into remove-matrix-size-defines
fauxpark Feb 4, 2023
e838e77
Merge branch 'develop' into remove-matrix-size-defines
fauxpark Feb 7, 2023
4e8af6f
Merge branch 'develop' into remove-matrix-size-defines
fauxpark Feb 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
4 changes: 0 additions & 4 deletions keyboards/0xcb/1337/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/>.

// clang-format off

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

/* Keyboard Matrix Assignments */
#define DIRECT_PINS { \
{ D2, D4, F4 }, \
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
4 changes: 0 additions & 4 deletions keyboards/0xcb/tutelpad/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 2
#define MATRIX_COLS 4

/*
* 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/1k/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
#pragma once


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

/*
* Keyboard Matrix Assignments
*
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
4 changes: 0 additions & 4 deletions keyboards/25keys/cassette42/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 1
#define MATRIX_COLS 6

#define DIRECT_PINS {{ B4, F6, F5, F4, B5, F7 }}

#define ENCODERS_PAD_A { B6, B3 }
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/4pack/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 1
#define MATRIX_COLS 4

/*
* 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/nano/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 2
#define MATRIX_COLS 4

/*
* Keyboard Matrix Assignments
*
Expand Down
Loading