diff options
| -rw-r--r-- | keyboards/keebio/iris/keymaps/gary/README.md | 18 | ||||
| -rw-r--r-- | keyboards/keebio/iris/keymaps/gary/config.h | 12 | ||||
| -rw-r--r-- | keyboards/keebio/iris/keymaps/gary/keymap.c | 47 | ||||
| -rw-r--r-- | keyboards/keebio/iris/keymaps/gary/rules.mk | 2 | ||||
| -rw-r--r-- | users/gary/gary.c | 1 | ||||
| -rw-r--r-- | users/gary/gary.h | 43 | ||||
| -rw-r--r-- | users/gary/readme.md | 14 | ||||
| -rw-r--r-- | users/gary/rules.mk | 1 |
8 files changed, 138 insertions, 0 deletions
diff --git a/keyboards/keebio/iris/keymaps/gary/README.md b/keyboards/keebio/iris/keymaps/gary/README.md new file mode 100644 index 000000000..fd50751d8 --- /dev/null +++ b/keyboards/keebio/iris/keymaps/gary/README.md | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | # Gary's Iris Layout | ||
| 2 | |||
| 3 | My personal keymap for my Iris. | ||
| 4 | |||
| 5 | Copyright 2019 Gary @garyjzhao | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
diff --git a/keyboards/keebio/iris/keymaps/gary/config.h b/keyboards/keebio/iris/keymaps/gary/config.h new file mode 100644 index 000000000..186aee502 --- /dev/null +++ b/keyboards/keebio/iris/keymaps/gary/config.h | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | /* Use I2C or Serial, not both */ | ||
| 4 | |||
| 5 | #define USE_SERIAL | ||
| 6 | // #define USE_I2C | ||
| 7 | |||
| 8 | /* Select hand configuration */ | ||
| 9 | |||
| 10 | #define MASTER_LEFT | ||
| 11 | // #define MASTER_RIGHT | ||
| 12 | // #define EE_HANDS | ||
diff --git a/keyboards/keebio/iris/keymaps/gary/keymap.c b/keyboards/keebio/iris/keymaps/gary/keymap.c new file mode 100644 index 000000000..41ac9207b --- /dev/null +++ b/keyboards/keebio/iris/keymaps/gary/keymap.c | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | #include "gary.h" | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | [_QWERTY] = LAYOUT_kc( | ||
| 6 | //,----+----+----+----+----+----. ,----+----+----+----+----+----. | ||
| 7 | ESC , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 ,BSPC, | ||
| 8 | //|----+----+----+----+----+----| |----+----+----+----+----+----| | ||
| 9 | TAB , Q , W , E , R , T , Y , U , I , O , P ,DEL , | ||
| 10 | //|----+----+----+----+----+----| |----+----+----+----+----+----| | ||
| 11 | RASE, A , S , D , F , G , H , J , K , L ,SCLN,QUOT, | ||
| 12 | //|----+----+----+---- +----+----+----. ,----|----+----+----+----+----+----| | ||
| 13 | LSFT, Z , X , C , V , B ,NEXT, FULL , N , M ,COMM,DOT ,SLSH,SFTENT, | ||
| 14 | //`----+----+----+--+-+----+----+----/ \----+----+----+----+----+----+----' | ||
| 15 | LGUI,LOWR,SPC , GARY, ENT,LALT | ||
| 16 | // `----+----+----' `----+----+----' | ||
| 17 | ), | ||
| 18 | |||
| 19 | |||
| 20 | [_LOWER] = LAYOUT_kc( | ||
| 21 | //,----+----+----+----+----+----. ,----+----+----+----+----+----. | ||
| 22 | GRV ,EXLM, AT ,HASH,DLR ,PERC, CIRC,AMPR,ASTR,LPRN,RPRN,BSPC, | ||
| 23 | //|----+----+----+----+----+----| |----+----+----+----+----+----| | ||
| 24 | CLTB, ,CNTR,UPLF,UPRG, , , ,PLUS,LBRC,RBRC,OPASS, | ||
| 25 | //|----+----+----+----+----+----| |----+----+----+----+----+----| | ||
| 26 | ,LHLF,RHLF,DNLF,DNRG, , , ,MINS, , ,PIPE, | ||
| 27 | //|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----|` | ||
| 28 | , , ,CTLC, , , , , , , ,EQL , ,UNDS , | ||
| 29 | //`----+----+----+--+-+----+----+----/ \----+----+----+----+----+----+----' | ||
| 30 | , ,DEL , BSPC , , | ||
| 31 | // `----+----+----' `----+----+----' | ||
| 32 | ), | ||
| 33 | |||
| 34 | [_RAISE] = LAYOUT_kc( | ||
| 35 | //,----+----+----+----+----+----. ,----+----+----+----+----+----. | ||
| 36 | TILD, F1 , F2 , F3 ,SHOT, F5 , F6 , F7 , F8 , F9 ,F10 ,F11 , | ||
| 37 | //|----+----+----+----+----+----| |----+----+----+----+----+----| | ||
| 38 | ,MPRV,MPLY,MNXT, , , ,PGUP, UP ,PGDN, , , | ||
| 39 | //|----+----+----+----+----+----| |----+----+----+----+----+----| | ||
| 40 | , ,VOLD,VOLU,MUTE, , ,LEFT,DOWN,RGHT, , , | ||
| 41 | //|----+----+----+----+----+----+----. ,----|----+----+----+----+----+----| | ||
| 42 | , , , , , , , RST, , , , , , , | ||
| 43 | //`----+----+----+--+-+----+----+----/ \----+----+----+----+----+----+----' | ||
| 44 | ,LALT, , , , | ||
| 45 | // `----+----+----' `----+----+----' | ||
| 46 | ), | ||
| 47 | }; | ||
diff --git a/keyboards/keebio/iris/keymaps/gary/rules.mk b/keyboards/keebio/iris/keymaps/gary/rules.mk new file mode 100644 index 000000000..2df7e9a20 --- /dev/null +++ b/keyboards/keebio/iris/keymaps/gary/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | RGBLIGHT_ENABLE = no | ||
| 2 | EXTRAKEY_ENABLE = yes | ||
diff --git a/users/gary/gary.c b/users/gary/gary.c new file mode 100644 index 000000000..aa49e7d65 --- /dev/null +++ b/users/gary/gary.c | |||
| @@ -0,0 +1 @@ | |||
| #include "gary.h" | |||
diff --git a/users/gary/gary.h b/users/gary/gary.h new file mode 100644 index 000000000..10f233159 --- /dev/null +++ b/users/gary/gary.h | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | #pragma once | ||
| 4 | #define USE_SERIAL | ||
| 5 | #define MASTER_LEFT | ||
| 6 | |||
| 7 | // Layers | ||
| 8 | // #define BASE 0 // Base layer | ||
| 9 | // #define FCTN 4 // Function | ||
| 10 | #define _QWERTY 0 | ||
| 11 | #define _LOWER 1 | ||
| 12 | #define _RAISE 2 | ||
| 13 | |||
| 14 | enum custom_keycodes { | ||
| 15 | QWERTY = SAFE_RANGE, | ||
| 16 | LOWER, | ||
| 17 | RAISE, | ||
| 18 | }; | ||
| 19 | |||
| 20 | #define KC_RST RESET | ||
| 21 | #define KC_ KC_TRNS | ||
| 22 | |||
| 23 | #define KC_LOWR MO(_LOWER) // Lower layer | ||
| 24 | #define KC_RASE MO(_RAISE) // Raise layer | ||
| 25 | #define KC_CTLC C(KC_C) | ||
| 26 | #define KC_CLTB C(KC_TAB) | ||
| 27 | #define KC_OPASS G(KC_BSLS) // GUI + Back Slash | ||
| 28 | #define KC_GARY LT(_RAISE, KC_SPC) // Hold for Raise, Tap for Space | ||
| 29 | |||
| 30 | #define KC_SHOT SCMD(C(KC_4)) // Screenshot to Paste | ||
| 31 | |||
| 32 | // Window Management | ||
| 33 | #define KC_FULL A(G(KC_F)) // Full Screen | ||
| 34 | #define KC_CNTR A(G(KC_C)) // Center | ||
| 35 | #define KC_LHLF A(G(KC_LEFT)) // Left Half | ||
| 36 | #define KC_RHLF A(G(KC_RGHT)) // Right Half | ||
| 37 | |||
| 38 | #define KC_UPLF C(G(KC_LEFT)) // Upper Left | ||
| 39 | #define KC_UPRG C(G(KC_RGHT)) // Upper Right | ||
| 40 | #define KC_DNLF S(C(G(KC_LEFT))) // Lower Left | ||
| 41 | #define KC_DNRG S(C(G(KC_RGHT))) // Lower Right | ||
| 42 | |||
| 43 | #define KC_NEXT LCAG(KC_LEFT) // Move the Window to next display | ||
diff --git a/users/gary/readme.md b/users/gary/readme.md new file mode 100644 index 000000000..a8c22e5ae --- /dev/null +++ b/users/gary/readme.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | Copyright 2019 Gary @garyjzhao | ||
| 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/>. | ||
diff --git a/users/gary/rules.mk b/users/gary/rules.mk new file mode 100644 index 000000000..b6aa3490b --- /dev/null +++ b/users/gary/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| SRC += gary.c | |||
