]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/keebio/wavelet/config.h
5610bba17b1a23de42d0d7a2051f76a4f051acb6
[qmk_firmware.git] / keyboards / keebio / wavelet / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4 Copyright 2018 Danny Nguyen <danny@keeb.io>
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, either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #pragma once
21
22 #include "config_common.h"
23
24 /* USB Device descriptor parameter */
25 #define VENDOR_ID       0xCB10
26 #define PRODUCT_ID      0x1046
27 #define DEVICE_VER      0x0100
28 #define MANUFACTURER    Keebio
29 #define PRODUCT         Wavelet
30 #define DESCRIPTION     40 percent ortholinear keyboard
31
32 /* key matrix size */
33 #define MATRIX_ROWS 8
34 #define MATRIX_COLS 6
35
36 // wiring of each half
37 #define MATRIX_ROW_PINS { F4, F5, F7, B3, D2, D1, D4, D7 }
38 #define MATRIX_COL_PINS { F6, B1, B2, B6, B4, E6 }
39
40 /* Set 0 if debouncing isn't needed */
41 #define DEBOUNCING_DELAY 5
42
43 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
44 #define LOCKING_SUPPORT_ENABLE
45 /* Locking resynchronize hack */
46 #define LOCKING_RESYNC_ENABLE
47
48 /* ws2812 RGB LED */
49 #define RGB_DI_PIN D3
50 #define RGBLED_NUM 12    // Number of LEDs
51
52 /* Backlight LEDs */
53 #define BACKLIGHT_PIN B5
54 #define BACKLIGHT_LEVELS 7