aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ergotaco/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergotaco/config.h')
-rw-r--r--keyboards/ergotaco/config.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/keyboards/ergotaco/config.h b/keyboards/ergotaco/config.h
new file mode 100644
index 000000000..4dbe0573b
--- /dev/null
+++ b/keyboards/ergotaco/config.h
@@ -0,0 +1,61 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
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// 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