aboutsummaryrefslogtreecommitdiff
path: root/keyboards/0_sixty/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/0_sixty/config.h')
-rw-r--r--keyboards/0_sixty/config.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/keyboards/0_sixty/config.h b/keyboards/0_sixty/config.h
new file mode 100644
index 000000000..fa371a54c
--- /dev/null
+++ b/keyboards/0_sixty/config.h
@@ -0,0 +1,68 @@
1/* Copyright 2020 Vinam Arora <[email protected]>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22
23#define VENDOR_ID 0x7654
24#define PRODUCT_ID 0x0060
25#define DEVICE_VER 0x0001
26
27#define MANUFACTURER ven0mtr0n
28#define PRODUCT 0-Sixty
29
30/* key matrix size */
31// Rows are doubled-up
32#define MATRIX_ROWS 5
33#define MATRIX_COLS 12
34#define MATRIX_ROW_PINS { B1, F7, F6, F5, F4 }
35#define MATRIX_COL_PINS { D3, D2, D1, D0, D4, C6, D7, E6, B4, B5, B3, B2 }
36#define UNUSED_PINS
37
38/* COL2ROW or ROW2COL */
39#define DIODE_DIRECTION COL2ROW
40
41/* Set 0 if debouncing isn't needed */
42#define DEBOUNCE 5
43
44/* indicator leds */
45#define LED_CAPS_LOCK_PIN B6
46
47/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
48#define LOCKING_SUPPORT_ENABLE
49/* Locking resynchronize hack */
50#define LOCKING_RESYNC_ENABLE
51
52/*
53 * Feature disable options
54 * These options are also useful to firmware size reduction.
55 */
56
57/* disable debug print */
58// #define NO_DEBUG
59
60/* disable print */
61// #define NO_PRINT
62
63/* disable action features */
64//#define NO_ACTION_LAYER
65//#define NO_ACTION_TAPPING
66//#define NO_ACTION_ONESHOT
67//#define NO_ACTION_MACRO
68//#define NO_ACTION_FUNCTION