]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/onekey/config.h
[Keyboard] Refactor of onekey to support multiple development boards (#6017)
[qmk_firmware.git] / keyboards / handwired / onekey / config.h
1 /*
2 Copyright 2015 Jun Wako <wakojun@gmail.com>
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #pragma once
19
20 /* USB Device descriptor parameter */
21 #define VENDOR_ID       0xFEED
22 #define PRODUCT_ID      0x6465
23 #define DEVICE_VER      0x0001
24 #define MANUFACTURER    none
25 #define PRODUCT         onekey
26 #define DESCRIPTION     test board for qmk
27
28 /* key matrix size */
29 #define MATRIX_ROWS 1
30 #define MATRIX_COLS 1
31
32 /* define if matrix has ghost */
33 //#define MATRIX_HAS_GHOST
34
35 /* Set 0 if debouncing isn't needed */
36 #define DEBOUNCE    5
37
38 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
39 #define LOCKING_SUPPORT_ENABLE
40 /* Locking resynchronize hack */
41 #define LOCKING_RESYNC_ENABLE
42
43 /*
44  * Feature disable options
45  *  These options are also useful to firmware size reduction.
46  */
47
48 /* disable debug print */
49 //#define NO_DEBUG
50
51 /* disable print */
52 //#define NO_PRINT
53
54 /* disable action features */
55 //#define NO_ACTION_LAYER
56 //#define NO_ACTION_TAPPING
57 //#define NO_ACTION_ONESHOT
58 //#define NO_ACTION_MACRO
59 //#define NO_ACTION_FUNCTION