aboutsummaryrefslogtreecommitdiff
path: root/keyboards/amjpad/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/amjpad/config.h')
-rw-r--r--keyboards/amjpad/config.h88
1 files changed, 88 insertions, 0 deletions
diff --git a/keyboards/amjpad/config.h b/keyboards/amjpad/config.h
new file mode 100644
index 000000000..f1d57592b
--- /dev/null
+++ b/keyboards/amjpad/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 0x6060
25#define DEVICE_VER 0x0003
26#define MANUFACTURER AMJ
27#define PRODUCT PAD
28
29/* key matrix size */
30#define MATRIX_ROWS 6
31#define MATRIX_COLS 4
32
33// ROWS: Top to bottom, COLS: Left to right
34
35#define MATRIX_ROW_PINS { F7, F6, F5, F4, D5, D0 }
36#define MATRIX_COL_PINS { F1, F0, E6, C7 }
37#define UNUSED_PINS
38
39#define BACKLIGHT_PIN B6
40
41/* COL2ROW or ROW2COL */
42#define DIODE_DIRECTION COL2ROW
43
44/* define if matrix has ghost */
45//#define MATRIX_HAS_GHOST
46
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/* Locking resynchronize hack */
53#define LOCKING_RESYNC_ENABLE
54
55#define LED_NUM_LOCK_PIN D6
56#define LED_PIN_ON_STATE 0
57
58/* Backlight configuration
59 */
60#define BACKLIGHT_LEVELS 4
61
62/* Underlight configuration
63 */
64
65#define RGB_DI_PIN E2
66#define RGBLIGHT_ANIMATIONS
67#define RGBLED_NUM 8 // 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