aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gergo/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gergo/config.h')
-rw-r--r--keyboards/gergo/config.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/keyboards/gergo/config.h b/keyboards/gergo/config.h
new file mode 100644
index 000000000..a795f8dba
--- /dev/null
+++ b/keyboards/gergo/config.h
@@ -0,0 +1,73 @@
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/* Defaults */
25#ifndef BALLSTEP
26#define BALLSTEP 20
27#endif
28
29#ifndef SCROLLSTEP
30#define SCROLLSTEP 1
31#endif
32
33#define VERBOSE
34
35/* USB Device descriptor parameter */
36#define VENDOR_ID 0xFEED
37#define PRODUCT_ID 0x1307
38#define DEVICE_VER 0x0001
39#define MANUFACTURER g Heavy Industries
40#define PRODUCT Gergo
41#define DESCRIPTION QMK keyboard firmware for Gergo
42
43/* key matrix size */
44#define MATRIX_ROWS 14
45#define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)
46#define MATRIX_COLS 4
47
48#define MOUSEKEY_INTERVAL 20
49#define MOUSEKEY_DELAY 0
50#define MOUSEKEY_TIME_TO_MAX 60
51#define MOUSEKEY_MAX_SPEED 7
52#define MOUSEKEY_WHEEL_DELAY 0
53#define TAPPING_TOGGLE 1
54
55/* define if matrix has ghost */
56//#define MATRIX_HAS_GHOST
57
58#define TAPPING_TERM 200
59#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.)
60
61/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
62#define LOCKING_SUPPORT_ENABLE
63/* Locking resynchronize hack */
64#define LOCKING_RESYNC_ENABLE
65
66/* key combination for command */
67#define IS_COMMAND() ( \
68 keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
69 keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
70)
71
72#define DEBOUNCE 5
73#define USB_MAX_POWER_CONSUMPTION 500