aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ivy/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ivy/config.h')
-rw-r--r--keyboards/ivy/config.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/keyboards/ivy/config.h b/keyboards/ivy/config.h
new file mode 100644
index 000000000..1e6f5bc96
--- /dev/null
+++ b/keyboards/ivy/config.h
@@ -0,0 +1,67 @@
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#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x1337
23#define PRODUCT_ID 0x6012
24#define MANUFACTURER Maple Computing
25#define PRODUCT Ivy
26#define DESCRIPTION A 3 key macro pad
27
28/* key matrix size */
29#define MATRIX_ROWS 3
30#define MATRIX_COLS 3
31
32/* COL2ROW or ROW2COL */
33#define DIODE_DIRECTION COL2ROW
34
35/* define if matrix has ghost */
36//#define MATRIX_HAS_GHOST
37
38/* Set 0 if debouncing isn't needed */
39#define DEBOUNCE 5
40
41/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
42#define LOCKING_SUPPORT_ENABLE
43/* Locking resynchronize hack */
44#define LOCKING_RESYNC_ENABLE
45
46#define BACKLIGHT_PIN D2
47
48/* number of backlight levels */
49#define BACKLIGHT_LEVELS 3
50
51/*
52 * Feature disable options
53 * These options are also useful to firmware size reduction.
54 */
55
56/* disable debug print */
57//#define NO_DEBUG
58
59/* disable print */
60//#define NO_PRINT
61
62/* disable action features */
63//#define NO_ACTION_LAYER
64//#define NO_ACTION_TAPPING
65//#define NO_ACTION_ONESHOT
66//#define NO_ACTION_MACRO
67//#define NO_ACTION_FUNCTION