aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2020-01-18 17:00:09 -0800
committerGitHub <noreply@github.com>2020-01-18 17:00:09 -0800
commiteaed517c0bfb10c9169457ba2a187c0c4b0eef2e (patch)
tree7bd12e3e3a8ea14fa6b54005ee71fc38c1738108
parentba628a28bcf09421739922d8eeef05e6ca9e9b6b (diff)
parentdff4f13c195ff8b799e886ec671d40d1448b55b9 (diff)
downloadqmk_firmware-eaed517c0bfb10c9169457ba2a187c0c4b0eef2e.tar.gz
qmk_firmware-eaed517c0bfb10c9169457ba2a187c0c4b0eef2e.zip
Added keymap for Space65 (#7562)
* Initial commit * Modified keymap and updated readme. * fixed numbering in readme * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Made requested changes in PR. * Rename README.md to readme.md * swapped media control keys * updated right alt key to apply shift key for emacs * updated R_Alt to remove shift * Updated readme * add layout 2 and rename existing folder to layout 4 - renamed existing folder with directional layout to layout 4 - udpated existing readme - Added layout_60_2 * update flash script per pull request review * Added keymap profile to space65 - This keymap profile is for MacOS with VIM key bindings - See readme for more information * Update keyboards/gray_studio/space65/keymaps/billiams/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/gray_studio/space65/keymaps/billiams/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/gray_studio/space65/keymaps/billiams/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/gray_studio/space65/keymaps/billiams/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/gray_studio/space65/keymaps/billiams/keymap.c Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * remove unnecessary code from keymap * updated keys and cleaned up readme Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
-rw-r--r--keyboards/dz60/keymaps/billiams_layout2/build_flash.sh (renamed from keyboards/dz60/keymaps/billiams/build_flash.sh)5
-rw-r--r--keyboards/dz60/keymaps/billiams_layout2/config.h (renamed from keyboards/dz60/keymaps/billiams/config.h)0
-rw-r--r--keyboards/dz60/keymaps/billiams_layout2/keymap.c48
-rw-r--r--keyboards/dz60/keymaps/billiams_layout2/readme.md68
-rw-r--r--keyboards/dz60/keymaps/billiams_layout4/build_flash.sh6
-rw-r--r--keyboards/dz60/keymaps/billiams_layout4/config.h1
-rw-r--r--keyboards/dz60/keymaps/billiams_layout4/keymap.c48
-rw-r--r--keyboards/dz60/keymaps/billiams_layout4/readme.md71
-rw-r--r--keyboards/gray_studio/space65/keymaps/billiams/config.h20
-rw-r--r--keyboards/gray_studio/space65/keymaps/billiams/keymap.c85
-rw-r--r--keyboards/gray_studio/space65/keymaps/billiams/readme.md80
11 files changed, 428 insertions, 4 deletions
diff --git a/keyboards/dz60/keymaps/billiams/build_flash.sh b/keyboards/dz60/keymaps/billiams_layout2/build_flash.sh
index e7a811144..116b0bf33 100644
--- a/keyboards/dz60/keymaps/billiams/build_flash.sh
+++ b/keyboards/dz60/keymaps/billiams_layout2/build_flash.sh
@@ -3,7 +3,4 @@
3# dfu-programmer atmega32u4 reset 3# dfu-programmer atmega32u4 reset
4 4
5# run this in the qmk_firmware directory 5# run this in the qmk_firmware directory
6make dz60:billiams 6make dz60:billiams_layout2:flash
7dfu-programmer atmega32u4 erase --force && \
8dfu-programmer atmega32u4 flash dz60_billiams.hex && \
9dfu-programmer atmega32u4 reset \ No newline at end of file
diff --git a/keyboards/dz60/keymaps/billiams/config.h b/keyboards/dz60/keymaps/billiams_layout2/config.h
index 9560d51a6..9560d51a6 100644
--- a/keyboards/dz60/keymaps/billiams/config.h
+++ b/keyboards/dz60/keymaps/billiams_layout2/config.h
diff --git a/keyboards/dz60/keymaps/billiams_layout2/keymap.c b/keyboards/dz60/keymaps/billiams_layout2/keymap.c
new file mode 100644
index 000000000..6f0ae55d1
--- /dev/null
+++ b/keyboards/dz60/keymaps/billiams_layout2/keymap.c
@@ -0,0 +1,48 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5 /* Qwerty
6 * ,-----------------------------------------------------------------------------------------.
7 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | Del |
8 * |-----------------------------------------------------------------------------------------+
9 * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Bkspc |
10 * |-----------------------------------------------------------------------------------------+
11 * | Fn | A | S | D | F | G | H | J | K | L | ; | ' | Enter |
12 * |-----------------------------------------------------------------------------------------+
13 * | Shift | Z | X | C | V | B | N | M | , | . | ?/ | Shift | ESC |
14 * |-----------------------------------------------------------------------------------------+
15 * | Ctrl | Alt | Cmd | Space | Cmd | Alt | Ctrl | Fn |
16 * `-----------------------------------------------------------------------------------------'
17 */
18
19 LAYOUT_60_2_function(
20 KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_DEL,
21 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
22 MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
23 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_ESCAPE,
24 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL, MO(1)
25 ),
26
27 /* FN Layer
28 * ,-----------------------------------------------------------------------------------------.
29 * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |Vol- |Vol+ |
30 * |-----------------------------------------------------------------------------------------+
31 * | |RBB T|RGB M| Hue-| Hue+| Sat-| Sat+| Val-| Val+| | | Mute| Prev | Next |
32 * |-----------------------------------------------------------------------------------------+
33 * | | | | | | | Left| Down| Up |Right| | | Play/Pause |
34 * |-----------------------------------------------------------------------------------------+
35 * | | | | | | | | |Scr- |Scr+ | | | |RESET|
36 * |-----------------------------------------------------------------------------------------+
37 * | | | | | | | | |
38 * `-----------------------------------------------------------------------------------------'
39 */
40
41 LAYOUT_60_2_function(
42 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC__VOLDOWN, KC__VOLUP,
43 _______, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, _______, KC_MUTE, KC_MRWD, KC_MFFD,
44 _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, KC_MPLY,
45 _______, _______, _______, _______, _______, _______, _______, KC_BRID, KC_BRIU, _______, _______, _______, RESET,
46 _______, _______, _______, _______, _______, _______, _______, _______
47 ),
48};
diff --git a/keyboards/dz60/keymaps/billiams_layout2/readme.md b/keyboards/dz60/keymaps/billiams_layout2/readme.md
new file mode 100644
index 000000000..bef96f467
--- /dev/null
+++ b/keyboards/dz60/keymaps/billiams_layout2/readme.md
@@ -0,0 +1,68 @@
1## Billiam's DZ60 60_2 layout (KBDFANS Layout 2 with split backspace and split right shift)
2
3This layout is optimized for MacOS and is for a Build 2 DZ60 with a 2U left shift, 1.75U right shift and no arrow cluster. Don't use this layout if you didn't get Build 2, you will enter a world of pain Donny.
4
5Settings:
6
7* The `CAPS LOCK` key is a function key.
8* The `ALT` and `CMD` keys are swapped to replicate the Mac layout.
9* RESET is available as `Fn`+ ` ESC`
10* Underglow toggle is available as `Fn` + `Q`. Yes your keyboard has lights even if you didn't get the LEDs. Bonus!
11* vim-style arrow key bindings H J K L in layer 1
12
13### Initial Installation
14
15I found the instructions to be longer than they had to be, and I ended up having to Google some steps anyway. These are the steps I took to get my keyboard setup, in case you are new to the process.
16
171. Clone the qmk_firmware repo locally
18```
19# Choose one:
20git clone git@github.com:qmk/qmk_firmware.git # OR
21git clone https://github.com/qmk/qmk_firmware.git
22```
232. Customize your layout by starting with a [keymap](https://github.com/qmk/qmk_firmware/tree/master/keyboards/dz60/keymaps). I copied [StephenGrier](https://github.com/qmk/qmk_firmware/tree/master/keyboards/dz60/keymaps/stephengrier)'s and modified it for DZ60 Build 4 and changed a few things, like the `grave` key, `ESC` and `/`.
24
253. Build your hex file
26```
27make dz60:billiams_layout2 # be in the qmk_firmware directory to do this
28```
29A hex file `dz60_billiams_layout2.hex` will be created in the base qmk_firmware directory
30
314. Before plugging in your keyboard into your computer, hold `SPACE` and `B` keys down
325. Holding those keys down, plug the keyboard into your computer, which will put the keyboard in bootlegger mode
336. If you are using [QMK toolbox](https://github.com/qmk/qmk_toolbox/releases), upload the .hex file you made above, select it and hit the flash button. For the love of all that is good and holy on Earth, don't hit the load button, that will load the default keymap and that's not what you want! Unless it is, in which case click away.
34
35Note: If you didn't follow my instructions in 4 and accidentally loaded the default keymap, then to `RESET` the keyboard and kick it into bootleg mode again, hold the `down arrow` key and `\`. The default layout is Build 1 and sets the `MENU` key on that build to `Fn`. `MENU` corresponds to `down arrow` in build 4. Note that you don't have to unplug the keyboard.
36
37Hope this helps!
38
39### 0 Qwerty
40```
41,-----------------------------------------------------------------------------------------.
42| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | DEL |
43|-----------------------------------------------------------------------------------------+
44| Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |
45|-----------------------------------------------------------------------------------------+
46| Fn | A | S | D | F | G | H | J | K | L | ; | ' | Enter |
47|-----------------------------------------------------------------------------------------+
48| Shift | Z | X | C | V | B | N | M | , | . | ?/ | Shift | ESC |
49|-----------------------------------------------------------------------------------------+
50| Ctrl | Alt | Cmd | Space | Cmd | Alt | Ctrl | Fn |
51`-----------------------------------------------------------------------------------------'
52```
53
54### 1 Fn Layer
55```
56FN Layer
57,-----------------------------------------------------------------------------------------.
58| ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |Vol- |Vol+ |
59|-----------------------------------------------------------------------------------------+
60| |RBB T|RGB M| Hue-| Hue+| Sat-| Sat+| Val-| Val+| | | Mute | Prev | Next |
61|-----------------------------------------------------------------------------------------+
62| | | | | | | Left| Down| Up |Right| | | Play/Pause |
63|-----------------------------------------------------------------------------------------+
64| | | | | | | | |Scr- |Scr+ | | | | RESET |
65|-----------------------------------------------------------------------------------------+
66| | | | | | | | |
67`-----------------------------------------------------------------------------------------'
68```
diff --git a/keyboards/dz60/keymaps/billiams_layout4/build_flash.sh b/keyboards/dz60/keymaps/billiams_layout4/build_flash.sh
new file mode 100644
index 000000000..8f9988ca0
--- /dev/null
+++ b/keyboards/dz60/keymaps/billiams_layout4/build_flash.sh
@@ -0,0 +1,6 @@
1# dfu-programmer atmega32u4 erase --force
2# dfu-programmer atmega32u4 flash /path/to/firmware.hex
3# dfu-programmer atmega32u4 reset
4
5# run this in the qmk_firmware directory
6make dz60:billiams_layout4:flash
diff --git a/keyboards/dz60/keymaps/billiams_layout4/config.h b/keyboards/dz60/keymaps/billiams_layout4/config.h
new file mode 100644
index 000000000..9560d51a6
--- /dev/null
+++ b/keyboards/dz60/keymaps/billiams_layout4/config.h
@@ -0,0 +1 @@
#define GRAVE_ESC_GUI_OVERRIDE # Always send Escape if GUI is pressed
diff --git a/keyboards/dz60/keymaps/billiams_layout4/keymap.c b/keyboards/dz60/keymaps/billiams_layout4/keymap.c
new file mode 100644
index 000000000..b1c75d903
--- /dev/null
+++ b/keyboards/dz60/keymaps/billiams_layout4/keymap.c
@@ -0,0 +1,48 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5 /* Qwerty
6 * ,-----------------------------------------------------------------------------------------.
7 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc |
8 * |-----------------------------------------------------------------------------------------+
9 * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |
10 * |-----------------------------------------------------------------------------------------+
11 * | Fn | A | S | D | F | G | H | J | K | L | ; | ' | Enter |
12 * |-----------------------------------------------------------------------------------------+
13 * | Shift | Z | X | C | V | B | N | M | , | . |Tap(/) Shft| U | ESC |
14 * |-----------------------------------------------------------------------------------------+
15 * | Ctrl | Alt | Cmd | Space | Alt | Fn | L | D | R |
16 * `-----------------------------------------------------------------------------------------'
17 */
18
19 LAYOUT_directional(
20 KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, _______, KC_BSPC,
21 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
22 MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
23 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, _______, RSFT_T(KC_SLSH) , KC_UP, KC_ESCAPE,
24 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT
25 ),
26
27 /* FN Layer
28 * ,-----------------------------------------------------------------------------------------.
29 * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DEL |
30 * |-----------------------------------------------------------------------------------------+
31 * | |RBB T|RGB M| Hue-| Hue+| Sat-| Sat+| Val-| Val+| Mute | Vol-| Vol+| Prev | Next |
32 * |-----------------------------------------------------------------------------------------+
33 * | | | | | | | Left| Down| Up |Right| | | Play/Pause |
34 * |-----------------------------------------------------------------------------------------+
35 * | | | | | | | | |Scr- |Scr+ | |PG_UP|RESET|
36 * |-----------------------------------------------------------------------------------------+
37 * | | | | | | | HOME|PG_DN| END |
38 * `-----------------------------------------------------------------------------------------'
39 */
40
41 LAYOUT_directional(
42 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL,
43 _______, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, KC_MUTE, KC__VOLDOWN, KC__VOLUP, KC_MRWD, KC_MFFD,
44 _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______,
45 KC_MPLY, _______, _______, _______, _______, _______, _______, _______, _______, KC_BRID, KC_BRIU, _______, _______, KC_PGUP, RESET,
46 _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDOWN, KC_END
47 ),
48};
diff --git a/keyboards/dz60/keymaps/billiams_layout4/readme.md b/keyboards/dz60/keymaps/billiams_layout4/readme.md
new file mode 100644
index 000000000..37bbd6a65
--- /dev/null
+++ b/keyboards/dz60/keymaps/billiams_layout4/readme.md
@@ -0,0 +1,71 @@
1## Billiam's DZ60 Directional layout
2
3This layout is optimized for MacOS and is for a Build 4 DZ60 with a 2U left shift, 2U right shift and an arrow
4cluster in the bottom right. Don't use this layout if you didn't get Build 4, you will enter a world of pain Donny.
5
6Settings:
7
8* The `CAPS LOCK` key is replaced with a second function key.
9* The `ALT` and `CMD` keys are swapped to replicate the Mac layout.
10* Del is available as `Fn` + `Backspace`
11* `/ ?` are available when you tap the right shift. Otherwise RShift is shift when held down
12* RESET is available as `Fn`+ ` ESC`
13* Underglow toggle is available as `Fn` + `Q`. Yes your keyboard has lights even if you didn't get the LEDs. Bonus!
14* vim-style arrow key bindings H J K L in layer 1
15
16### Initial Installation
17
18I found the instructions to be longer than they had to be, and I ended up having to Google some steps anyway. These are the steps I took to get my keyboard setup, in case you are new to the process.
19
201. Clone the qmk_firmware repo locally
21```
22# Choose one:
23git clone git@github.com:qmk/qmk_firmware.git # OR
24git clone https://github.com/qmk/qmk_firmware.git
25```
262. Customize your layout by starting with a [keymap](https://github.com/qmk/qmk_firmware/tree/master/keyboards/dz60/keymaps). I copied [StephenGrier](https://github.com/qmk/qmk_firmware/tree/master/keyboards/dz60/keymaps/stephengrier)'s and modified it for DZ60 Build 4 and changed a few things, like the `grave` key, `ESC` and `/`.
27
283. Build your hex file
29```
30make dz60:billiams_layout4 # be in the qmk_firmware directory to do this
31```
32A hex file `dz60_billiams_layout4.hex` will be created in the base qmk_firmware directory
33
344. Before plugging in your keyboard into your computer, hold `SPACE` and `B` keys down
355. Holding those keys down, plug the keyboard into your computer, which will put the keyboard in bootlegger mode
366. If you are using [QMK toolbox](https://github.com/qmk/qmk_toolbox/releases), upload the .hex file you made above, select it and hit the flash button. For the love of all that is good and holy on Earth, don't hit the load button, that will load the default keymap and that's not what you want! Unless it is, in which case click away.
37
38Note: If you didn't follow my instructions in 4 and accidentally loaded the default keymap, then to `RESET` the keyboard and kick it into bootleg mode again, hold the `down arrow` key and `\`. The default layout is Build 1 and sets the `MENU` key on that build to `Fn`. `MENU` corresponds to `down arrow` in build 4. Note that you don't have to unplug the keyboard.
39
40Hope this helps!
41
42### 0 Qwerty
43```
44,-----------------------------------------------------------------------------------------.
45| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bkspc |
46|-----------------------------------------------------------------------------------------+
47| Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |
48|-----------------------------------------------------------------------------------------+
49| Fn | A | S | D | F | G | H | J | K | L | ; | ' | Enter |
50|-----------------------------------------------------------------------------------------+
51| Shift | Z | X | C | V | B | N | M | , | . | Tap:/ RSh | U | ESC |
52|-----------------------------------------------------------------------------------------+
53| Ctrl | Alt | Cmd | Space | Alt | Fn | L | D | R |
54`-----------------------------------------------------------------------------------------'
55```
56
57### 1 Fn Layer
58```
59FN Layer
60,-----------------------------------------------------------------------------------------.
61| ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DEL |
62|-----------------------------------------------------------------------------------------+
63| |RBB T|RGB M| Hue-| Hue+| Sat-| Sat+| Val-| Val+| Mute | Vol-| Vol+| Prev | Next |
64|-----------------------------------------------------------------------------------------+
65| | | | | | | Left| Down| Up |Right| | | Play/Pause |
66|-----------------------------------------------------------------------------------------+
67| | | | | | | | |Scr- |Scr+ | | PG_UP |RESET|
68|-----------------------------------------------------------------------------------------+
69| | | | | | | HOME | PG_DN | END |
70`-----------------------------------------------------------------------------------------'
71```
diff --git a/keyboards/gray_studio/space65/keymaps/billiams/config.h b/keyboards/gray_studio/space65/keymaps/billiams/config.h
new file mode 100644
index 000000000..c2fdc9108
--- /dev/null
+++ b/keyboards/gray_studio/space65/keymaps/billiams/config.h
@@ -0,0 +1,20 @@
1/* Copyright 2019 MechMerlin
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 GRAVE_ESC_GUI_OVERRIDE # Always send Escape if GUI is pressed
diff --git a/keyboards/gray_studio/space65/keymaps/billiams/keymap.c b/keyboards/gray_studio/space65/keymaps/billiams/keymap.c
new file mode 100644
index 000000000..9a0a00403
--- /dev/null
+++ b/keyboards/gray_studio/space65/keymaps/billiams/keymap.c
@@ -0,0 +1,85 @@
1/* Copyright 2019 MechMerlin
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#include QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19
20 /* Qwerty
21 * ,------------------------------------------------------------------------------------------------.
22 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | DEL | INS |
23 * |------------------------------------------------------------------------------------------------+
24 * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Bkspc | PGUP |
25 * |------------------------------------------------------------------------------------------------+
26 * | Fn1 | A | S | D | F | G | H | J | K | L | ; | ' | Enter | PGDN |
27 * |------------------------------------------------------------------------------------------------+
28 * | Shift | Z | X | C | V | B | N | M | , | . | ?/ | Shift | Up | ESC |
29 * |------------------------------------------------------------------------------------------------+
30 * | Ctrl | Alt | Cmd | Space | Alt | Ctrl | Left | Down | Right |
31 * `------------------------------------------------------------------------------------------------'
32 */
33
34[0] = LAYOUT( \
35 KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_DEL, KC_INS, \
36 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGUP, \
37 MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, \
38 KC_LSFT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_ESC, \
39 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
40 ),
41
42 /* 1st Layer
43 * ,------------------------------------------------------------------------------------------------.
44 * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |Vol- |Vol+ | Next |
45 * |------------------------------------------------------------------------------------------------+
46 * | |RGB T|RGB M| Hue-| Hue+| Sat-| Sat+| Val-| Val+| | | | | | Prev |
47 * |------------------------------------------------------------------------------------------------+
48 * | | RGBP | RGPG | RGPK | | | Left| Down| Up |Right| | | Play/Pause | |
49 * |------------------------------------------------------------------------------------------------+
50 * | | | | | | | | | | Scr- | Scr+ | | | PGUP | |
51 * |------------------------------------------------------------------------------------------------+
52 * | | | | | | Fn2 | HOME | PGDN | END |
53 * `------------------------------------------------------------------------------------------------'
54 */
55
56[1] = LAYOUT( \
57 KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_VOLD, KC_VOLU, KC_MFFD, \
58 KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, RGB_SPD, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_MRWD, \
59 KC_TRNS, RGB_M_P, RGB_M_G, RGB_M_K, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_TRNS, KC_MPLY, KC_TRNS, \
60 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BRID, KC_BRIU, KC_TRNS, KC_TRNS, KC_PGUP, KC_TRNS, \
61 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, MO(2), KC_HOME, KC_PGDN, KC_END \
62 ),
63
64 /* 2nd Layer
65 * ,------------------------------------------------------------------------------------------------.
66 * | | | | | | | | | | | | | | | | |
67 * |------------------------------------------------------------------------------------------------+
68 * | | | | | | | | | | | | | | | |
69 * |------------------------------------------------------------------------------------------------+
70 * | | | | | | | | | | | | | | |
71 * |------------------------------------------------------------------------------------------------+
72 * | | | | | | | | | | | | | | | RESET |
73 * |------------------------------------------------------------------------------------------------+
74 * | | | | | | | | | |
75 * `------------------------------------------------------------------------------------------------'
76 */
77
78[2] = LAYOUT( \
79 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
80 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
81 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
82 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, \
83 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS \
84 ),
85};
diff --git a/keyboards/gray_studio/space65/keymaps/billiams/readme.md b/keyboards/gray_studio/space65/keymaps/billiams/readme.md
new file mode 100644
index 000000000..bf14fbfe9
--- /dev/null
+++ b/keyboards/gray_studio/space65/keymaps/billiams/readme.md
@@ -0,0 +1,80 @@
1## Billiam's Space65 layout (with split backspace)
2
3This layout is optimized for vim users on MacOS with a split backspace.
4
5Settings:
6
7* The `CAPS LOCK` key is a function key.
8* The `ALT` and `CMD` keys are swapped to replicate the Mac layout.
9* RESET is available as `Fn`+ `Right Ctrl` + `ESC`
10* Underglow toggle is available as `Fn` + `Q`.
11* vim-style arrow key bindings H J K L in layer 1
12
13### Initial Installation
14
15I found the instructions to be longer than they had to be, and I ended up having to Google some steps anyway. These are the steps I took to get my keyboard setup, in case you are new to the process.
16
171. Fork and Clone the qmk_firmware repo locally
18```
19# Choose one:
20git clone git@github.com:qmk/qmk_firmware.git # OR
21git clone https://github.com/qmk/qmk_firmware.git
22```
232. Customize your layout by starting with a [keymap](https://github.com/qmk/qmk_firmware/tree/master/keyboards/gray_studio/space65/keymaps). I copied the default and changed it to my liking.
243. Before plugging in your keyboard into your computer, hold `ESC` key down
254. Plug the keyboard into your computer, which will put the keyboard in bootloader mode.
265. Build your hex file and flash your keyboard
27```
28make gray_studio/space65:billiams:flash # be in the qmk_firmware directory to do this
29```
30
31Notes:
32- If you are using QMK Toolbox, use `make gray_studio/space65:<keymap>` in the base qmk_firmware directory instead of step 5 above which will create a hex file `gray_studio_space65_billiams.hex` which you can then choose in the toolbox and hit flash
33- If you accidentally loaded the default keymap, then to `RESET` the keyboard and kick it into bootloader mode again, hold the `ESC` key and plug the board in.
34
35Hope this helps!
36
37### 0 Qwerty
38```
39,------------------------------------------------------------------------------------------------.
40| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | Del | INS |
41|------------------------------------------------------------------------------------------------+
42| Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Bkspc | PGUP |
43|------------------------------------------------------------------------------------------------+
44| Fn1 | A | S | D | F | G | H | J | K | L | ; | ' | Enter | PGDN |
45|------------------------------------------------------------------------------------------------+
46| Shift | Z | X | C | V | B | N | M | , | . | ?/ | Shift | up | ESC |
47|------------------------------------------------------------------------------------------------+
48| Ctrl | Alt | Cmd | Space | Alt | Ctrl | Left | Down | Right |
49`------------------------------------------------------------------------------------------------'
50```
51
52### 1 Fn Layer
53```
54,------------------------------------------------------------------------------------------------.
55| | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |Vol- |Vol+ | Next |
56|------------------------------------------------------------------------------------------------+
57| |RGB T|RGB M| Hue-| Hue+| Sat-| Sat+| Val-| Val+| Spd- | Spd+ | | | | Prev |
58|------------------------------------------------------------------------------------------------+
59| | RGBP | RGBG | RGBK | | | Left| Down| Up |Right| | | Play/Pause | |
60|------------------------------------------------------------------------------------------------+
61| | | | | | | | | | Scr- | Scr+ | | |PGUP | |
62|------------------------------------------------------------------------------------------------+
63| | | | | | Fn2 | HOME | PGDN | END |
64`------------------------------------------------------------------------------------------------'
65```
66
67### 2 Fn Layer - Just for bootloader mode button
68```
69,------------------------------------------------------------------------------------------------.
70| | | | | | | | | | | | | | | | |
71|------------------------------------------------------------------------------------------------+
72| | | | | | | | | | | | | | | |
73|------------------------------------------------------------------------------------------------+
74| | | | | | | | | | | | | | |
75|------------------------------------------------------------------------------------------------+
76| | | | | | | | | | | | | | | RESET |
77|------------------------------------------------------------------------------------------------+
78| | | | | | | | | |
79`------------------------------------------------------------------------------------------------'
80```