diff options
author | Alan Pocklington <a.Pocklington@Gmail.com> | 2021-08-19 18:36:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 10:36:20 -0700 |
commit | 3b4c35da6b476c8777c3b492179d30260ffbf895 (patch) | |
tree | a04e2d27e3248911fec667723c4eb892e8321c6a | |
parent | c98e1694fbd1ff1234e0d7c7e00cf690188a50c1 (diff) | |
download | qmk_firmware-3b4c35da6b476c8777c3b492179d30260ffbf895.tar.gz qmk_firmware-3b4c35da6b476c8777c3b492179d30260ffbf895.zip |
[Keymap] Quark AJP10304 layout (#13290)
-rw-r--r-- | keyboards/acheron/shark/keymaps/ajp10304/readme.md | 2 | ||||
-rw-r--r-- | keyboards/handwired/atreus50/keymaps/ajp10304/config.h | 16 | ||||
-rw-r--r-- | keyboards/handwired/atreus50/keymaps/ajp10304/keymap.c | 16 | ||||
-rw-r--r-- | keyboards/handwired/atreus50/keymaps/ajp10304/readme.md | 2 | ||||
-rw-r--r-- | keyboards/jj40/keymaps/ajp10304/readme.md | 2 | ||||
-rw-r--r-- | keyboards/planck/keymaps/ajp10304/readme.md | 2 | ||||
-rw-r--r-- | keyboards/quark/keymaps/ajp10304/keymap.c | 201 | ||||
-rw-r--r-- | keyboards/quark/keymaps/ajp10304/readme.md | 118 | ||||
-rw-r--r-- | keyboards/quark/keymaps/ajp10304/rules.mk | 1 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/ajp10304/keymap.c | 16 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/ajp10304/readme.md | 2 | ||||
-rw-r--r-- | users/ajp10304/ajp10304.c | 16 | ||||
-rw-r--r-- | users/ajp10304/ajp10304.h | 16 | ||||
-rw-r--r-- | users/ajp10304/readme.md | 2 |
14 files changed, 406 insertions, 6 deletions
diff --git a/keyboards/acheron/shark/keymaps/ajp10304/readme.md b/keyboards/acheron/shark/keymaps/ajp10304/readme.md index 73e5b831e..c17232162 100644 --- a/keyboards/acheron/shark/keymaps/ajp10304/readme.md +++ b/keyboards/acheron/shark/keymaps/ajp10304/readme.md | |||
@@ -1,5 +1,5 @@ | |||
1 | # AJP10304 Custom Shark Layout | 1 | # AJP10304 Custom Shark Layout |
2 | # Also available for the Planck, JJ40 and Atreus50 | 2 | # Also available for the Planck, Quark, JJ40 and Atreus50 |
3 | 3 | ||
4 | **Note:** In the tables below where there are two characters on a key, | 4 | **Note:** In the tables below where there are two characters on a key, |
5 | the second is the output when shift is applied. | 5 | the second is the output when shift is applied. |
diff --git a/keyboards/handwired/atreus50/keymaps/ajp10304/config.h b/keyboards/handwired/atreus50/keymaps/ajp10304/config.h index f5e6bbabe..4f15c5626 100644 --- a/keyboards/handwired/atreus50/keymaps/ajp10304/config.h +++ b/keyboards/handwired/atreus50/keymaps/ajp10304/config.h | |||
@@ -1,3 +1,19 @@ | |||
1 | /* Copyright 2021 Alan Pocklington | ||
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 | |||
1 | #ifndef CONFIG_USER_H | 17 | #ifndef CONFIG_USER_H |
2 | #define CONFIG_USER_H | 18 | #define CONFIG_USER_H |
3 | 19 | ||
diff --git a/keyboards/handwired/atreus50/keymaps/ajp10304/keymap.c b/keyboards/handwired/atreus50/keymaps/ajp10304/keymap.c index 46a5995d0..2b0616ad7 100644 --- a/keyboards/handwired/atreus50/keymaps/ajp10304/keymap.c +++ b/keyboards/handwired/atreus50/keymaps/ajp10304/keymap.c | |||
@@ -1,3 +1,19 @@ | |||
1 | /* Copyright 2021 Alan Pocklington | ||
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 | |||
1 | #include QMK_KEYBOARD_H | 17 | #include QMK_KEYBOARD_H |
2 | #include "keymap_uk.h" | 18 | #include "keymap_uk.h" |
3 | #include "ajp10304.h" | 19 | #include "ajp10304.h" |
diff --git a/keyboards/handwired/atreus50/keymaps/ajp10304/readme.md b/keyboards/handwired/atreus50/keymaps/ajp10304/readme.md index 5c6a703a8..4f1bac8da 100644 --- a/keyboards/handwired/atreus50/keymaps/ajp10304/readme.md +++ b/keyboards/handwired/atreus50/keymaps/ajp10304/readme.md | |||
@@ -1,5 +1,5 @@ | |||
1 | # AJP10304 Custom Atreus50 Layout | 1 | # AJP10304 Custom Atreus50 Layout |
2 | # Also available for the Planck, Shark and JJ40 | 2 | # Also available for the Planck, Shark, Quark and JJ40 |
3 | 3 | ||
4 | **Note:** In the tables below where there are two characters on a key, | 4 | **Note:** In the tables below where there are two characters on a key, |
5 | the second is the output when shift is applied. | 5 | the second is the output when shift is applied. |
diff --git a/keyboards/jj40/keymaps/ajp10304/readme.md b/keyboards/jj40/keymaps/ajp10304/readme.md index 345fbccf6..7336b1994 100644 --- a/keyboards/jj40/keymaps/ajp10304/readme.md +++ b/keyboards/jj40/keymaps/ajp10304/readme.md | |||
@@ -1,5 +1,5 @@ | |||
1 | # AJP10304 Custom JJ40 Layout | 1 | # AJP10304 Custom JJ40 Layout |
2 | # Also available for the Planck, Shark and Atreus50 | 2 | # Also available for the Planck, Shark, Quark and Atreus50 |
3 | 3 | ||
4 | **Note:** In the tables below where there are two characters on a key, | 4 | **Note:** In the tables below where there are two characters on a key, |
5 | the second is the output when shift is applied. | 5 | the second is the output when shift is applied. |
diff --git a/keyboards/planck/keymaps/ajp10304/readme.md b/keyboards/planck/keymaps/ajp10304/readme.md index 6ea8f0061..97f0a0093 100644 --- a/keyboards/planck/keymaps/ajp10304/readme.md +++ b/keyboards/planck/keymaps/ajp10304/readme.md | |||
@@ -1,5 +1,5 @@ | |||
1 | # AJP10304 Custom Planck Layout | 1 | # AJP10304 Custom Planck Layout |
2 | # Also available for the Shark, JJ40 and Atreus50 | 2 | # Also available for the Shark, Quark, JJ40 and Atreus50 |
3 | 3 | ||
4 | **Note:** In the tables below where there are two characters on a key, | 4 | **Note:** In the tables below where there are two characters on a key, |
5 | the second is the output when shift is applied. | 5 | the second is the output when shift is applied. |
diff --git a/keyboards/quark/keymaps/ajp10304/keymap.c b/keyboards/quark/keymaps/ajp10304/keymap.c new file mode 100644 index 000000000..c55e99af7 --- /dev/null +++ b/keyboards/quark/keymaps/ajp10304/keymap.c | |||
@@ -0,0 +1,201 @@ | |||
1 | /* Copyright 2021 Alan Pocklington | ||
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 | #include "ajp10304.h" | ||
18 | #include "keymap_uk.h" | ||
19 | |||
20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
21 | |||
22 | /* Qwerty | ||
23 | * ,-----------------------------------------------------------------------------------. | ||
24 | * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | | ||
25 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
26 | * | Tab | A | S | D | F | G | H | J | K | L | ;: | Enter| | ||
27 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
28 | * | Shft | Z | X | C | V | B | N | M | ,< | .> | /? | Shft | | ||
29 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
30 | * | Fn | Ctrl | Alt | GUI |Lower | Bksp |Space |Raise | Shift| MENU | Ctrl | Fn2 | | ||
31 | * `-----------------------------------------------------------------------------------' | ||
32 | */ | ||
33 | [_QWERTY] = LAYOUT_ortho_4x12( | ||
34 | LT(_NUMPAD, KC_ESC), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC , | ||
35 | MT(MOD_LSFT, KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, MT(MOD_RSFT, KC_ENT) , | ||
36 | KC_LSHIFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSHIFT , | ||
37 | MO(_FUNC), KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_BSPC, KC_SPC, RAISE, KC_LSHIFT, KC_BTN2, KC_RCTL, MO(_FUNC2) | ||
38 | ), | ||
39 | |||
40 | /* Function | ||
41 | * ,-----------------------------------------------------------------------------------. | ||
42 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
43 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
44 | * | 1! | 2" | 3£ | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | ~ |INSERT| | ||
45 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
46 | * | Shift| \| | `¬ | #~ | * | -_ | =+ | \| | [{ | ]} | '@ |Shift | | ||
47 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
48 | * | Fn | Ctrl | Alt | GUI |Lower | Bksp |Space |Mouse | MENU | Alt | Ctrl | Fn | | ||
49 | * `-----------------------------------------------------------------------------------' | ||
50 | */ | ||
51 | [_FUNC] = LAYOUT_ortho_4x12( | ||
52 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12 , | ||
53 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, UK_TILD, KC_INSERT , | ||
54 | KC_LSHIFT, KC_NONUS_BSLASH, KC_GRAVE, KC_NONUS_HASH, KC_PAST, KC_MINS, KC_EQL, KC_BSLASH, KC_LBRC, KC_RBRC, KC_QUOT, MT(MOD_RSFT, KC_ENT) , | ||
55 | _______, _______, _______, _______, _______, _______, _______, MO(_MOUSE), _______, _______, _______, _______ | ||
56 | ), | ||
57 | |||
58 | /* Lower | ||
59 | * ,-----------------------------------------------------------------------------------. | ||
60 | * | 1! | 2" | 3£ | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | DEL | Bksp | | ||
61 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
62 | * | ! | " | £ | $ | % | ^ | & | * | ( | ) |WrdDel|WrdBks| | ||
63 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
64 | * | Shift| \| | `¬ | #~ | '@ | -_ | =+ | #~ | [{ | ]} | '@ |Shift | | ||
65 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
66 | * | | | | |Lower | Del |Space | | Next | Vol- | Vol+ | Play | | ||
67 | * `-----------------------------------------------------------------------------------' | ||
68 | */ | ||
69 | [_LOWER] = LAYOUT_ortho_4x12( | ||
70 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, KC_BSPC , | ||
71 | LSFT(KC_1), LSFT(KC_2), LSFT(KC_3), LSFT(KC_4), LSFT(KC_5), LSFT(KC_6), LSFT(KC_7), LSFT(KC_8), LSFT(KC_9), LSFT(KC_0), LCTL(KC_DEL), LCTL(KC_BSPC) , | ||
72 | KC_LSPO, KC_NONUS_BSLASH, KC_GRAVE, KC_NONUS_HASH, KC_QUOT, KC_MINS, KC_EQL, KC_NONUS_HASH, KC_LBRC, KC_RBRC, KC_QUOT, MT(MOD_RSFT, KC_ENT) , | ||
73 | _______, _______, _______, _______, _______, KC_DEL, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
74 | ), | ||
75 | |||
76 | /* Raise | ||
77 | * ,-----------------------------------------------------------------------------------. | ||
78 | * | ` | |WRDSEL| [ | ] | | | PGUP | HOME |PGDOWN| |PRNTSC| | ||
79 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
80 | * | ` | | | ( | ) | | | HOME | UP | END | |ZOOM +| | ||
81 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
82 | * | | | | { | } | | |< | LEFT | DOWN |RIGHT | >| |ZOOM -| | ||
83 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
84 | * | Mouse| | | | | Alt | Enter|Raise | | | | | | ||
85 | * `-----------------------------------------------------------------------------------' | ||
86 | */ | ||
87 | [_RAISE] = LAYOUT_ortho_4x12( | ||
88 | KC_GRV, XXXXXXX, M_WORD_SEL, KC_LBRC, KC_RBRC, XXXXXXX, XXXXXXX, KC_PGUP, KC_HOME, KC_PGDOWN, XXXXXXX, KC_PSCREEN , | ||
89 | KC_GRV, XXXXXXX, XXXXXXX, LSFT(KC_9), LSFT(KC_0), XXXXXXX, XXXXXXX, KC_HOME, KC_UP, KC_END, XXXXXXX, LCTL(LSFT(KC_EQL)) , | ||
90 | _______, XXXXXXX, XXXXXXX, LSFT(KC_LBRC), LSFT(KC_RBRC), XXXXXXX, LCTL(KC_LEFT), KC_LEFT, KC_DOWN, KC_RIGHT, LCTL(KC_RIGHT), LCTL(KC_MINS) , | ||
91 | MO(_MOUSE), _______, _______, _______, _______, KC_LALT, KC_ENT, _______, XXXXXXX, _______, _______, _______ | ||
92 | ), | ||
93 | |||
94 | /* Adjust (Lower + Raise) | ||
95 | * ,-----------------------------------------------------------------------------------. | ||
96 | * | ???? | Reset|Qwerty| | | REC1 | REC2 | | | | | Del | | ||
97 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
98 | * | CAPS | | | | | PLAY1| PLAY2| Mute | Vol+ | Play | | | | ||
99 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
100 | * | PC/MC| | | | | STOP | STOP | Prev | Vol- | Next | | | | ||
101 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
102 | * | | | | | | | | | | | | | ||
103 | * `-----------------------------------------------------------------------------------' | ||
104 | */ | ||
105 | [_ADJUST] = LAYOUT_ortho_4x12( | ||
106 | M_CUSTOM, RESET, QWERTY, BL_ON, BL_OFF, DYN_REC_START1, DYN_REC_START2, _______, _______, _______, _______, KC_DEL , | ||
107 | KC_CAPS, RGB_TOG, RGB_MOD, RGB_VAD, RGB_VAI, DYN_MACRO_PLAY1, DYN_MACRO_PLAY2, KC_AUDIO_MUTE, KC_AUDIO_VOL_UP, KC_MEDIA_PLAY_PAUSE, _______, _______ , | ||
108 | TG(_MAC), RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, DYN_REC_STOP, DYN_REC_STOP, KC_MEDIA_PREV_TRACK, KC_AUDIO_VOL_DOWN, KC_MEDIA_NEXT_TRACK, _______, _______ , | ||
109 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
110 | ), | ||
111 | |||
112 | /* Mouse | ||
113 | * ,-----------------------------------------------------------------------------------. | ||
114 | * | ESC | | | | | | | | BTN3 | | | | | ||
115 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
116 | * | ACC0 | ACC1 | ACC2 | | | | | BTN1 | UP | BTN2 | | | | ||
117 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
118 | * | ACC0 | ACC1 | ACC2 | | | | | LEFT | DOWN |RIGHT | | | | ||
119 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
120 | * | | | | | | | | | | | | | | ||
121 | * `-----------------------------------------------------------------------------------' | ||
122 | */ | ||
123 | [_MOUSE] = LAYOUT_ortho_4x12( | ||
124 | KC_ESC , _______, _______, _______, _______, _______, _______, _______, KC_MS_BTN3, _______, _______, _______, | ||
125 | KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______, _______, KC_MS_BTN1, KC_MS_UP, KC_MS_BTN2, _______, _______, | ||
126 | KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______, _______, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, _______, _______, | ||
127 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
128 | ), | ||
129 | |||
130 | /* Num Pad | ||
131 | * ,-----------------------------------------------------------------------------------. | ||
132 | * | ESC | | | | | |NMLOCK| 7 | 8 | 9 | / | | | ||
133 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
134 | * | | | | | | | | 4 | 5 | 6 | * | | | ||
135 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
136 | * | | | | | | | | 1 | 2 | 3 | + | | | ||
137 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
138 | * | | | | | | | | 0 | . | , | - | | | ||
139 | * `-----------------------------------------------------------------------------------' | ||
140 | */ | ||
141 | [_NUMPAD] = LAYOUT_ortho_4x12( | ||
142 | _______, _______, _______, _______, _______, _______, KC_NLCK, KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_SLASH, _______, | ||
143 | _______, _______, _______, _______, _______, _______, _______, KC_KP_4, KC_KP_5, KC_KP_6, KC_KP_ASTERISK, _______, | ||
144 | _______, _______, _______, _______, _______, _______, _______, KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_PLUS, _______, | ||
145 | _______, _______, _______, _______, _______, _______, _______, KC_KP_0, KC_KP_DOT, KC_COMM, KC_KP_MINUS, _______ | ||
146 | ), | ||
147 | |||
148 | /* Function 2 (Right hand side) | ||
149 | * ,-----------------------------------------------------------------------------------. | ||
150 | * | | |WRDSEL| | | | LNDEL| | | | | | | ||
151 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
152 | * | | | LNSEL| DUP | | | | |LNJOIN| | | | | ||
153 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
154 | * | | UNDO | CUT | COPY | PASTE| | | | | | | MODE | | ||
155 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
156 | * | | | | | | | | | | | | | | ||
157 | * `-----------------------------------------------------------------------------------' | ||
158 | */ | ||
159 | [_FUNC2] = LAYOUT_ortho_4x12( | ||
160 | _______, _______, M_WORD_SEL, _______, _______, _______, M_LINE_DEL, _______, _______, _______, _______, _______, | ||
161 | _______, _______, M_LINE_SEL, M_DUP, _______, _______, _______, M_JOIN, _______, _______, _______, _______, | ||
162 | _______, LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), _______, _______, _______, _______, _______, _______, M_MODE, | ||
163 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
164 | ), | ||
165 | |||
166 | [_MAC]= LAYOUT_ortho_4x12( | ||
167 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
168 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
169 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
170 | MFNC, _______, _______, _______, MLWR, _______, _______, MRSE, _______, _______, _______, MFNC2 | ||
171 | ), | ||
172 | |||
173 | [_MLWR] = LAYOUT_ortho_4x12( | ||
174 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
175 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
176 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
177 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
178 | ), | ||
179 | |||
180 | [_MRSE] = LAYOUT_ortho_4x12( | ||
181 | _______, _______, M_WORD_SEL_MAC, _______, _______, _______, _______, _______, _______, _______, _______, _______ , | ||
182 | _______, _______, _______, _______, _______, _______, _______, LCTL(KC_A), _______, LCTL(KC_E), _______, LGUI(KC_EQL) , | ||
183 | _______, _______, _______, _______, _______, _______, LALT(KC_LEFT), _______, _______, _______, LALT(KC_RIGHT), LGUI(KC_MINS) , | ||
184 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
185 | ), | ||
186 | |||
187 | [_MFNC]= LAYOUT_ortho_4x12( | ||
188 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ , | ||
189 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LGUI(KC_PENT) , | ||
190 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ , | ||
191 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
192 | ), | ||
193 | |||
194 | [_MFNC2] = LAYOUT_ortho_4x12( | ||
195 | _______, _______, M_WORD_SEL_MAC, _______, _______, _______, M_LINE_DEL_MAC, _______, _______, _______, _______, _______, | ||
196 | _______, _______, M_LINE_SEL_MAC, M_DUP_MAC, _______, _______, _______, M_JOIN_MAC, _______, _______, _______, _______, | ||
197 | _______, LGUI(KC_Z), LGUI(KC_X), LGUI(KC_C), LGUI(KC_V), _______, _______, _______, _______, _______, _______, M_MODE_MAC, | ||
198 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
199 | ) | ||
200 | |||
201 | }; | ||
diff --git a/keyboards/quark/keymaps/ajp10304/readme.md b/keyboards/quark/keymaps/ajp10304/readme.md new file mode 100644 index 000000000..12090ccd4 --- /dev/null +++ b/keyboards/quark/keymaps/ajp10304/readme.md | |||
@@ -0,0 +1,118 @@ | |||
1 | # AJP10304 Custom Quark Layout | ||
2 | # Also available for the Planck, JJ40 and Atreus50 | ||
3 | |||
4 | **Note:** In the tables below where there are two characters on a key, | ||
5 | the second is the output when shift is applied. | ||
6 | |||
7 | **Note:** The below tables assume a UK layout. | ||
8 | |||
9 | #### Flashing | ||
10 | |||
11 | `make quark:ajp10304:flash` | ||
12 | |||
13 | ##### Main Qwerty Layer | ||
14 | |||
15 | * Tab: when held, operates as shift. | ||
16 | * Enter: when held, operates as shift. | ||
17 | * MENU: perform right-click | ||
18 | |||
19 | | | | | | | | | | | | | | | ||
20 | | ---- |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| ----:| | ||
21 | | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | | ||
22 | | Tab | A | S | D | F | G | H | J | K | L | ;: | Enter| | ||
23 | | Shft | Z | X | C | V | B | N | M | ,< | .> | /? | Shft | | ||
24 | | Fn | Ctrl | Alt | GUI |Lower | Bksp |Space |Raise | Shift| MENU | Ctrl | Fn2 | | ||
25 | |||
26 | ##### Function Layer | ||
27 | Activated when `fn` held in the above `qwerty` layer. | ||
28 | |||
29 | | | | | | | | | | | | | | | ||
30 | | :---: |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| | ||
31 | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
32 | | 1! | 2" | 3£ | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | ~ |INSERT| | ||
33 | | Shift | \| | `¬ | #~ | * | -_ | =+ | \| | [{ | ]} | '@ |Shift | | ||
34 | | Fn | Ctrl | Alt | GUI |Lower | Bksp |Space |Mouse | MENU | Alt | Ctrl | Fn2 | | ||
35 | |||
36 | ##### Lower Layer | ||
37 | Activated when `Lower` is held in the above `qwerty` layer. | ||
38 | |||
39 | * Numbers are along the top row, their shifted counterparts are on row 2. | ||
40 | * WrdBks: `backspace` with `ctrl` applied. I.e. delete a word. | ||
41 | * WrdDel: `delete` with `ctrl` applied. I.e. forward delete a word. | ||
42 | |||
43 | | | | | | | | | | | | | | | ||
44 | | :---: |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| | ||
45 | | 1! | 2" | 3£ | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | DEL | Bksp | | ||
46 | | ! | " | £ | $ | % | ^ | & | * | ( | ) |WrdDel|WrdBks| | ||
47 | | Shift | \| | `¬ | #~ | '@ | -_ | =+ | #~ | [{ | ]} | '@ |Shift | | ||
48 | | | | | |Lower | Del |Space | | Next | Vol- | Vol+ | Play | | ||
49 | |||
50 | ##### Raise Layer | ||
51 | Activated when `Raise` is held in the above `qwerty` layer. | ||
52 | |||
53 | * Preferred layer for typing brackets. | ||
54 | * Allows for cursor navigation to be used solely with the right hand. | ||
55 | * WRDSEL: Select the word where the cursor is. | ||
56 | * |< and >|: Apply `ctrl` to `left` and `right` respectively for word jumping. | ||
57 | |||
58 | | | | | | | | | | | | | | | ||
59 | | :---: |:----:| :---:| :---:| :---:| :---:| :---: | :---:| :---:| :---:| :---: | :---:| | ||
60 | | ` | |WRDSEL| [ | ] | | | PGUP | HOME |PGDOWN| |PRNTSC| | ||
61 | | ` | | | ( | ) | | | HOME | UP | END | |ZOOM +| | ||
62 | | | | | { | } | ||<| LEFT | DOWN |RIGHT |>||ZOOM -| | ||
63 | | Mouse | | | | | Alt | Enter |Raise | | | | | | ||
64 | |||
65 | ##### Lower + Raise | ||
66 | Activated when `Lower` and `Raise` are held together in the above `qwerty` layer. | ||
67 | |||
68 | * Audio controls in the same position as cursor keys from the `Raise` layer. | ||
69 | * ????: Runs a macro for outputting a text string. Do not use this store passwords. | ||
70 | * Reset: Enter bootloader for flashing firmware to the keyboard. | ||
71 | * CAPS: Toggle caps lock. | ||
72 | * Macro functions: Allows recording of macros. To start recording the macro, press either REC1 or REC2. | ||
73 | To finish the recording, press STOP. To replay the macro, press either PLAY1 or PLAY2. | ||
74 | * MAC: Toggle MAC OS extensions to layers. This allows MLWR to be enabled with LOWER, | ||
75 | MRSE with RAISE, MFNC with FUNC and MFNC2 with FUNC2 respectively. | ||
76 | |||
77 | | | | | | | | | | | | | | | ||
78 | | :---: |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| | ||
79 | | ???? | Reset|Qwerty| | | REC1 | REC2 | | | | | Del | | ||
80 | | CAPS | | | | | PLAY1|PLAY2 | Mute | Vol+ | Play | | | | ||
81 | | MAC | | | | | STOP1|STOP2 | Prev | Vol- | Next | | | | ||
82 | | | | | | | | | | DYN | | | | | ||
83 | |||
84 | ##### Function 2 Layer | ||
85 | Activated when `fn` held in the above `qwerty` layer. | ||
86 | * WRDSEL: Select the word where the cursor is. | ||
87 | * LNDEL: Delete the line where the cursor is. | ||
88 | * LNSEL: Select the line where the cursor is. | ||
89 | * DUP: Duplicate the selected text. | ||
90 | * LNJOIN: Join the line where the cursor is with the following line. | ||
91 | * MODE: Print either `PC` or `OSX` depending on what layer mode is active. | ||
92 | |||
93 | | | | | | | | | | | | | | | ||
94 | | :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| | ||
95 | | | |WRDSEL| | | | LNDEL| | | | | | | ||
96 | | | | LNSEL| DUP | | | | |LNJOIN| | | | | ||
97 | | | UNDO | CUT | COPY | PASTE| | | | | | | MODE | | ||
98 | | | | | | | | | | | | | | | ||
99 | |||
100 | ##### Mouse Layer | ||
101 | Activated when `fn` and `raise` held together. | ||
102 | |||
103 | | | | | | | | | | | | | | | ||
104 | | :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| | ||
105 | | ESC | | | | | | | | BTN3 | | | | | ||
106 | | ACC0 | ACC1 | ACC2 | | | | | BTN1 | UP | BTN2 | | | | ||
107 | | ACC0 | ACC1 | ACC2 | | | | | LEFT | DOWN | RIGHT| | | | ||
108 | | | | | | | | | | | | | | | ||
109 | |||
110 | ##### Number Pad Layout | ||
111 | Activated when holding `Esc` key. | ||
112 | |||
113 | | | | | | | | | | | | | | | ||
114 | | :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| | ||
115 | | | | | | | |NMLOCK| 7 | 8 | 9 | / | | | ||
116 | | | | | | | | | 4 | 5 | 6 | * | | | ||
117 | | | | | | | | | 1 | 2 | 3 | + | | | ||
118 | | | | | | | | | 0 | . | , | - | | | ||
diff --git a/keyboards/quark/keymaps/ajp10304/rules.mk b/keyboards/quark/keymaps/ajp10304/rules.mk new file mode 100644 index 000000000..6c605daec --- /dev/null +++ b/keyboards/quark/keymaps/ajp10304/rules.mk | |||
@@ -0,0 +1 @@ | |||
MOUSEKEY_ENABLE = yes | |||
diff --git a/layouts/community/ortho_4x12/ajp10304/keymap.c b/layouts/community/ortho_4x12/ajp10304/keymap.c index 3badce2ea..c55e99af7 100644 --- a/layouts/community/ortho_4x12/ajp10304/keymap.c +++ b/layouts/community/ortho_4x12/ajp10304/keymap.c | |||
@@ -1,3 +1,19 @@ | |||
1 | /* Copyright 2021 Alan Pocklington | ||
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 | |||
1 | #include "ajp10304.h" | 17 | #include "ajp10304.h" |
2 | #include "keymap_uk.h" | 18 | #include "keymap_uk.h" |
3 | 19 | ||
diff --git a/layouts/community/ortho_4x12/ajp10304/readme.md b/layouts/community/ortho_4x12/ajp10304/readme.md index 6f2330f94..be6afa6fe 100644 --- a/layouts/community/ortho_4x12/ajp10304/readme.md +++ b/layouts/community/ortho_4x12/ajp10304/readme.md | |||
@@ -1,5 +1,5 @@ | |||
1 | # AJP10304 Ortho 4x12 Layout | 1 | # AJP10304 Ortho 4x12 Layout |
2 | # For Planck, Shark, JJ40 and Atreus50 | 2 | # For Planck, Shark, Quark, JJ40 and Atreus50 |
3 | 3 | ||
4 | **Note:** In the tables below where there are two characters on a key, | 4 | **Note:** In the tables below where there are two characters on a key, |
5 | the second is the output when shift is applied. | 5 | the second is the output when shift is applied. |
diff --git a/users/ajp10304/ajp10304.c b/users/ajp10304/ajp10304.c index 9cae65d5c..dd13787d6 100644 --- a/users/ajp10304/ajp10304.c +++ b/users/ajp10304/ajp10304.c | |||
@@ -1,3 +1,19 @@ | |||
1 | /* Copyright 2021 Alan Pocklington | ||
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 | |||
1 | #include "ajp10304.h" | 17 | #include "ajp10304.h" |
2 | 18 | ||
3 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 19 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
diff --git a/users/ajp10304/ajp10304.h b/users/ajp10304/ajp10304.h index b96e00fc4..ec1ed11c0 100644 --- a/users/ajp10304/ajp10304.h +++ b/users/ajp10304/ajp10304.h | |||
@@ -1,3 +1,19 @@ | |||
1 | /* Copyright 2021 Alan Pocklington | ||
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 | |||
1 | #include QMK_KEYBOARD_H | 17 | #include QMK_KEYBOARD_H |
2 | 18 | ||
3 | enum ajp10304_layers { | 19 | enum ajp10304_layers { |
diff --git a/users/ajp10304/readme.md b/users/ajp10304/readme.md index 8e1a438aa..2ac0a6996 100644 --- a/users/ajp10304/readme.md +++ b/users/ajp10304/readme.md | |||
@@ -14,7 +14,7 @@ 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/>. | 14 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | ||
16 | # AJP10304 Custom 40% Layout | 16 | # AJP10304 Custom 40% Layout |
17 | # For the Planck, Shark, JJ40 and Atreus50 | 17 | # For the Planck, Shark, Quark, JJ40 and Atreus50 |
18 | 18 | ||
19 | **Note:** In the tables below where there are two characters on a key, | 19 | **Note:** In the tables below where there are two characters on a key, |
20 | the second is the output when shift is applied. | 20 | the second is the output when shift is applied. |