aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keebio/iris/keymaps/rs
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/iris/keymaps/rs')
-rw-r--r--keyboards/keebio/iris/keymaps/rs/config.h38
-rw-r--r--keyboards/keebio/iris/keymaps/rs/karabiner.json154
-rw-r--r--keyboards/keebio/iris/keymaps/rs/keymap.c48
-rw-r--r--keyboards/keebio/iris/keymaps/rs/readme.md13
-rw-r--r--keyboards/keebio/iris/keymaps/rs/rules.mk1
5 files changed, 254 insertions, 0 deletions
diff --git a/keyboards/keebio/iris/keymaps/rs/config.h b/keyboards/keebio/iris/keymaps/rs/config.h
new file mode 100644
index 000000000..7c5b5ca43
--- /dev/null
+++ b/keyboards/keebio/iris/keymaps/rs/config.h
@@ -0,0 +1,38 @@
1/*
2Copyright 2017 Danny Nguyen <danny@hexwire.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 TAPPING_TERM 150
32
33#undef RGBLED_NUM
34#define RGBLED_NUM 6
35#define RGBLIGHT_SLEEP
36#define RGBLIGHT_HUE_STEP 1
37#define RGBLIGHT_SAT_STEP 1
38#define RGBLIGHT_VAL_STEP 1 \ No newline at end of file
diff --git a/keyboards/keebio/iris/keymaps/rs/karabiner.json b/keyboards/keebio/iris/keymaps/rs/karabiner.json
new file mode 100644
index 000000000..f5214650a
--- /dev/null
+++ b/keyboards/keebio/iris/keymaps/rs/karabiner.json
@@ -0,0 +1,154 @@
1{
2 "title": "RS",
3 "rules": [{
4 "description": "CapsLock to Escape / Control Mod-Tap",
5 "manipulators": [{
6 "type": "basic",
7 "from": {
8 "key_code": "caps_lock",
9 "modifiers": {
10 "optional": ["any"]
11 }
12 },
13 "to": [{"key_code": "left_control"}],
14 "to_if_alone": [{"key_code": "escape"}]
15 }]
16 },
17 {
18 "description": "Right-Shift / Enter Mod-Tap",
19 "manipulators": [{
20 "type": "basic",
21 "from": {
22 "key_code": "right_shift",
23 "modifiers": {
24 "optional": ["any"]
25 }
26 },
27 "to": [{"key_code": "right_shift"}],
28 "to_if_alone": [{"key_code": "return_or_enter"}]
29 }]
30 },
31 {
32 "description": "Right-Command / Backspace Mod-Tap",
33 "manipulators": [{
34 "type": "basic",
35 "from": {
36 "key_code": "right_command",
37 "modifiers": {
38 "optional": ["any"]
39 }
40 },
41 "to": [{"key_code": "right_command"}],
42 "to_if_alone": [{"key_code": "delete_or_backspace"}]
43 }]
44 },
45 {
46 "description": "Right-Command Accents",
47 "manipulators": [
48 {
49 "type": "basic",
50 "from": {
51 "key_code": "a",
52 "modifiers": {
53 "mandatory": ["right_command"],
54 "optional": ["left_shift", "right_shift"]
55 }
56 },
57 "to": [
58 {"key_code": "grave_accent_and_tilde", "modifiers": ["left_option"]},
59 {"key_code": "a"}
60 ]
61 }]
62 },
63 {
64 "description": "Right Command Navigation",
65 "manipulators": [{
66 "type": "basic",
67 "from": {
68 "key_code": "j",
69 "modifiers": {
70 "mandatory": ["right_command"],
71 "optional": ["any"]
72 }
73 },
74 "to": [{"key_code": "left_arrow"}]
75 },
76 {
77 "type": "basic",
78 "from": {
79 "key_code": "k",
80 "modifiers": {
81 "mandatory": ["right_command"],
82 "optional": ["any"]
83 }
84 },
85 "to": [{"key_code": "down_arrow"}]
86 },
87 {
88 "type": "basic",
89 "from": {
90 "key_code": "i",
91 "modifiers": {
92 "mandatory": ["right_command"],
93 "optional": ["any"]
94 }
95 },
96 "to": [{"key_code": "up_arrow"}]
97 },
98 {
99 "type": "basic",
100 "from": {
101 "key_code": "l",
102 "modifiers": {
103 "mandatory": ["right_command"],
104 "optional": ["any"]
105 }
106 },
107 "to": [{"key_code": "right_arrow"}]
108 },
109 {
110 "type": "basic",
111 "from": {
112 "key_code": "e",
113 "modifiers": {
114 "mandatory": ["right_command"],
115 "optional": ["any"]
116 }
117 },
118 "to": [{"key_code": "page_up"}]
119 },
120 {
121 "type": "basic",
122 "from": {
123 "key_code": "d",
124 "modifiers": {
125 "mandatory": ["right_command"],
126 "optional": ["any"]
127 }
128 },
129 "to": [{"key_code": "page_down"}]
130 },
131 {
132 "type": "basic",
133 "from": {
134 "key_code": "s",
135 "modifiers": {
136 "mandatory": ["right_command"],
137 "optional": ["any"]
138 }
139 },
140 "to": [{"key_code": "home"}]
141 },
142 {
143 "type": "basic",
144 "from": {
145 "key_code": "f",
146 "modifiers": {
147 "mandatory": ["right_command"],
148 "optional": ["any"]
149 }
150 },
151 "to": [{"key_code": "end"}]
152 }]
153 }]
154}
diff --git a/keyboards/keebio/iris/keymaps/rs/keymap.c b/keyboards/keebio/iris/keymaps/rs/keymap.c
new file mode 100644
index 000000000..43374e59f
--- /dev/null
+++ b/keyboards/keebio/iris/keymaps/rs/keymap.c
@@ -0,0 +1,48 @@
1#include QMK_KEYBOARD_H
2
3enum layers {
4 _QWERTY,
5 _HYPER,
6};
7
8#define KC_ KC_TRNS
9
10#define KC_ESCC MT(MOD_LCTL, KC_ESC)
11#define KC_ENTS MT(MOD_LSFT, KC_ENT)
12#define KC_HYPE MO(_HYPER)
13#define KC_RST RESET
14// Brightness
15#define KC_BRUP KC_PAUS
16#define KC_BRDN KC_SLCK
17#define KC_BLTG BL_TOGG
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20
21 [_QWERTY] = LAYOUT_kc(
22 //,----+----+----+----+----+----. ,----+----+----+----+----+----.
23 GRV , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 ,MINS,
24 //|----+----+----+----+----+----| |----+----+----+----+----+----|
25 TAB , Q , W , E , R , T , Y , U , I , O , P ,EQL,
26 //|----+----+----+----+----+----| |----+----+----+----+----+----|
27 ESCC, A , S , D , F , G , H , J , K , L ,SCLN,QUOT,
28 //|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
29 LSFT, Z , X , C , V , B ,SPC, BSPC, N , M ,COMM,DOT ,SLSH,ENTS,
30 //`----+----+----+--+-+----+----+----/ \----+----+----+----+----+----+----'
31 LALT,LGUI,SPC, BSPC,HYPE,ENT
32 // `----+----+----' `+---+----+----'
33 ), // |
34 // |
35 [_HYPER] = LAYOUT_kc( // V
36 //,----+----+----+----+----+----. ,----+----+----+----+----+----.
37 RST , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 ,LBRC,RBRC, ,
38 //|----+----+----+----+----+----| |----+----+----+----+----+----|
39 , , ,PGUP, ,BRUP, , , UP ,LCBR,RCBR,BSLS,
40 //|----+----+----+----+----+----| |----+----+----+----+----+----|
41 , ,HOME,PGDN,END ,BRDN, MINS,LEFT,DOWN,RGHT, ,PIPE,
42 //|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|
43 , , , , , ,BLTG, VOLU, , , , , , ,
44 //`----+----+----+--+-+----+----+----/ \----+----+----+----+----+----+----'
45 , , , VOLD, ,MUTE
46 // `----+----+----' `----+----+----'
47 ),
48};
diff --git a/keyboards/keebio/iris/keymaps/rs/readme.md b/keyboards/keebio/iris/keymaps/rs/readme.md
new file mode 100644
index 000000000..bdf44121e
--- /dev/null
+++ b/keyboards/keebio/iris/keymaps/rs/readme.md
@@ -0,0 +1,13 @@
1# Code friendly 60% keymap
2
3I developped this keymap to make a better use of 60% ortho keyboards I use like the preonic of the iris. Instead of trying to mimic the Planck layout like the default preonic keymap, this keymap removes the raise and lower layers and offers a simpler hyper layer concept for a few missing sign keys and cursors / media keys.
4
5The important part for coders is that most important signs needed to code are available at their usual position on a full keyboard, without complex layer gymnastic. Access to [] and {} are available on the hyper layer at their usual emplacement.
6
7The right thumb is used for both backspace and hyper layer switching. On the hyper layer, in addition to some coding signs, you get the cursor keys arranged in cross, just under your right fingers, so you don't have to move your hand when navigating in code or command line. Other hand gets the home/end page up/down in a similar layout.
8
9Because you sometime have to use your internal keyboard when you use a macbook, a karabiner configuration is also provided to get most of the features of this keyboard, including the hyper layer / backspace on right command key etc.
10
11This keymap is also available for other keyboards:
12- [ortho_5x12/rs](../../../../layouts/community/ortho_5x12/rs/keymap.c)
13- [ErgoTravel/rs](../../../ergotravel/keymaps/rs/keymap.c)
diff --git a/keyboards/keebio/iris/keymaps/rs/rules.mk b/keyboards/keebio/iris/keymaps/rs/rules.mk
new file mode 100644
index 000000000..bd518d8f2
--- /dev/null
+++ b/keyboards/keebio/iris/keymaps/rs/rules.mk
@@ -0,0 +1 @@
BACKLIGHT_ENABLE = yes