aboutsummaryrefslogtreecommitdiff
path: root/keyboards/amj40/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/amj40/config.h')
-rwxr-xr-xkeyboards/amj40/config.h88
1 files changed, 88 insertions, 0 deletions
diff --git a/keyboards/amj40/config.h b/keyboards/amj40/config.h
new file mode 100755
index 000000000..7fce43833
--- /dev/null
+++ b/keyboards/amj40/config.h
@@ -0,0 +1,88 @@
1/*
2Copyright 2012 Jun Wako <[email protected]>
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 0xFEED
24#define PRODUCT_ID 0x6072
25#define DEVICE_VER 0x0002
26#define MANUFACTURER Han Chen
27#define PRODUCT AMJ40
28
29/* key matrix size */
30#define MATRIX_ROWS 4
31#define MATRIX_COLS 12
32
33// ROWS: Top to bottom, COLS: Left to right
34
35#define MATRIX_ROW_PINS { F4, F5, F6, F7}
36#define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7}
37#define UNUSED_PINS
38
39#define LED_CAPS_LOCK_PIN B2
40#define LED_PIN_ON_STATE 0
41
42#define BACKLIGHT_PIN B6
43
44/* COL2ROW or ROW2COL */
45#define DIODE_DIRECTION COL2ROW
46
47/* define if matrix has ghost */
48//#define MATRIX_HAS_GHOST
49
50/* Set 0 if debouncing isn't needed */
51#define DEBOUNCE 5
52
53/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
54#define LOCKING_SUPPORT_ENABLE
55/* Locking resynchronize hack */
56#define LOCKING_RESYNC_ENABLE
57
58/* Backlight configuration
59 */
60#define BACKLIGHT_LEVELS 4
61
62/* Underlight configuration
63 */
64
65#define RGB_DI_PIN D3
66#define RGBLIGHT_ANIMATIONS
67#define RGBLED_NUM 4 // Number of LEDs
68#define RGBLIGHT_HUE_STEP 10
69#define RGBLIGHT_SAT_STEP 17
70#define RGBLIGHT_VAL_STEP 17
71
72/*
73 * Feature disable options
74 * These options are also useful to firmware size reduction.
75 */
76
77/* disable debug print */
78//#define NO_DEBUG
79
80/* disable print */
81//#define NO_PRINT
82
83/* disable action features */
84//#define NO_ACTION_LAYER
85//#define NO_ACTION_TAPPING
86//#define NO_ACTION_ONESHOT
87//#define NO_ACTION_MACRO
88//#define NO_ACTION_FUNCTION