aboutsummaryrefslogtreecommitdiff
path: root/keyboards/idobao/id96/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/idobao/id96/config.h')
-rw-r--r--keyboards/idobao/id96/config.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/keyboards/idobao/id96/config.h b/keyboards/idobao/id96/config.h
new file mode 100644
index 000000000..6bf1f14c4
--- /dev/null
+++ b/keyboards/idobao/id96/config.h
@@ -0,0 +1,82 @@
1/*
2 * This file is part of the QMK Firmware distribution (https://github.com/qmk/qmk_firmware).
3 * Copyright 2018-2021 "kaylanm" <http://github.com/kaylanm> [Melody96]
4 * Vino Rodrigues <http://github.com/vinorodrigues> [ID96]
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, version 3.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21#include "config_common.h"
22
23/* USB Device descriptor parameter */
24#define VENDOR_ID 0x6964 // "id"
25#define PRODUCT_ID 0x0096
26#define DEVICE_VER 0x0001
27#define MANUFACTURER IDOBAO
28#define PRODUCT ID96
29
30/* key matrix size */
31#define MATRIX_ROWS 12
32#define MATRIX_COLS 9
33
34/* key matrix pins */
35#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 }
36#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
37#define UNUSED_PINS
38
39/* COL2ROW or ROW2COL */
40#define DIODE_DIRECTION ROW2COL
41
42#define LED_NUM_LOCK_PIN C6
43#define LED_CAPS_LOCK_PIN C7
44#define LED_PIN_ON_STATE 0
45
46/* number of backlight levels */
47#define BACKLIGHT_PIN B6
48#ifdef BACKLIGHT_PIN
49 #define BACKLIGHT_LEVELS 7
50 #define BACKLIGHT_BREATHING
51#endif
52
53/* Set location for BootMagic key = [ESC] */
54#define BOOTMAGIC_LITE_ROW 5
55#define BOOTMAGIC_LITE_COLUMN 0
56
57/* Set 0 if debouncing isn't needed */
58#define DEBOUNCE 5
59
60/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
61#define LOCKING_SUPPORT_ENABLE
62
63/* Locking resynchronize hack */
64#define LOCKING_RESYNC_ENABLE
65
66#define RGB_DI_PIN E2
67#ifdef RGB_DI_PIN
68 #define RGBLIGHT_EFFECT_BREATHING
69 #define RGBLIGHT_EFFECT_RAINBOW_MOOD
70 #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
71 #define RGBLIGHT_EFFECT_SNAKE
72 #define RGBLIGHT_EFFECT_KNIGHT
73 #define RGBLIGHT_EFFECT_CHRISTMAS
74 #define RGBLIGHT_EFFECT_STATIC_GRADIENT
75 #define RGBLIGHT_EFFECT_RGB_TEST
76 #define RGBLIGHT_EFFECT_ALTERNATING
77 #define RGBLIGHT_EFFECT_TWINKLE
78 #define RGBLED_NUM 18
79 #define RGBLIGHT_HUE_STEP 8
80 #define RGBLIGHT_SAT_STEP 8
81 #define RGBLIGHT_VAL_STEP 8
82#endif