diff options
Diffstat (limited to 'keyboard/clueboard1/config.h')
| -rw-r--r-- | keyboard/clueboard1/config.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/keyboard/clueboard1/config.h b/keyboard/clueboard1/config.h index 2b20c3873..16338ddb0 100644 --- a/keyboard/clueboard1/config.h +++ b/keyboard/clueboard1/config.h | |||
| @@ -32,19 +32,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define MATRIX_ROWS 5 | 32 | #define MATRIX_ROWS 5 |
| 33 | #define MATRIX_COLS 16 | 33 | #define MATRIX_COLS 16 |
| 34 | 34 | ||
| 35 | // COLS: Left to right, ROWS: Top to bottom | 35 | // ROWS: Top to bottom, COLS: Left to right |
| 36 | |||
| 37 | /* Column pin configuration | 36 | /* Column pin configuration |
| 38 | * col: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 37 | * col: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
| 39 | * pin: B3 F1 F4 F5 F6 C7 C6 B6 B5 B4 D7 D6 D4 F7 B0 B1 | 38 | * pin: B3 F1 F4 F5 F6 C7 C6 B6 B5 B4 D7 D6 D4 F7 B0 B1 |
| 40 | */ | 39 | */ |
| 41 | #define COLS (int []){ B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 } | 40 | #define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 } |
| 42 | 41 | /* Row pin configuration | |
| 43 | /* Row pin configuration | 42 | * row: 0 1 2 3 4 |
| 44 | * row: 0 1 2 3 4 | 43 | * pin: D1 D0 D2 D5 D3 |
| 45 | * pin: D1 D0 D2 D5 D3 | 44 | */ |
| 46 | */ | 45 | #define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 } |
| 47 | #define ROWS (int []){ D1, D0, D2, D5, D3 } | 46 | #define UNUSED_PINS |
| 48 | 47 | ||
| 49 | /* COL2ROW or ROW2COL */ | 48 | /* COL2ROW or ROW2COL */ |
| 50 | #define DIODE_DIRECTION COL2ROW | 49 | #define DIODE_DIRECTION COL2ROW |
| @@ -53,7 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | //#define MATRIX_HAS_GHOST | 52 | //#define MATRIX_HAS_GHOST |
| 54 | 53 | ||
| 55 | /* Set 0 if debouncing isn't needed */ | 54 | /* Set 0 if debouncing isn't needed */ |
| 56 | #define DEBOUNCE 5 | 55 | #define DEBOUNCING_DELAY 5 |
| 57 | 56 | ||
| 58 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 57 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 59 | #define LOCKING_SUPPORT_ENABLE | 58 | #define LOCKING_SUPPORT_ENABLE |
