]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ergodox/ez/config.h
084a044ee1a2ed121708308ad292f7b84802e56e
[qmk_firmware.git] / keyboards / ergodox / ez / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
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 #ifndef ERGODOX_EZ_CONFIG_H
20 #define ERGODOX_EZ_CONFIG_H
21
22 #include "../config.h"
23
24 /* USB Device descriptor parameter */
25 #define VENDOR_ID       0xFEED
26 #define PRODUCT_ID      0x1307
27 #define DEVICE_VER      0x0001
28 #define MANUFACTURER    ErgoDox EZ
29 #define PRODUCT         ErgoDox EZ
30 #define DESCRIPTION     QMK keyboard firmware for Ergodox EZ
31
32 /* key matrix size */
33 #define MATRIX_ROWS 14
34 #define MATRIX_COLS 6
35
36 /* number of backlight levels */
37 #define BACKLIGHT_LEVELS 3
38
39 #define LED_BRIGHTNESS_LO       15
40 #define LED_BRIGHTNESS_HI       255
41
42
43 /* Set 0 if debouncing isn't needed */
44 #define DEBOUNCE    5
45
46 /*
47  * Feature disable options
48  *  These options are also useful to firmware size reduction.
49  */
50
51 /* disable debug print */
52 // #define NO_DEBUG
53
54 /* disable print */
55 // #define NO_PRINT
56
57 /* disable action features */
58 //#define NO_ACTION_LAYER
59 //#define NO_ACTION_TAPPING
60 //#define NO_ACTION_ONESHOT
61 //#define NO_ACTION_MACRO
62 //#define NO_ACTION_FUNCTION
63 //#define DEBUG_MATRIX_SCAN_RATE
64
65 #endif