aboutsummaryrefslogtreecommitdiff
path: root/keyboards/clueboard/66/rev1/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/clueboard/66/rev1/config.h')
-rw-r--r--keyboards/clueboard/66/rev1/config.h59
1 files changed, 44 insertions, 15 deletions
diff --git a/keyboards/clueboard/66/rev1/config.h b/keyboards/clueboard/66/rev1/config.h
index 210718d56..a35c0d0f6 100644
--- a/keyboards/clueboard/66/rev1/config.h
+++ b/keyboards/clueboard/66/rev1/config.h
@@ -1,28 +1,60 @@
1#ifndef CLUEBOARD_66_REV1_CONFIG_H 1#pragma once
2#define CLUEBOARD_66_REV1_CONFIG_H
3 2
4#include "config_common.h" 3#include "config_common.h"
5 4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xC1ED
6#define PRODUCT_ID 0x2301 7#define PRODUCT_ID 0x2301
7#define DEVICE_VER 0x0003 8#define DEVICE_VER 0x0003
9#define MANUFACTURER Clueboard
10#define PRODUCT Clueboard
11#define DESCRIPTION QMK keyboard firmware for Clueboard
8 12
9/* key matrix size */ 13/* key matrix size
14 */
10#define MATRIX_ROWS 5 15#define MATRIX_ROWS 5
11#define MATRIX_COLS 16 16#define MATRIX_COLS 16
12 17
13// ROWS: Top to bottom, COLS: Left to right 18/* ROWS: Top to bottom, COLS: Left to right
14/* Column pin configuration 19 */
15* col: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
16* pin: B3 F1 F4 F5 F6 C7 C6 B6 B5 B4 D7 D6 D4 F7 B0 B1
17*/
18#define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 } 20#define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 }
19/* Row pin configuration
20* row: 0 1 2 3 4
21* pin: D1 D0 D2 D5 D3
22*/
23#define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 } 21#define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 }
24#define UNUSED_PINS 22#define UNUSED_PINS
25 23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/* Set 0 if debouncing isn't needed */
28#define DEBOUNCING_DELAY 5
29
30/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
31#define LOCKING_SUPPORT_ENABLE
32/* Locking resynchronize hack */
33#define LOCKING_RESYNC_ENABLE
34
35/* key combination for command */
36#define IS_COMMAND() ( \
37 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
38)
39
40/*
41 * Feature disable options
42 * These options are also useful to firmware size reduction.
43 */
44
45/* disable debug print */
46//#define NO_DEBUG
47
48/* disable print */
49//#define NO_PRINT
50
51/* disable action features */
52//#define NO_ACTION_LAYER
53//#define NO_ACTION_TAPPING
54//#define NO_ACTION_ONESHOT
55//#define NO_ACTION_MACRO
56//#define NO_ACTION_FUNCTION
57
26/* Underlight configuration 58/* Underlight configuration
27 */ 59 */
28#define RGB_DI_PIN B2 60#define RGB_DI_PIN B2
@@ -31,6 +63,3 @@
31#define RGBLIGHT_HUE_STEP 10 63#define RGBLIGHT_HUE_STEP 10
32#define RGBLIGHT_SAT_STEP 17 64#define RGBLIGHT_SAT_STEP 17
33#define RGBLIGHT_VAL_STEP 17 65#define RGBLIGHT_VAL_STEP 17
34
35
36#endif