aboutsummaryrefslogtreecommitdiff
path: root/keyboards/quefrency/rev1/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/quefrency/rev1/config.h')
-rw-r--r--keyboards/quefrency/rev1/config.h84
1 files changed, 84 insertions, 0 deletions
diff --git a/keyboards/quefrency/rev1/config.h b/keyboards/quefrency/rev1/config.h
new file mode 100644
index 000000000..c24cf5ab3
--- /dev/null
+++ b/keyboards/quefrency/rev1/config.h
@@ -0,0 +1,84 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3Copyright 2015 Jack Humbert
4
5This program is free software: you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation, either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef REV1_CONFIG_H
20#define REV1_CONFIG_H
21
22#include "../config.h"
23
24/* USB Device descriptor parameter */
25#define VENDOR_ID 0xCB10
26#define PRODUCT_ID 0x1257
27#define DEVICE_VER 0x0100
28#define MANUFACTURER Keebio
29#define PRODUCT Quefrency
30#define DESCRIPTION Split 60 percent staggered keyboard
31
32/* key matrix size */
33// Rows are doubled-up
34#define MATRIX_ROWS 10
35#define MATRIX_COLS 8
36
37// wiring of each half
38#define MATRIX_ROW_PINS { F4, D4, D7, E6, B4 }
39#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6, C6 }
40
41/* define if matrix has ghost */
42//#define MATRIX_HAS_GHOST
43
44/* Set 0 if debouncing isn't needed */
45#define DEBOUNCING_DELAY 5
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/* key combination for command */
53#define IS_COMMAND() ( \
54 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
55)
56
57/* ws2812 RGB LED */
58#define RGB_DI_PIN D3
59#define RGBLIGHT_TIMER
60#define RGBLIGHT_ANIMATIONS
61#define RGBLED_NUM 16 // Number of LEDs
62#define ws2812_PORTREG PORTD
63#define ws2812_DDRREG DDRD
64
65/*
66 * Feature disable options
67 * These options are also useful to firmware size reduction.
68 */
69
70/* disable debug print */
71// #define NO_DEBUG
72
73/* disable print */
74// #define NO_PRINT
75
76/* disable action features */
77//#define NO_ACTION_LAYER
78//#define NO_ACTION_TAPPING
79//#define NO_ACTION_ONESHOT
80//#define NO_ACTION_MACRO
81//#define NO_ACTION_FUNCTION
82
83
84#endif