aboutsummaryrefslogtreecommitdiff
path: root/keyboards/acekeyboard/titan60/config.h
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-04-10 12:13:40 +0100
committerAkshay <[email protected]>2022-04-10 12:13:40 +0100
commitdc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch)
tree4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/acekeyboard/titan60/config.h
Diffstat (limited to 'keyboards/acekeyboard/titan60/config.h')
-rw-r--r--keyboards/acekeyboard/titan60/config.h86
1 files changed, 86 insertions, 0 deletions
diff --git a/keyboards/acekeyboard/titan60/config.h b/keyboards/acekeyboard/titan60/config.h
new file mode 100644
index 000000000..67d02c98e
--- /dev/null
+++ b/keyboards/acekeyboard/titan60/config.h
@@ -0,0 +1,86 @@
1/*
2Copyright 2020 MechMerlin
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xACE1 // Ace
24#define PRODUCT_ID 0x5449 // TI
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Acekeyboard
27#define PRODUCT titan60
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 14
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42 */
43
44
45// 0 1 2 3 4 5 6 7 8 9 A B C D
46#define MATRIX_ROW_PINS { B1, B2, B3, F0, F1 }
47#define MATRIX_COL_PINS { F4, F7, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3}
48#define UNUSED_PINS
49
50/* COL2ROW, ROW2COL */
51#define DIODE_DIRECTION COL2ROW
52
53/*
54 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
55 */
56// #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
57
58#define BACKLIGHT_PIN B7
59#define BACKLIGHT_LEVELS 3
60#define BACKLIGHT_BREATHING
61
62#define RGB_DI_PIN D0
63#ifdef RGB_DI_PIN
64# define RGBLED_NUM 6
65# define RGBLIGHT_HUE_STEP 8
66# define RGBLIGHT_SAT_STEP 8
67# define RGBLIGHT_VAL_STEP 8
68# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
69# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
70# define RGBLIGHT_ANIMATIONS
71#endif
72
73/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
74#define DEBOUNCE 5
75
76/* define if matrix has ghost (lacks anti-ghosting diodes) */
77//#define MATRIX_HAS_GHOST
78
79/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
80#define LOCKING_SUPPORT_ENABLE
81/* Locking resynchronize hack */
82#define LOCKING_RESYNC_ENABLE
83
84
85#define NO_ACTION_MACRO
86#define NO_ACTION_FUNCTION