aboutsummaryrefslogtreecommitdiff
path: root/keyboard/clueboard2/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/clueboard2/config.h')
-rw-r--r--keyboard/clueboard2/config.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/keyboard/clueboard2/config.h b/keyboard/clueboard2/config.h
index 04166c20f..2887519af 100644
--- a/keyboard/clueboard2/config.h
+++ b/keyboard/clueboard2/config.h
@@ -32,19 +32,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
32#define MATRIX_ROWS 10 32#define MATRIX_ROWS 10
33#define MATRIX_COLS 8 33#define MATRIX_COLS 8
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 5 6 7 8 9
38* pin: B2 C7 C6 B6 B5 B0 B3 D5 D3 D2
39*/
40#define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
37/* Column pin configuration 41/* Column pin configuration
38 * col: 0 1 2 3 4 5 6 7 42 * col: 0 1 2 3 4 5 6 7
39 * pin: F0 F1 F4 F5 F6 F7 E6 B1 43 * pin: F0 F1 F4 F5 F6 F7 E6 B1
40 */ 44 */
41#define COLS (int []){ F0, F1, F4, F5, F6, F7, E6, B1 } 45#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 }
42 46#define UNUSED_PINS
43 /* Row pin configuration
44 * row: 0 1 2 3 4 5 6 7 8 9
45 * pin: B2 C7 C6 B6 B5 B0 B3 D5 D3 D2
46 */
47#define ROWS (int []){ B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
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