diff options
Diffstat (limited to 'keyboard/cluepad/config.h')
| -rw-r--r-- | keyboard/cluepad/config.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/keyboard/cluepad/config.h b/keyboard/cluepad/config.h index 5ed421a6e..0955e0f70 100644 --- a/keyboard/cluepad/config.h +++ b/keyboard/cluepad/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 4 | 33 | #define MATRIX_COLS 4 |
| 34 | 34 | ||
| 35 | // COLS: Left to right, ROWS: Top to bottom | 35 | // ROWS: Top to bottom, COLS: Left to right |
| 36 | 36 | /* Row pin configuration | |
| 37 | * row: 0 1 2 3 4 | ||
| 38 | * pin: | ||
| 39 | */ | ||
| 40 | #define MATRIX_ROW_PINS { B0, D3, D5, D4, D6 } | ||
| 37 | /* Column pin configuration | 41 | /* Column pin configuration |
| 38 | * col: 0 1 2 3 | 42 | * col: 0 1 2 3 |
| 39 | * pin: F4 E6 B1 D2 | 43 | * pin: F4 E6 B1 D2 |
| 40 | */ | 44 | */ |
| 41 | #define COLS (int []){ F4, E6, B1, D2 } | 45 | #define MATRIX_COL_PINS { F4, E6, B1, D2 } |
| 42 | 46 | #define UNUSED_PINS | |
| 43 | /* Row pin configuration | ||
| 44 | * row: 0 1 2 3 4 | ||
| 45 | * pin: | ||
| 46 | */ | ||
| 47 | #define ROWS (int []){ B0, D3, D5, D4, D6 } | ||
| 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 | /* Number of backlighting levels */ | 57 | /* Number of backlighting levels */ |
| 59 | #define BACKLIGHT_LEVELS 3 | 58 | #define BACKLIGHT_LEVELS 3 |
