aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keebio/levinson/rev1/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/levinson/rev1/config.h')
-rw-r--r--keyboards/keebio/levinson/rev1/config.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/keyboards/keebio/levinson/rev1/config.h b/keyboards/keebio/levinson/rev1/config.h
new file mode 100644
index 000000000..0359796fe
--- /dev/null
+++ b/keyboards/keebio/levinson/rev1/config.h
@@ -0,0 +1,59 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3Copyright 2015 Jack Humbert
4Copyright 2018 Danny Nguyen <danny@keeb.io>
5
6This program is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation, either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#pragma once
21
22#include QMK_KEYBOARD_CONFIG_H
23
24/* USB Device descriptor parameter */
25#define VENDOR_ID 0xCB10
26#define PRODUCT_ID 0x1146
27#define DEVICE_VER 0x0100
28#define MANUFACTURER Keebio
29#define PRODUCT Levinson
30#define DESCRIPTION Split 40 percent ortholinear keyboard
31
32/* key matrix size */
33// Rows are doubled-up
34#define MATRIX_ROWS 8
35#define MATRIX_COLS 6
36
37// wiring of each half
38#define MATRIX_ROW_PINS { D7, E6, B4, B5 }
39#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, F4 }
40
41/* Set 0 if debouncing isn't needed */
42#define DEBOUNCING_DELAY 5
43
44/* serial.c configuration for split keyboard */
45#define SOFT_SERIAL_PIN D0
46
47/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
48#define LOCKING_SUPPORT_ENABLE
49/* Locking resynchronize hack */
50#define LOCKING_RESYNC_ENABLE
51
52/* ws2812 RGB LED */
53#define RGB_DI_PIN D3
54
55#define RGBLED_NUM 12 // Number of LEDs
56
57/* Backlight LEDs */
58#define BACKLIGHT_PIN B6
59#define BACKLIGHT_LEVELS 7