]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/georgi/config.h
b35a1be789c1551b78307cc3cf6b3b3954f21007
[qmk_firmware.git] / keyboards / georgi / 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 /* Defaults */
25
26 #define VERSION "v1.1: ClayM"
27 #define VERBOSE
28
29 #define FORCE_NKRO
30 #define NO_ACTION_FUNCTION
31 #define NO_ACTION_ONESHOT
32 #define NO_ACTION_MACRO
33
34 /* USB Device descriptor parameter */
35 #define VENDOR_ID       0xFEED
36 #define PRODUCT_ID      0x1337
37 #define DEVICE_VER      0x0001
38 #define MANUFACTURER    g Heavy Industries 
39 #define PRODUCT         Georgi
40 #define DESCRIPTION     QMK keyboard firmware for Georgi
41
42 /* key matrix size */
43 #define MATRIX_ROWS 14
44 #define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)
45 #define MATRIX_COLS 4
46
47 #define MOUSEKEY_INTERVAL       20
48 #define MOUSEKEY_DELAY          0
49 #define MOUSEKEY_TIME_TO_MAX    60
50 #define MOUSEKEY_MAX_SPEED      7
51 #define MOUSEKEY_WHEEL_DELAY 0
52 #define TAPPING_TOGGLE  2
53
54 /* define if matrix has ghost */
55 //#define MATRIX_HAS_GHOST
56
57 #define TAPPING_TERM    200
58 #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.)
59
60 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
61 #define LOCKING_SUPPORT_ENABLE
62 /* Locking resynchronize hack */
63 #define LOCKING_RESYNC_ENABLE
64
65 /* key combination for command */
66 #define IS_COMMAND() ( \
67     get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
68     get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
69 )
70
71 #define DEBOUNCE    5
72 #define USB_MAX_POWER_CONSUMPTION 500