aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan Bussell <36081148+lbussell@users.noreply.github.com>2018-08-26 12:33:43 -0400
committerDrashna Jaelre <drashna@live.com>2018-08-26 09:33:43 -0700
commit0680bfe03de6538b13fafa747139b26713ddb80b (patch)
treec8ba8c2a6e8db0d0b8a19a9fbec778f1024d1fd5
parenta63d4774f5115b91703936183a39a4724b44b94d (diff)
downloadqmk_firmware-0680bfe03de6538b13fafa747139b26713ddb80b.tar.gz
qmk_firmware-0680bfe03de6538b13fafa747139b26713ddb80b.zip
Keymap: Made changes to buswerks ortho_4x12 keymap (#3757)
* Added buswerks keymap * cleaned up comments on buswerks keymap * Added buswerks keymap readme.md * Fixed spelling in buswerks readme.md * Removed unnecessary includes, changed process_record_user to now use set_single_persistent_default_layer(), removed deprecated functions, and moved the audio ifdef block to config.h * Changed buswerks ortho_4x12 layout to accommodate 'MIT' layout * Updated README.md to reflect layout changes
-rw-r--r--layouts/community/ortho_4x12/buswerks/keymap.c28
-rw-r--r--layouts/community/ortho_4x12/buswerks/readme.md23
2 files changed, 29 insertions, 22 deletions
diff --git a/layouts/community/ortho_4x12/buswerks/keymap.c b/layouts/community/ortho_4x12/buswerks/keymap.c
index 776ea461b..c05c26418 100644
--- a/layouts/community/ortho_4x12/buswerks/keymap.c
+++ b/layouts/community/ortho_4x12/buswerks/keymap.c
@@ -15,6 +15,7 @@ enum custom_keycodes {
15 DVORAK, 15 DVORAK,
16 LOWER, 16 LOWER,
17 RAISE, 17 RAISE,
18 NAV,
18 ADJUST, 19 ADJUST,
19}; 20};
20 21
@@ -29,17 +30,22 @@ enum custom_keycodes {
29#define KC_RASE RAISE 30#define KC_RASE RAISE
30#define KC_ADJ ADJUST 31#define KC_ADJ ADJUST
31 32
33#define DESK_L LCTL(KC_LEFT)
34#define DESK_R LCTL(KC_RGHT)
35#define MSN_CTL LCTL(KC_UP)
36#define APP_WND LCTL(KC_DOWN)
37
32const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 38const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
33 39
34[_QWERTY] = LAYOUT_ortho_4x12( \ 40[_QWERTY] = LAYOUT_ortho_4x12( \
35 // .--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------. 41 // .--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------.
36 KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I, KC_O , KC_P , KC_BSPC, \ 42 KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I, KC_O , KC_P , KC_BSPC, \
37 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 43 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
38 KC_ESC , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K, KC_L , KC_SCLN, KC_QUOT, \ 44 ESC_CMD, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K, KC_L , KC_SCLN, KC_QUOT, \
39 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 45 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
40 KC_LSPO, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_RSPC, \ 46 KC_LSPO, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_RSPC, \
41 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 47 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
42 ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER , KC_SPC , KC_LSFT, RSE_ENT, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT \ 48 ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER , KC_SPC , KC_SPC , RSE_ENT, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT \
43 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------' 49 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------'
44), 50),
45 51
@@ -51,7 +57,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
51 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 57 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
52 KC_LSPO, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_K , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_RSPC, \ 58 KC_LSPO, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_K , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_RSPC, \
53 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 59 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
54 ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER , KC_SPC , KC_LSFT, RSE_ENT, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT \ 60 ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER , KC_SPC , KC_SPC , RSE_ENT, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT \
55 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------' 61 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------'
56), 62),
57 63
@@ -59,21 +65,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
59 // .--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------. 65 // .--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------.
60 KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, \ 66 KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, \
61 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 67 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
62 KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ 68 ESC_CMD, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \
63 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 69 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
64 KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ 70 KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \
65 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 71 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
66 ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER , KC_SPC , KC_LSFT, RSE_ENT, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT \ 72 ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER , KC_SPC , KC_SPC , RSE_ENT, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT \
67 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------' 73 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------'
68), 74),
69 75
70[_LOWER] = LAYOUT_ortho_4x12( \ 76[_LOWER] = LAYOUT_ortho_4x12( \
71 // .--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------. 77 // .--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------.
72 KC_TILD, _______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, KC_MINS, KC_DEL, \ 78 KC_TILD, _______, KC_VOLD, MSN_CTL, KC_VOLU, _______, _______, KC_7, KC_8, KC_9, KC_MINS, KC_BSPC, \
73 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 79 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
74 _______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, _______, KC_4, KC_5, KC_6, KC_PLUS, KC_PIPE, \ 80 _______, _______, DESK_L , APP_WND, DESK_R , _______, _______, KC_4, KC_5, KC_6, KC_PLUS, KC_PIPE, \
75 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 81 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
76 _______, KC_CIRC, KC_ASTR, KC_UNDS, KC_EQL, KC_AMPR, _______, KC_1, KC_2, KC_3, KC_SLSH, _______, \ 82 KC_LBRC, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, KC_SLSH, KC_RBRC, \
77 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 83 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
78 _______, _______, _______, _______, _______, _______, _______, KC_0, _______, _______, _______, _______ \ 84 _______, _______, _______, _______, _______, _______, _______, KC_0, _______, _______, _______, _______ \
79 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------' 85 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------'
@@ -81,11 +87,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
81 87
82[_RAISE] = LAYOUT_ortho_4x12( \ 88[_RAISE] = LAYOUT_ortho_4x12( \
83 // .--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------. 89 // .--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------.
84 KC_GRV, _______, _______, KC_LPRN, KC_RPRN, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY, _______, KC_DEL, \ 90 KC_GRV, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \
85 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 91 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
86 _______, _______, _______, KC_LCBR, KC_RCBR, _______, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, _______, KC_BSLS, \ 92 _______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, _______, KC_BSLS, \
87 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 93 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
88 _______, _______, _______, KC_LBRC, KC_RBRC, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, \ 94 KC_LCBR, KC_CIRC, KC_ASTR, KC_UNDS, KC_EQL, KC_AMPR, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, KC_RCBR, \
89 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| 95 // |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
90 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \ 96 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
91 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------' 97 // '--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------'
diff --git a/layouts/community/ortho_4x12/buswerks/readme.md b/layouts/community/ortho_4x12/buswerks/readme.md
index 452116423..43c1aaf93 100644
--- a/layouts/community/ortho_4x12/buswerks/readme.md
+++ b/layouts/community/ortho_4x12/buswerks/readme.md
@@ -5,24 +5,25 @@ For use on Planck, Let's Split, and similar keyboards
5### Layout Overview 5### Layout Overview
6 6
7- Main Layer 7- Main Layer
8 - An additional shift key is located on the right space key (only works for grid layouts)
9 - Enter is located on the Raise key (layer-tap) 8 - Enter is located on the Raise key (layer-tap)
10 - The left and right shift keys function as Space Cadet shift keys 9 - Space Cadet shift keys
10 - Lower + shift keys = Brackets[]
11 - Raise + shift keys = Braces{}
11 - The bottom left key is the Adjust modifier 12 - The bottom left key is the Adjust modifier
12 - Escape is in the traditional Caps Lock position 13 - Escape is in the traditional Caps Lock position
13 - Holding down the escape key acts as LGUI (intended for macOS use) 14 - Holding down the escape key acts as LGUI (intended for macOS use)
14- Lower 15- Lower
15 - There is a numpad on the right hand (4, 5, and 6 are located under JKL/NEI/HTN) 16 - There is a numpad on the right hand (4, 5, and 6 are located under JKL/NEI/HTN)
16 - Plus and minus keys are located to the right of the numpad 17 - Plus and minus keys are located to the right of the numpad
17 - All other symbols are located on the other side of the keyboard, in a somewhat logical order 18 - There are macOS desktop navigation keys and volume controls under the left hand
18 - Symbols from the number row are in order, starting on the left pinky. 19
19 - Equals and underscore are in easily accessible spots, because they are more commonly used in programming
20 - The ampersand is less common, so it is moved to the right of the equals symbol
21- Raise 20- Raise
22 - Vim-style arrow keys 21 - Vim-style arrow keys
23 - Above the arrow keys are media controls 22 - Below the arrow keys are home, end, pgup, and pgdn
24 - Below are home, end, pgup, and pgdn 23 - Symbols are located on the right side of the keyboard, in a somewhat logical order
25 - The left hand has all three types of braces 24 - Symbols from the number row are in order, starting on the left pinky.
26 - Curly braces are under the index and middle fingers for easy access during programming, and because parentheses are already available through Space Cadet shift 25 - Equals and underscore are in easily accessible spots, since they're commonly used in programming
26 - The ampersand is less common, so it's to the right of the equals symbol
27
27- Adjust 28- Adjust
28 - Function keys are located along the top row (reset is moved to accommodate this) \ No newline at end of file 29 - Function keys are located along the top row (reset is moved to the Colemak 'R' position) \ No newline at end of file