aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrady Sigler <grady.sigler@imaginelearning.com>2018-10-08 20:50:42 -0600
committerDrashna Jaelre <drashna@live.com>2018-10-08 19:50:42 -0700
commit42add5450d453d734833a7b978e4ab6907ab1fe1 (patch)
tree9bd18e6eb1a59cd15fafb355e9fe130668263197
parentbe227b43174f6ec9effbbfc25eb9a853b42cbf2f (diff)
downloadqmk_firmware-42add5450d453d734833a7b978e4ab6907ab1fe1.tar.gz
qmk_firmware-42add5450d453d734833a7b978e4ab6907ab1fe1.zip
Keymap: Iris Keymap (#4100)
* IRIS Keyboard Keymap I wanted a keymap that really changed things up. I also found that as a programmer I need as many symbols as I can get. * Make cmd-option-escape work on a mac * Add more prettyfication. * Add other types of hold * More work on the layer keys * tweaks * More tweaks. * more tweaks * Remove OSL/OSM they didnt seem to work very well
-rw-r--r--keyboards/iris/keymaps/gsigler/config.h33
-rw-r--r--keyboards/iris/keymaps/gsigler/keymap.c74
-rw-r--r--keyboards/iris/keymaps/gsigler/rules.mk3
3 files changed, 110 insertions, 0 deletions
diff --git a/keyboards/iris/keymaps/gsigler/config.h b/keyboards/iris/keymaps/gsigler/config.h
new file mode 100644
index 000000000..e1793fb1b
--- /dev/null
+++ b/keyboards/iris/keymaps/gsigler/config.h
@@ -0,0 +1,33 @@
1/*
2Copyright 2018 Grady Sigler <gradysigler@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* Use I2C or Serial, not both */
21
22#define USE_SERIAL
23// #define USE_I2C
24
25/* Select hand configuration */
26
27#define MASTER_LEFT
28// #define MASTER_RIGHT
29// #define EE_HANDS
30
31#define AUTO_SHIFT_TIMEOUT 95
32#define ONESHOT_TAP_TOGGLE 5 /* Tapping this number of times holds the key until tapped this number of times again. */
33#define ONESHOT_TIMEOUT 5000 /* Time (in ms) before the one shot key is released */
diff --git a/keyboards/iris/keymaps/gsigler/keymap.c b/keyboards/iris/keymaps/gsigler/keymap.c
new file mode 100644
index 000000000..f8753cbdc
--- /dev/null
+++ b/keyboards/iris/keymaps/gsigler/keymap.c
@@ -0,0 +1,74 @@
1#include QMK_KEYBOARD_H
2
3extern keymap_config_t keymap_config;
4
5enum iris_layers {
6 _QWERTY,
7 _LOWER,
8 _RAISE
9};
10
11#define LOWER MO(_LOWER)
12#define RAISE MO(_RAISE)
13
14
15const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
16
17 [_QWERTY] = LAYOUT(
18 //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
19 //| `/~ | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | _/- |
20 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
21 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
22 //| TAB | Q | W | E | R | T | | Y | U | I | O | P | +/= |
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_EQL,
24 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
25 //| RAISE | A | S | D | F | G | | H | J | K | L | :/; | "/' |
26 RAISE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
27 //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
28 //| LOWER | Z | X | C | V | B | ESC | | ALT | N | M | </, | >/. | ?-/ | |-\ |
29 LOWER, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_ESC, KC_LALT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSLS,
30 //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
31 // | CTRL | COMMAND| BKSPACE| | SPACE | ENTER | SHIFT |
32 KC_LCTL, KC_LGUI, KC_BSPC, KC_SPC, KC_ENT, KC_LSFT
33 // └────────┴────────┴────────┘ └────────┴────────┴────────┘
34 ),
35//KC_LALT ALT
36 [_RAISE] = LAYOUT(
37 //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
38 //| `/~ | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
39 KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
40 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
41 //| TAB | ! | @ | { | } | | | | | | ↑ | | | F12 |
42 KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, KC_F12,
43 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
44 //| RAISE | # | $ | ( | ) | ` | | ? | ← | ↓ | → | | VOLUP |
45 KC_TRNS, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, KC_QUES, KC_LEFT,KC_DOWN, KC_RGHT, XXXXXXX, KC__VOLUP,
46 //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
47 //| | % | ^ | [ | ] | ~ | ESC | ALT | & | | | | MUTE | VOLDN |
48 XXXXXXX, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, KC_TRNS, KC_TRNS, KC_AMPR, XXXXXXX, XXXXXXX,XXXXXXX, KC__MUTE,KC__VOLDOWN,
49 //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
50 // | CTRL | COMMAND| BKSPACE| | SPACE | ENTER | SHIFT|
51 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
52 // └────────┴────────┴────────┘ └────────┴────────┴────────┘
53 ),
54
55 [_LOWER] = LAYOUT(
56 //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
57 //| | | | | | | | | 7 | 8 | 9 | * | / |
58 KC_ASUP, KC_ASON, KC_ASRP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_P7, KC_P8, KC_P9, KC_PAST, KC_PSLS,
59 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
60 //| | | | | | | | | 4 | 5 | 6 | + | - |
61 KC_ASDN, KC_ASOFF, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_P4, KC_P5, KC_P6, KC_PPLS, KC_PMNS,
62 //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
63 //| | | | | | | | | 1 | 2 | 3 | | |
64 XXXXXXX, KC_ASTG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_P1, KC_P2, KC_P3, XXXXXXX, XXXXXXX,
65 //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
66 //| LOWER | | | | | | ESC | | ALT | | 0 | . | ENTER | = | |
67 KC_TRNS, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_TRNS, KC_TRNS, XXXXXXX, KC_P0, KC_PDOT, KC_PENT, KC_PEQL, XXXXXXX,
68 //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
69 // | CTRL | COMMAND| BKSPACE | | SPACE | ENTER | SHIFT |
70 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
71 // └────────┴────────┴────────┘ └────────┴────────┴────────┘
72 ),
73
74};
diff --git a/keyboards/iris/keymaps/gsigler/rules.mk b/keyboards/iris/keymaps/gsigler/rules.mk
new file mode 100644
index 000000000..0abc28fc5
--- /dev/null
+++ b/keyboards/iris/keymaps/gsigler/rules.mk
@@ -0,0 +1,3 @@
1RGBLIGHT_ENABLE = yes
2BACKLIGHT_ENABLE = yes
3AUTO_SHIFT_ENABLE = yes