aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ramonimbao/wete/v2/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ramonimbao/wete/v2/config.h')
-rw-r--r--keyboards/ramonimbao/wete/v2/config.h163
1 files changed, 163 insertions, 0 deletions
diff --git a/keyboards/ramonimbao/wete/v2/config.h b/keyboards/ramonimbao/wete/v2/config.h
new file mode 100644
index 000000000..00cc6593d
--- /dev/null
+++ b/keyboards/ramonimbao/wete/v2/config.h
@@ -0,0 +1,163 @@
1/*
2Copyright 2021 Ramon Imbao
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 0xB16B
24#define PRODUCT_ID 0x00B3
25#define DEVICE_VER 0x3500
26#define MANUFACTURER Ramon Imbao
27#define PRODUCT Wete R2
28
29/* key matrix size */
30#define MATRIX_ROWS 13
31#define MATRIX_COLS 10
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42 */
43#define MATRIX_ROW_PINS { B3, B2, B6, C6, C7, E6, F7, F6, F5, F4, F1, F0, NO_PIN }
44#define MATRIX_COL_PINS { B1, B0, B7, B5, B4, D7, D6, D4, D5, D3 }
45#define UNUSED_PINS
46
47/* COL2ROW, ROW2COL */
48#define DIODE_DIRECTION COL2ROW
49
50/* Encoder pins */
51#define ENCODERS_PAD_A { D2 }
52#define ENCODERS_PAD_B { D1 }
53
54/*
55 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
56 */
57#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
58
59//#define LED_NUM_LOCK_PIN B0
60//#define LED_CAPS_LOCK_PIN B1
61//#define LED_SCROLL_LOCK_PIN B2
62//#define LED_COMPOSE_PIN B3
63//#define LED_KANA_PIN B4
64
65//#define BACKLIGHT_PIN B7
66//#define BACKLIGHT_LEVELS 3
67//#define BACKLIGHT_BREATHING
68
69#define RGBLIGHT_LAYERS
70#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
71
72#define RGB_DI_PIN D0
73#ifdef RGB_DI_PIN
74# define RGBLED_NUM 18
75# define RGBLIGHT_HUE_STEP 32
76# define RGBLIGHT_SAT_STEP 32
77# define RGBLIGHT_VAL_STEP 32
78//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
79//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
80/*== all animations enable ==*/
81// # define RGBLIGHT_ANIMATIONS
82/*== or choose animations ==*/
83# define RGBLIGHT_EFFECT_BREATHING
84# define RGBLIGHT_EFFECT_RAINBOW_MOOD
85# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
86//# define RGBLIGHT_EFFECT_SNAKE
87//# define RGBLIGHT_EFFECT_KNIGHT
88# define RGBLIGHT_EFFECT_CHRISTMAS
89# define RGBLIGHT_EFFECT_STATIC_GRADIENT
90# define RGBLIGHT_EFFECT_RGB_TEST
91# define RGBLIGHT_EFFECT_ALTERNATING
92/*== customize breathing effect ==*/
93/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
94//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
95/*==== use exp() and sin() ====*/
96//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
97//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
98#endif
99
100/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
101#define DEBOUNCE 5
102
103/* define if matrix has ghost (lacks anti-ghosting diodes) */
104//#define MATRIX_HAS_GHOST
105
106/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
107#define LOCKING_SUPPORT_ENABLE
108/* Locking resynchronize hack */
109#define LOCKING_RESYNC_ENABLE
110
111/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
112 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
113 */
114//#define GRAVE_ESC_CTRL_OVERRIDE
115
116/*
117 * Force NKRO
118 *
119 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
120 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
121 * makefile for this to work.)
122 *
123 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
124 * until the next keyboard reset.
125 *
126 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
127 * fully operational during normal computer usage.
128 *
129 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
130 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
131 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
132 * power-up.
133 *
134 */
135//#define FORCE_NKRO
136
137/*
138 * Feature disable options
139 * These options are also useful to firmware size reduction.
140 */
141
142/* disable debug print */
143//#define NO_DEBUG
144
145/* disable print */
146//#define NO_PRINT
147
148/* disable action features */
149//#define NO_ACTION_LAYER
150//#define NO_ACTION_TAPPING
151//#define NO_ACTION_ONESHOT
152
153/* disable these deprecated features by default */
154#define NO_ACTION_MACRO
155#define NO_ACTION_FUNCTION
156
157/* Bootmagic Lite key configuration */
158//#define BOOTMAGIC_LITE_ROW 0
159//#define BOOTMAGIC_LITE_COLUMN 0
160
161// QoL improvements
162#define PERMISSIVE_HOLD
163#define IGNORE_MOD_TAP_INTERRUPT