diff options
| author | mechmerlin <mechmerlin@gmail.com> | 2018-08-10 23:56:27 -0700 |
|---|---|---|
| committer | skullydazed <skullydazed@users.noreply.github.com> | 2018-08-11 11:59:51 -0700 |
| commit | 2a89134d8e939c86c5e9008f6ad77e15bb404c39 (patch) | |
| tree | 36d11c47526afd3a2996e24d0eee1998eefea04b /layouts/community/66_ansi | |
| parent | 3eabd7946ec5e47d12d603d591e8d8658d82fa42 (diff) | |
| download | qmk_firmware-2a89134d8e939c86c5e9008f6ad77e15bb404c39.tar.gz qmk_firmware-2a89134d8e939c86c5e9008f6ad77e15bb404c39.zip | |
add some of my default layouts for the clueboard I got
Diffstat (limited to 'layouts/community/66_ansi')
| -rw-r--r-- | layouts/community/66_ansi/layout.json | 5 | ||||
| -rw-r--r-- | layouts/community/66_ansi/mechmerlin/keymap.c | 36 | ||||
| -rw-r--r-- | layouts/community/66_ansi/readme.md | 3 |
3 files changed, 44 insertions, 0 deletions
diff --git a/layouts/community/66_ansi/layout.json b/layouts/community/66_ansi/layout.json new file mode 100644 index 000000000..60a3a47c0 --- /dev/null +++ b/layouts/community/66_ansi/layout.json | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | ["~\n`","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=",{w:2},"Backspace",{x:0.5},"Page Up"], | ||
| 2 | [{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{w:1.5},"|\n\\",{x:0.5},"Page Down"], | ||
| 3 | [{w:1.75},"Caps Lock","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{w:2.25},"Enter"], | ||
| 4 | [{w:2.25},"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:2.25},"Shift","Up"], | ||
| 5 | [{w:1.25},"Ctrl",{w:1.25},"Win",{w:1.25},"Alt",{a:7,w:6.25},"",{a:4,w:1.25},"Alt","Fn",{w:1.25},"Ctrl","Left","Down","Right"] | ||
diff --git a/layouts/community/66_ansi/mechmerlin/keymap.c b/layouts/community/66_ansi/mechmerlin/keymap.c new file mode 100644 index 000000000..9baf238c7 --- /dev/null +++ b/layouts/community/66_ansi/mechmerlin/keymap.c | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 4 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 5 | #define _BL 0 | ||
| 6 | #define _FL 1 | ||
| 7 | #define _CL 2 | ||
| 8 | |||
| 9 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 10 | /* Keymap _BL: Base Layer (Default Layer) | ||
| 11 | */ | ||
| 12 | [_BL] = LAYOUT_66_ansi( | ||
| 13 | KC_GESC,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, KC_PGUP, \ | ||
| 14 | 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, KC_PGDN, \ | ||
| 15 | KC_LCTL,KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT, \ | ||
| 16 | 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, \ | ||
| 17 | KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, MO(_FL),KC_RGUI,KC_RCTL,KC_LEFT,KC_DOWN,KC_RGHT), | ||
| 18 | |||
| 19 | /* Keymap _FL: Function Layer | ||
| 20 | */ | ||
| 21 | [_FL] = LAYOUT_66_ansi( | ||
| 22 | KC_GRV, 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, KC_VOLU, \ | ||
| 23 | _______,_______,_______,_______,_______,_______,_______,_______,_______,KC_MPRV,KC_MPLY,KC_MNXT,_______,KC_MUTE, KC_VOLD, \ | ||
| 24 | KC_CAPS,_______,MO(_CL),_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \ | ||
| 25 | _______, _______,_______,_______,_______,_______,_______,KC_MUTE,KC_VOLU,KC_VOLD,_______, _______, KC_PGUP, \ | ||
| 26 | _______,_______,_______, _______, _______,_______,_______,KC_HOME,KC_PGDN,KC_END), | ||
| 27 | |||
| 28 | /* Keymap _CL: Control layer | ||
| 29 | */ | ||
| 30 | [_CL] = LAYOUT_66_ansi( | ||
| 31 | BL_STEP,RGB_M_P,RGB_M_B,RGB_M_R,RGB_M_SW,RGB_M_SN,RGB_M_K,RGB_M_X,RGB_M_G,_______,_______,_______,_______, _______, RGB_VAI, \ | ||
| 32 | RGB_TOG,_______,_______,_______,RESET, _______,_______,_______,_______,_______,_______,_______,_______,_______, RGB_VAD, \ | ||
| 33 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \ | ||
| 34 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, RGB_SAI, \ | ||
| 35 | _______,_______,_______, RGB_MOD, _______,_______,_______,RGB_HUD,RGB_SAD,RGB_HUI), | ||
| 36 | }; | ||
diff --git a/layouts/community/66_ansi/readme.md b/layouts/community/66_ansi/readme.md new file mode 100644 index 000000000..7dee7387a --- /dev/null +++ b/layouts/community/66_ansi/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # 66_ansi | ||
| 2 | |||
| 3 | LAYOUT_66_ansi | ||
