aboutsummaryrefslogtreecommitdiff
path: root/keyboards/wete/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/wete/config.h')
-rw-r--r--keyboards/wete/config.h75
1 files changed, 75 insertions, 0 deletions
diff --git a/keyboards/wete/config.h b/keyboards/wete/config.h
new file mode 100644
index 000000000..c8d66b7a6
--- /dev/null
+++ b/keyboards/wete/config.h
@@ -0,0 +1,75 @@
1/*
2Copyright 2015 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/* USB Device descriptor parameter */
21#define VENDOR_ID 0xB16B
22#define PRODUCT_ID 0x00B5
23#define DEVICE_VER 0x0012
24/* in python2: list(u"whatever".encode('utf-16-le')) */
25/* at most 32 characters or the ugly hack in usb_main.c borks */
26#define MANUFACTURER Ramon Imbao
27#define PRODUCT Wete
28#define DESCRIPTION Southpaw Full-sized Keyboard
29
30/* key matrix size */
31#define MATRIX_ROWS 6
32#define MATRIX_COLS 20
33
34#define MATRIX_COL_PINS { B13, B14, B15, A8, B0, A7, A5, A4, A3, B9, C13, C14, C15, F0, F1, A0, A1, A2, B8, B7 }
35#define MATRIX_ROW_PINS { A9, B12, B11, B10, B2, B1 }
36#define DIODE_DIRECTION COL2ROW
37
38//LEDS A6, RGB B15
39#define BACKLIGHT_PIN A6
40#define BACKLIGHT_PWM_DRIVER PWMD3
41#define BACKLIGHT_PWM_CHANNEL 1
42#define BACKLIGHT_PAL_MODE 1
43#define BACKLIGHT_LEVELS 24
44#define BACKLIGHT_BREATHING
45#define BREATHING_PERIOD 6
46
47/* define if matrix has ghost */
48//#define MATRIX_HAS_GHOST
49
50
51/* Set 0 if debouncing isn't needed */
52#define DEBOUNCE 5
53
54/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
55#define LOCKING_SUPPORT_ENABLE
56/* Locking resynchronize hack */
57#define LOCKING_RESYNC_ENABLE
58
59/*
60 * Feature disable options
61 * These options are also useful to firmware size reduction.
62 */
63
64/* disable debug print */
65//#define NO_DEBUG
66
67/* disable print */
68//#define NO_PRINT
69
70/* disable action features */
71//#define NO_ACTION_LAYER
72//#define NO_ACTION_TAPPING
73//#define NO_ACTION_ONESHOT
74//#define NO_ACTION_MACRO
75//#define NO_ACTION_FUNCTION