aboutsummaryrefslogtreecommitdiff
path: root/keyboards/reversestudio/decadepad/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/reversestudio/decadepad/config.h')
-rw-r--r--keyboards/reversestudio/decadepad/config.h81
1 files changed, 81 insertions, 0 deletions
diff --git a/keyboards/reversestudio/decadepad/config.h b/keyboards/reversestudio/decadepad/config.h
new file mode 100644
index 000000000..0e6622daa
--- /dev/null
+++ b/keyboards/reversestudio/decadepad/config.h
@@ -0,0 +1,81 @@
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#pragma once
19
20#include "config_common.h"
21
22
23/* USB Device descriptor parameter */
24#define VENDOR_ID 0x5253
25#define PRODUCT_ID 0x4450
26#define DEVICE_VER 0x0001
27#define MANUFACTURER ReverseStudio
28#define PRODUCT DecadePad
29#define DESCRIPTION 6x4Pad
30
31/* key matrix size */
32#define MATRIX_ROWS 6
33#define MATRIX_COLS 4
34
35/* NIU Mini PCB default pin-out */
36#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 }
37#define MATRIX_COL_PINS { D0, D1, D2, D3 }
38#define UNUSED_PINS
39
40/* COL2ROW or ROW2COL */
41#define DIODE_DIRECTION COL2ROW
42
43/* define if matrix has ghost */
44//#define MATRIX_HAS_GHOST
45
46/* number of backlight levels */
47/* Set 0 if debouncing isn't needed */
48#define DEBOUNCE 5
49
50/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
51#define LOCKING_SUPPORT_ENABLE
52
53/* Locking resynchronize hack */
54#define LOCKING_RESYNC_ENABLE
55
56#define RGB_DI_PIN D5
57#ifdef RGB_DI_PIN
58 #define RGBLIGHT_ANIMATIONS
59 #define RGBLED_NUM 20
60 #define RGBLIGHT_HUE_STEP 8
61 #define RGBLIGHT_SAT_STEP 8
62 #define RGBLIGHT_VAL_STEP 8
63#endif
64
65/*
66 * Feature disable options
67 * These options are also useful to firmware size reduction.
68 */
69
70/* disable debug print */
71//#define NO_DEBUG
72
73/* disable print */
74//#define NO_PRINT
75
76/* disable action features */
77//#define NO_ACTION_LAYER
78//#define NO_ACTION_TAPPING
79//#define NO_ACTION_ONESHOT
80//#define NO_ACTION_MACRO
81//#define NO_ACTION_FUNCTION \ No newline at end of file