f77: Add jackhill's layout
[jackhill/qmk/firmware.git] / keyboards / splitreus62 / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU 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 0xBEEF
25 #define PRODUCT_ID 0xFED0
26 #define DEVICE_VER 0x0001
27 #define MANUFACTURER NaCly
28 #define PRODUCT Splitreus62
29 #define DESCRIPTION Like you axed an atreus62
30
31 /* key matrix size */
32 // Rows are doubled-up
33 #define MATRIX_ROWS 12
34 #define MATRIX_COLS 6
35
36 // wiring of each half
37 #define MATRIX_ROW_PINS { D3, D2, D1, D4, C6, D7 }
38 #define MATRIX_COL_PINS { E6, B4, B5, B6, B2, B3 }
39
40 #define DIODE_DIRECTION ROW2COL
41
42 #define SPLIT_HAND_PIN F4
43
44 /* Set 0 if debouncing isn't needed */
45 #define DEBOUNCE 5
46
47 /* serial.c configuration for split keyboard */
48 #define SOFT_SERIAL_PIN D0
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 /* ws2812 RGB LED */
56 #define RGB_DI_PIN B1
57
58 #define RGBLED_NUM 12 // Number of LEDs
59
60 #define RGBLED_SPLIT { 6, 6 }
61 /*
62 * Feature disable options
63 * These options are also useful to firmware size reduction.
64 */
65
66 /* disable debug print */
67 // #define NO_DEBUG
68
69 /* disable print */
70 // #define NO_PRINT
71
72 /* disable action features */
73 //#define NO_ACTION_LAYER
74 //#define NO_ACTION_TAPPING
75 //#define NO_ACTION_ONESHOT
76 //#define NO_ACTION_MACRO
77 //#define NO_ACTION_FUNCTION