aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan MacLean <ryan@ryanmaclean.com>2017-04-29 16:18:26 -0700
committerGitHub <noreply@github.com>2017-04-29 16:18:26 -0700
commitff512ea5b4934638d28244c8667e840549784f2b (patch)
treea6ae44a4577789eff2f91fcd6cc1c57cda75fcb0
parent9122b34a476908db49ddb5fcec0b0b05c67c75c2 (diff)
downloadqmk_firmware-ff512ea5b4934638d28244c8667e840549784f2b.tar.gz
qmk_firmware-ff512ea5b4934638d28244c8667e840549784f2b.zip
Addind Sample Maxed Out Keymap
Keeping hold space for fn1, adding three other user-mappable keys.
-rw-r--r--keyboards/amj60/keymaps/maximized/keymap.c61
1 files changed, 61 insertions, 0 deletions
diff --git a/keyboards/amj60/keymaps/maximized/keymap.c b/keyboards/amj60/keymaps/maximized/keymap.c
new file mode 100644
index 000000000..d2a4be59f
--- /dev/null
+++ b/keyboards/amj60/keymaps/maximized/keymap.c
@@ -0,0 +1,61 @@
1// This is the canonical layout file for the Quantum project. If you want to add another keyboard,
2// this is the style you want to emulate.
3
4#include "amj60.h"
5
6// Each layer gets a name for readability, which is then used in the keymap matrix below.
7// The underscores don't mean anything - you can have a layer called STUFF or any other name.
8// Layer names don't all need to be of the same length, obviously, and you can also skip them
9// entirely and just use numbers.
10#define _DEF 0
11#define _SPC 1
12
13// dual-role shortcuts
14#define SPACEDUAL LT(_SPC, KC_SPACE)
15
16
17// increase readability
18#define _______ KC_TRNS
19
20const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21 /* Keymap _DEF: Default Layer
22 * ,-----------------------------------------------------------.
23 * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \ | ~ |
24 * |-----------------------------------------------------------|
25 * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| bspc|
26 * |-----------------------------------------------------------|
27 * |Caps | A| S| D| F| G| H| J| K| L| ;| '| Return |
28 * |-----------------------------------------------------------|
29 * |Sft | Fn0| Z| X| C| V| B| N| M| ,| .| /| Sft |Fn2|
30 * |-----------------------------------------------------------|
31 * |Ctrl|Win |Alt | Space/Fn0 |Alt |Win |Menu|RCtl|
32 * `-----------------------------------------------------------'
33 */
34 [_DEF] = KEYMAP_MAX(
35 KC_ESC, 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_GRV, \
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, \
37 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \
38 KC_LSFT, F(0), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, F(1), \
39 KC_LCTL, KC_LALT, KC_LGUI, SPACEDUAL, KC_RGUI, KC_RALT, KC_RCTL, F(2)),
40
41 /* Keymap 1: F-and-vim Layer, modified with Space (by holding space)
42 * ,-----------------------------------------------------------.
43 * |PrSc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| | |
44 * |-----------------------------------------------------------|
45 * | |Paus| Up| [ | ] | | | | ( | ) | | | | Del |
46 * |-----------------------------------------------------------|
47 * | |Lft|Dwn|Rgt| | |Left|Down|Right|Up| | | PLAY |
48 * |-----------------------------------------------------------|
49 * | | | | | < | > | |M0 | | | | | Vol+ | |
50 * |-----------------------------------------------------------|
51 * | | | | |Alt |Prev|Vol-|Next|
52 * `-----------------------------------------------------------'
53 */
54 [_SPC] = KEYMAP_MAX(
55 KC_PSCR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, \
56 _______, KC_PAUS, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \
57 _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, KC_MPLY, \
58 _______, _______, _______, _______, _______, _______, KC_SPACE, M(0), _______, _______, _______, _______, KC_VOLU, _______, \
59 _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT),
60
61};