]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/keebio/fourier/config.h
70967a13f6c9ec9da1c250a9ac137ec72832dc61
[qmk_firmware.git] / keyboards / keebio / fourier / 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       0xCB10
25 #define PRODUCT_ID      0x1247
26 #define DEVICE_VER      0x0100
27 #define MANUFACTURER    Keebio
28 #define PRODUCT         Fourier
29 #define DESCRIPTION     Split 40 percent staggered keyboard
30
31 /* key matrix size */
32 // Rows are doubled-up
33 #define MATRIX_ROWS 8
34 #define MATRIX_COLS 7
35
36 // wiring of each half
37 #define MATRIX_ROW_PINS { F4, D7, E6, B4 }
38 #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
39
40 #define QMK_ESC_OUTPUT F5
41 #define QMK_ESC_INPUT F4
42 #define QMK_LED B0
43 #define QMK_SPEAKER C6
44
45 /* Split Defines */
46 #define SPLIT_HAND_PIN D2
47 /* serial.c configuration for split keyboard */
48 #define SOFT_SERIAL_PIN D0
49
50
51 /* define if matrix has ghost */
52 //#define MATRIX_HAS_GHOST
53
54 /* Set 0 if debouncing isn't needed */
55 #define DEBOUNCING_DELAY 5
56
57 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
58 #define LOCKING_SUPPORT_ENABLE
59 /* Locking resynchronize hack */
60 #define LOCKING_RESYNC_ENABLE
61
62 /* ws2812 RGB LED */
63 #define RGB_DI_PIN D3
64 #define RGBLIGHT_ANIMATIONS
65 #define RGBLED_NUM 14    // Number of LEDs
66
67 /*
68  * Feature disable options
69  *  These options are also useful to firmware size reduction.
70  */
71
72 /* disable debug print */
73 // #define NO_DEBUG
74
75 /* disable print */
76 // #define NO_PRINT
77
78 /* disable action features */
79 //#define NO_ACTION_LAYER
80 //#define NO_ACTION_TAPPING
81 //#define NO_ACTION_ONESHOT
82 //#define NO_ACTION_MACRO
83 //#define NO_ACTION_FUNCTION