]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/keebio/quefrency/rev1/config.h
Fix pinout for Quefrency left half w/macros
[qmk_firmware.git] / keyboards / keebio / quefrency / rev1 / 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 QMK_KEYBOARD_CONFIG_H
22
23 /* USB Device descriptor parameter */
24 #define VENDOR_ID       0xCB10
25 #define PRODUCT_ID      0x1257
26 #define DEVICE_VER      0x0100
27 #define MANUFACTURER    Keebio
28 #define PRODUCT         Quefrency
29 #define DESCRIPTION     Split 60/65 percent staggered keyboard
30
31 /* key matrix size */
32 // Rows are doubled-up
33 #define MATRIX_ROWS 12
34 #define MATRIX_COLS 8
35
36 // wiring of each half
37 #define MATRIX_ROW_PINS { F4, D4, D7, E6, B4, C6 }
38 #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6, B5 }
39 #define MATRIX_ROW_PINS_RIGHT { F4, D4, D7, E6, B4, B5 }
40 #define MATRIX_COL_PINS_RIGHT { F5, F6, F7, B1, B3, B2, B6, C6 }
41 #define SPLIT_HAND_PIN D2
42
43 /* Set 0 if debouncing isn't needed */
44 #define DEBOUNCING_DELAY 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 D3
56 #define RGBLIGHT_ANIMATIONS
57 #define RGBLED_NUM 16    // Number of LEDs