aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ergodash/rev1/keymaps/yet-another-developer/config.h
diff options
context:
space:
mode:
authorYet Another Developer <50936645+yet-another-developer@users.noreply.github.com>2019-10-21 02:07:57 +0800
committerDrashna Jaelre <drashna@live.com>2019-10-20 11:07:56 -0700
commit3d53ea439c277e49cd4149a6caea727304f41ace (patch)
tree1d782a97be651ff911342cbec19cdb18ceeeda62 /keyboards/ergodash/rev1/keymaps/yet-another-developer/config.h
parentf64d9b06215bb08d7f77aeba126c0804fffd0064 (diff)
downloadqmk_firmware-3d53ea439c277e49cd4149a6caea727304f41ace.tar.gz
qmk_firmware-3d53ea439c277e49cd4149a6caea727304f41ace.zip
[Keymap] Ergodash keymap for yet-another-developer (#7046)
* Initialize ergodash rev 1 keymap ./util/new_keymap.sh ergodash/rev1 yet-another-developer * Add user space configurations referenced from drashna * Start community layout for ergodash in ortho_5x14 * Remove unused layers * Add userspace layers * Add Userspace gitignore Hide Secrets * Remove userspace unused drashna features * Scrap default keymap and follow drashna's template * Add code referenced from kuchosauronad0 * Make sure that the author is named Developer * Replace middle keys del and bksp with curly brace * Reduce ONESHOT_TIMEOUT from 3sec to 2sec * Remove adjust key AG_SWAP * Disable UNICODEMAP_ENABLE, remove code causing build fail * Increase TAPPING_TERM to 240 Reason: Because Space is also LOWER, space sometimes not registering. PS: I dont want to #define RETRO_TAPPING yet * Update KC_MAKE to use :flash * Remove TAP_ONCE, use tap_code Signed-off-by: Developer <anotherdeveloper@icloud.com> * Remove redundant code implementation of keyboard_post_init_user https://github.com/qmk/qmk_firmware/pull/7046 users/yet-another-developer/leader.c ``` static bool has_ran_yet; if (!has_ran_yet) { has_ran_yet = true; startup_user(); ``` Comment for lines +11 – +14 @drashna: Not needed anymore. You can use keyboard_post_init_user now. Signed-off-by: Developer <anotherdeveloper@icloud.com>
Diffstat (limited to 'keyboards/ergodash/rev1/keymaps/yet-another-developer/config.h')
-rw-r--r--keyboards/ergodash/rev1/keymaps/yet-another-developer/config.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/keyboards/ergodash/rev1/keymaps/yet-another-developer/config.h b/keyboards/ergodash/rev1/keymaps/yet-another-developer/config.h
new file mode 100644
index 000000000..1005c4804
--- /dev/null
+++ b/keyboards/ergodash/rev1/keymaps/yet-another-developer/config.h
@@ -0,0 +1,67 @@
1/*
2This is the c configuration file for the keymap
3
4Copyright 2012 Jun Wako <wakojun@gmail.com>
5Copyright 2015 Jack Humbert
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#pragma once
22
23
24/* Use I2C or Serial, not both */
25#define USE_SERIAL
26// #define USE_I2C
27
28/* Select hand configuration */
29
30//#define MASTER_LEFT
31#define MASTER_RIGHT /* Cable connected to the right split keyboard */
32// #define EE_HANDS
33
34#define AUTO_SHIFT_TIMEOUT 210
35
36#define TAPPING_TERM_PER_KEY
37
38// https://beta.docs.qmk.fm/features/feature_leader_key
39//#define LEADER_PER_KEY_TIMING
40//#define LEADER_TIMEOUT 280
41
42// https://docs.qmk.fm/#/feature_mouse_keys
43#define MK_3_SPEED // Constant Speed Mode
44
45#define MOUSEKEY_DELAY 300
46#define MOUSEKEY_INTERVAL 16
47#define MOUSEKEY_MAX_SPEED 3
48#define MOUSEKEY_TIME_TO_MAX 60
49#define MK_C_OFFSET_0 4
50#define MK_C_INTERVAL_0 28
51#define MK_C_OFFSET_1 8
52#define MK_C_INTERVAL_1 16
53#define MK_C_OFFSET_2 20
54#define MK_C_INTERVAL_2 16
55
56#define MOUSEKEY_WHEEL_MAX_SPEED 4
57#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
58
59#define MK_W_OFFSET_0 1
60#define MK_W_INTERVAL_0 120
61#define MK_W_OFFSET_1 1
62#define MK_W_INTERVAL_1 100
63#define MK_W_OFFSET_2 1
64#define MK_W_INTERVAL_2 60
65
66//#define STARTUP_RESET_EEPROM // EMERGENCY
67