]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/keebio/levinson/rev3/config.h
Add missing links to features page and sidebar section (#5949)
[qmk_firmware.git] / keyboards / keebio / levinson / rev3 / 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
23 /* USB Device descriptor parameter */
24 #define VENDOR_ID       0xCB10
25 #define PRODUCT_ID      0x1146
26 #define DEVICE_VER      0x0300
27 #define MANUFACTURER    Keebio
28 #define PRODUCT         Levinson
29 #define DESCRIPTION     Split 40 percent ortholinear keyboard
30
31 /* key matrix size */
32 // Rows are doubled-up
33 #define MATRIX_ROWS 8
34 #define MATRIX_COLS 6
35
36 // wiring of each half
37 #define MATRIX_ROW_PINS { D4, E6, B4, B5 }
38 #define MATRIX_COL_PINS { D3, F4, F7, B1, B3, B2 }
39 #define MATRIX_ROW_PINS_RIGHT { D4, B2, B3, B1 }
40 #define MATRIX_COL_PINS_RIGHT { F4, F7, D3, B5, B4, E6 }
41 #define SPLIT_HAND_PIN D2
42
43 /* Set 0 if debouncing isn't needed */
44 #define DEBOUNCE 5
45
46 /* serial.c configuration for split keyboard */
47 #define SOFT_SERIAL_PIN D0
48
49 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
50 #define LOCKING_SUPPORT_ENABLE
51 /* Locking resynchronize hack */
52 #define LOCKING_RESYNC_ENABLE
53
54 /* ws2812 RGB LED */
55 #define RGB_DI_PIN D7
56 #define RGBLED_NUM 12    // Number of LEDs
57 #define RGBLED_SPLIT { 6, 6 }
58
59 /* Backlight LEDs */
60 #define BACKLIGHT_PIN B6
61 #define BACKLIGHT_LEVELS 7