aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hadron/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hadron/config.h')
-rw-r--r--keyboards/hadron/config.h83
1 files changed, 83 insertions, 0 deletions
diff --git a/keyboards/hadron/config.h b/keyboards/hadron/config.h
new file mode 100644
index 000000000..0c19d6c79
--- /dev/null
+++ b/keyboards/hadron/config.h
@@ -0,0 +1,83 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
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#ifndef CONFIG_H
19#define CONFIG_H
20
21#include "config_common.h"
22
23/* USB Device descriptor parameter */
24#define VENDOR_ID 0xFEED
25#define PRODUCT_ID 0x6060
26#define MANUFACTURER ishtob
27#define PRODUCT Hadron Keyboard
28#define DESCRIPTION A cherry ML ortholinear keyboard
29
30
31
32
33//#define AUDIO_VOICES
34
35//#define BACKLIGHT_PIN B7
36
37/* COL2ROW or ROW2COL */
38#define DIODE_DIRECTION COL2ROW
39
40/* define if matrix has ghost */
41//#define MATRIX_HAS_GHOST
42
43/* number of backlight levels */
44//#define BACKLIGHT_LEVELS 3
45
46/* Set 0 if debouncing isn't needed */
47#define DEBOUNCING_DELAY 5
48
49/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
50#define LOCKING_SUPPORT_ENABLE
51/* Locking resynchronize hack */
52#define LOCKING_RESYNC_ENABLE
53
54/* key combination for command */
55#define IS_COMMAND() ( \
56 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
57)
58
59/*
60 * Feature disable options
61 * These options are also useful to firmware size reduction.
62 */
63
64/* disable debug print */
65//#define NO_DEBUG
66
67/* disable print */
68//#define NO_PRINT
69
70/* disable action features */
71//#define NO_ACTION_LAYER
72//#define NO_ACTION_TAPPING
73//#define NO_ACTION_ONESHOT
74//#define NO_ACTION_MACRO
75//#define NO_ACTION_FUNCTION
76#ifdef SUBPROJECT_ver0
77 #include "ver0/config.h"
78#endif
79#ifdef SUBPROJECT_ver2
80 #include "ver2/config.h"
81#endif
82
83#endif