]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ergotaco/config.h
[Keyboard] fixed pins for numpad_5x4 layout (#6311)
[qmk_firmware.git] / keyboards / ergotaco / 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 // Copy and worked on with love from the EZ team
20
21 #pragma once
22 #include "config_common.h"
23
24 #define VERBOSE
25
26 /* USB Device descriptor parameter */
27 #define VENDOR_ID       0xFEED
28 #define PRODUCT_ID      0x1337
29 #define DEVICE_VER      0x0001
30 #define MANUFACTURER    g Heavy Industries 
31 #define PRODUCT         ErgoTaco
32 #define DESCRIPTION     QMK keyboard firmware for ErgoTaco
33
34 /* key matrix size */
35 #define MATRIX_ROWS 12
36 #define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)
37 #define MATRIX_COLS 1
38
39 #define MOUSEKEY_INTERVAL       20
40 #define MOUSEKEY_DELAY          0
41 #define MOUSEKEY_TIME_TO_MAX    60
42 #define MOUSEKEY_MAX_SPEED      7
43 #define MOUSEKEY_WHEEL_DELAY 0
44 #define TAPPING_TOGGLE  1
45
46 /* define if matrix has ghost */
47 //#define MATRIX_HAS_GHOST
48
49 #define TAPPING_TERM    200
50 #define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
51
52 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
53 #define LOCKING_SUPPORT_ENABLE
54 /* Locking resynchronize hack */
55 #define LOCKING_RESYNC_ENABLE
56
57 /* key combination for command */
58 #define IS_COMMAND() (get_mods() == MOD_MASK_CTRL || get_mods() == MOD_MASK_SHIFT)
59
60 #define DEBOUNCE    5
61 #define USB_MAX_POWER_CONSUMPTION 500