aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/ergodox_ez/keymaps/ifohancroft/config.h23
-rw-r--r--keyboards/ergodox_ez/keymaps/ifohancroft/keymap.c157
-rw-r--r--keyboards/ergodox_ez/keymaps/ifohancroft/readme.md19
-rw-r--r--keyboards/ergodox_ez/keymaps/ifohancroft/rules.mk4
4 files changed, 203 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/keymaps/ifohancroft/config.h b/keyboards/ergodox_ez/keymaps/ifohancroft/config.h
new file mode 100644
index 000000000..fcc7c11be
--- /dev/null
+++ b/keyboards/ergodox_ez/keymaps/ifohancroft/config.h
@@ -0,0 +1,23 @@
1/* Copyright 2021 IFo Hancroft
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19// place overrides here
20#define USB_POLLING_INTERVAL_MS 1
21#define FORCE_NKRO
22#undef DEBOUNCE
23#define DEBOUNCE 5
diff --git a/keyboards/ergodox_ez/keymaps/ifohancroft/keymap.c b/keyboards/ergodox_ez/keymaps/ifohancroft/keymap.c
new file mode 100644
index 000000000..9de4818c1
--- /dev/null
+++ b/keyboards/ergodox_ez/keymaps/ifohancroft/keymap.c
@@ -0,0 +1,157 @@
1/* Copyright 2021 IFo Hancroft
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20
21 /* Default Layer
22 * *---------------------------------------------------------------------* *---------------------------------------------------------------------*
23 * | ` | 1 | 2 | 3 | 4 | 5 | - | | = | 6 | 7 | 8 | 9 | 0 | Del |
24 * |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
25 * | Tab | Q | W | E | R | T | [ | | ] | Y | U | I | O | P | \ |
26 * |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
27 * | ESC | A | S | D | F | G | | | | H | J | K | L | ; | ' |
28 * |---------+---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------+---------|
29 * | Shift | Z | X | C | V | B | | N | M | , | . | / | Shift |
30 * |---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------|
31 * | Ctrl | Super | Alt | MO(3) | MO(2) | | MO(2) | Left | Down | Up | Right |
32 * *-------------------------------------------------* *-------------------------------------------------*
33 *
34 * *-------------------* *-------------------*
35 * | | TG(1) | | | |
36 * *---------+---------+---------| |---------+---------+---------*
37 * | | | | | | | |
38 * | Bckspc | Enter |---------| |---------| Enter | Space |
39 * | | | PgDn | | PgUp | | |
40 * *---------+---------+---------* *---------+---------+---------*
41 */
42
43 LAYOUT_ergodox_pretty(
44 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
45 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
46 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
47 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NO, KC_NO, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
48 KC_LCTL, KC_LGUI, KC_LALT, MO(3), MO(2), MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT,
49
50 KC_NO, TG(1), KC_NO, KC_NO,
51 KC_NO, KC_NO,
52 KC_BSPC, KC_ENT, KC_PGDN, KC_PGUP, KC_ENT, KC_SPC
53 ),
54
55 /* Gaming Layer
56 * *---------------------------------------------------------------------* *---------------------------------------------------------------------*
57 * | | | | | | | 6 | | | | | | | | |
58 * |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
59 * | | | | | | | | | | | | | | | |
60 * |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
61 * | | | | | | | | | | | | | | | |
62 * |---------+---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------+---------|
63 * | | | | | | | | | | | | | |
64 * |---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------|
65 * | | | | | | | | | | | |
66 * *-------------------------------------------------* *-------------------------------------------------*
67 *
68 * *-------------------* *-------------------*
69 * | | | | | |
70 * *---------+---------+---------| |---------+---------+---------*
71 * | | | | | | | |
72 * | Space | |---------| |---------| | |
73 * | | | | | | | |
74 * *---------+---------+---------* *---------+---------+---------*
75 */
76
77 LAYOUT_ergodox_pretty(
78 _______, _______, _______, _______, _______, _______, KC_6, _______, _______, _______, _______, _______, _______, _______,
79 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
80 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
81 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
82 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
83
84 _______, _______, _______, _______,
85 _______, _______,
86 KC_SPC, _______, _______, _______, _______, _______
87 ),
88
89 /* Function Keys Layer
90 * *---------------------------------------------------------------------* *---------------------------------------------------------------------*
91 * | | F1 | F2 | F3 | F4 | F5 | F11 | | F12 | F6 | F7 | F8 | F9 | F10 | |
92 * |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
93 * | | | Up | | | | | | | | | | | | |
94 * |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
95 * | | Left | Down | Right | | | | | | | | | | | |
96 * |---------+---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------+---------|
97 * | | | | | | | | | | | | | |
98 * |---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------|
99 * | | | | | | | | | | | |
100 * *-------------------------------------------------* *-------------------------------------------------*
101 *
102 * *-------------------* *-------------------*
103 * | | | | | |
104 * *---------+---------+---------| |---------+---------+---------*
105 * | | | | | | | |
106 * | | |---------| |---------| | |
107 * | | | | | | | |
108 * *---------+---------+---------* *---------+---------+---------*
109 */
110
111 LAYOUT_ergodox_pretty(
112 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______,
113 _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
114 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______,
115 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
116 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
117
118 _______, _______, _______, _______,
119 _______, _______,
120 _______, _______, _______, _______, _______, _______
121 ),
122
123 /* CAD Layer
124 * *---------------------------------------------------------------------* *---------------------------------------------------------------------*
125 * | Del | 0 | 9 | 8 | 7 | 6 | = | | | | | | | | |
126 * |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
127 * | \ | P | O | I | U | Y | ] | | | | | | | | |
128 * |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
129 * | ' | ; | L | K | J | H | | | | | | | | | |
130 * |---------+---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------+---------|
131 * | | / | . | , | M | N | | | | | | | |
132 * |---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------|
133 * | | | | | | | | | | | |
134 * *-------------------------------------------------* *-------------------------------------------------*
135 *
136 * *-------------------* *-------------------*
137 * | | | | | |
138 * *---------+---------+---------| |---------+---------+---------*
139 * | | | | | | | |
140 * | Space | |---------| |---------| | |
141 * | | | PgUp | | | | |
142 * *---------+---------+---------* *---------+---------+---------*
143 */
144
145 LAYOUT_ergodox_pretty(
146 KC_DEL, KC_0, KC_9, KC_8, KC_7, KC_6, KC_EQL, _______, _______, _______, _______, _______, _______, _______,
147 KC_BSLS, KC_P, KC_O, KC_I, KC_U, KC_Y, KC_RBRC, _______, _______, _______, _______, _______, _______, _______,
148 KC_QUOT, KC_SCLN, KC_L, KC_K, KC_J, KC_H, _______, _______, _______, _______, _______, _______,
149 _______, KC_SLSH, KC_DOT, KC_COMM, KC_M, KC_N, _______, _______, _______, _______, _______, _______, _______, _______,
150 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
151
152 _______, _______, _______, _______,
153 _______, _______,
154 KC_SPC, _______, KC_PGUP, _______, _______, _______
155 )
156
157};
diff --git a/keyboards/ergodox_ez/keymaps/ifohancroft/readme.md b/keyboards/ergodox_ez/keymaps/ifohancroft/readme.md
new file mode 100644
index 000000000..25c043cfd
--- /dev/null
+++ b/keyboards/ergodox_ez/keymaps/ifohancroft/readme.md
@@ -0,0 +1,19 @@
1![IFo Hancroft ErgoDox EZ Layout Image](https://i.imgur.com/8LRokp5.png)
2
3# IFo Hancroft's ErgoDox EZ Layout
4
5- Layer 0: A Standard ANSI QWERTY Layer.
6- Layer 1: A Gaming Layer. It replaces the Backspace with a Space, and the Dash with a 6, so you can play CS:GO without needing to lift your right hand from the mouse.
7- Layer 2: A function layer. It contains the F1-F12 keys and arrows on WASD.
8- Layer 3: A CAD Layer. It is basically a mirrored version of the right hand side, so you can use CAD without needing to lift your right hand from the the mouse.
9
10This keymap also does the following:
11
12- Sets the polling rate of the keyboard to 1ms
13- Sets the debounce time to 5ms
14- NKRO (Forced on)
15- Disables:
16 - Mouse Key
17 - Extra Key
18 - Unicode
19 - Swap Hands
diff --git a/keyboards/ergodox_ez/keymaps/ifohancroft/rules.mk b/keyboards/ergodox_ez/keymaps/ifohancroft/rules.mk
new file mode 100644
index 000000000..bf0efc77e
--- /dev/null
+++ b/keyboards/ergodox_ez/keymaps/ifohancroft/rules.mk
@@ -0,0 +1,4 @@
1MOUSEKEY_ENABLE = no
2EXTRAKEY_ENABLE = no
3UNICODE_ENABLE = no
4SWAP_HANDS_ENABLE = no