diff options
| author | martinmksiu <martinmksiu@gmail.com> | 2019-03-27 03:22:56 +0000 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-03-26 20:22:56 -0700 |
| commit | 795c2c27b9cfe8fbda4f30e526dccfc1a5f774c2 (patch) | |
| tree | ce35461c0a4e53ac68ff385c2c41050939f6bdb3 /keyboards/xd75/keymaps | |
| parent | 346cbd88167e8e9a979517bf51144ff66e904f01 (diff) | |
| download | qmk_firmware-795c2c27b9cfe8fbda4f30e526dccfc1a5f774c2.tar.gz qmk_firmware-795c2c27b9cfe8fbda4f30e526dccfc1a5f774c2.zip | |
[Keymap] adding keymaps (#3583)
* add key map
* QWERTY with 40% layers
* updated line 21
updated line 21 from "#include "xd75.h" to "#include QMK_KEYBOARD_H" as requested
* upload contra folders
* Update .directory
* Update config.h
* Update config.h
* Update keymap.c
* Update config.h
* Update rules.mk
* Update keyboards/contra/keymaps/martin_bac/config.h
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Update keyboards/xd75/keymaps/martin_cennum/config.h
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Delete .directory
* upload
* Delete rules.mk
* Update keyboards/contra/keymaps/msiu/config.h
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Update keyboards/katana60/keymaps/msiu/config.h
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Update keyboards/katana60/keymaps/msiu/config.h
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Update keyboards/katana60/keymaps/msiu/config.h
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Update keyboards/katana60/keymaps/msiu/config.h
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Delete nano.save
* Delete rules.mk
* Update keymap.c
* Update keymap.c
* Update config.h
* Update keyboards/lets_split_eh/keymaps/msiu/keymap.c
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Update keyboards/lets_split_eh/keymaps/msiu/keymap.c
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Update keymap.c
* Update keyboards/planck/keymaps/msiu/config.h
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Apply suggestions from code review
Co-Authored-By: martinmksiu <martinmksiu@gmail.com>
* Update keymap.c
* Update readme.md
* Update keymap.c
Diffstat (limited to 'keyboards/xd75/keymaps')
| -rw-r--r-- | keyboards/xd75/keymaps/msiu/config.h | 18 | ||||
| -rw-r--r-- | keyboards/xd75/keymaps/msiu/keymap.c | 120 | ||||
| -rw-r--r-- | keyboards/xd75/keymaps/msiu/readme.md | 1 |
3 files changed, 139 insertions, 0 deletions
diff --git a/keyboards/xd75/keymaps/msiu/config.h b/keyboards/xd75/keymaps/msiu/config.h new file mode 100644 index 000000000..4fbd59bec --- /dev/null +++ b/keyboards/xd75/keymaps/msiu/config.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* Copyright 2017 Benjamin Kesselring | ||
| 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 | // place overrides here | ||
diff --git a/keyboards/xd75/keymaps/msiu/keymap.c b/keyboards/xd75/keymaps/msiu/keymap.c new file mode 100644 index 000000000..c4cc456a9 --- /dev/null +++ b/keyboards/xd75/keymaps/msiu/keymap.c | |||
| @@ -0,0 +1,120 @@ | |||
| 1 | /* Copyright 2017 Benjamin Kesselring | ||
| 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 | /* What this layout is: QWERTY layout with the standard 40% layers. For easy | ||
| 18 | * switching between my xd75 and contra | ||
| 19 | */ | ||
| 20 | |||
| 21 | #include QMK_KEYBOARD_H | ||
| 22 | |||
| 23 | // Layer shorthand | ||
| 24 | #define _QW 0 | ||
| 25 | #define _DV 1 | ||
| 26 | #define _LW 2 | ||
| 27 | #define _RS 3 | ||
| 28 | #define _FN 4 | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | |||
| 32 | /* QWERTY | ||
| 33 | * .--------------------------------------------------------------------------------------------------------------------------------------. | ||
| 34 | * | ` | 1 | 2 | 3 | 4 | 5 | - | = | \ | 6 | 7 | 8 | 9 | 0 | BACKSP | | ||
| 35 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 36 | * | TAB | Q | W | E | R | T | 7 | 8 | 9 | Y | U | I | O | P | BACKSP | | ||
| 37 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 38 | * | ESC | A | S | D | F | G | 4 | 5 | 6 | H | J | K | L | ; | ' | | ||
| 39 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 40 | * | LSHIFT | Z | X | C | V | B | 1 | 2 | 3 | N | M | , | . | / | ENTER | | ||
| 41 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------+--------| | ||
| 42 | * | LCTRL | HYPER | LALT | LGUI | LOWER | FN | 0 | | . | SPACE | RAISE | LEFT | DOWN | UP | RIGHT | | ||
| 43 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
| 44 | */ | ||
| 45 | |||
| 46 | [_QW] = { /* QWERTY */ | ||
| 47 | { KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_PLUS, KC_MINS, KC_ASTR, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC }, | ||
| 48 | { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_7, KC_8, KC_9 , KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL }, | ||
| 49 | { LCTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_4, KC_5, KC_6 , KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT }, | ||
| 50 | { KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_1, KC_2, KC_3 , KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT }, | ||
| 51 | { KC_LCTL, KC_HYPR, KC_LALT, KC_LGUI, MO(_LW), MO(_FN), KC_0, _______, KC_DOT , KC_SPC, MO(_RS), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT }, | ||
| 52 | }, | ||
| 53 | |||
| 54 | /* Dvorak */ | ||
| 55 | |||
| 56 | [_DV] = { /* Dvorak */ | ||
| 57 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ }, | ||
| 58 | { _______, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, _______, _______, _______, KC_F, KC_G, KC_C, KC_R, KC_L, _______ }, | ||
| 59 | { _______, KC_A, KC_O, KC_E, KC_U, KC_I, _______, _______, _______, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH }, | ||
| 60 | { _______, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, _______, _______, _______, KC_B, KC_M, KC_W, KC_V, KC_Z, _______ }, | ||
| 61 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ }, | ||
| 62 | }, | ||
| 63 | |||
| 64 | |||
| 65 | /* LOWERED | ||
| 66 | * .--------------------------------------------------------------------------------------------------------------------------------------. | ||
| 67 | * | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | DEL | | ||
| 68 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 69 | * | ~ | ! | @ | # | $ | % | | VOLU | | ^ | & | * | ( | ) | DEL | | ||
| 70 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 71 | * | | F1 | F2 | F3 | F4 | F5 | PREV | PLAY | NEXT | F6 | _ | + | { | } | | | | ||
| 72 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------+--------| | ||
| 73 | * | | F7 | F8 | F9 | F10 | F11 | | VOLD | | F12 | PAGEDW | PAGEUP | HOME | END | MUTE | | ||
| 74 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------+--------| | ||
| 75 | * | | | | | | | | MUTE | | PLAY | | PREV | VOLD | VOLU | NEXT | | ||
| 76 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
| 77 | */ | ||
| 78 | |||
| 79 | [_LW] = { /* LOWERED */ | ||
| 80 | { _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL }, | ||
| 81 | { KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, _______, KC_VOLU, _______, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL }, | ||
| 82 | { _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_MPRV, KC_MPLY, KC_MNXT, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE }, | ||
| 83 | { _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_VOLD, _______, KC_F12, KC_PGDN, KC_PGUP, KC_HOME, KC_END , KC_MUTE }, | ||
| 84 | { _______, _______, _______, _______, _______, _______, _______, KC_MUTE, _______, KC_MPLY, _______, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT }, | ||
| 85 | }, | ||
| 86 | |||
| 87 | /* RAISED | ||
| 88 | * .--------------------------------------------------------------------------------------------------------------------------------------. | ||
| 89 | * | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | DEL | | ||
| 90 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 91 | * | ` | 1 | 2 | 3 | 4 | 5 | | VOLU | | 6 | 7 | 8 | 9 | 0 | | | ||
| 92 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 93 | * | | F1 | F2 | F3 | F4 | F5 | PREV | PLAY | NEXT | F6 | - | = | [ | ] | \ | | ||
| 94 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 95 | * | | F7 | F8 | F9 | F10 | F11 | | VOLD | | F12 | PAGEUP | PAGEDW | HOME | END | MUTE | | ||
| 96 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
| 97 | * | | | | | | | | MUTE | | PLAY | | PREV | VOLD | VOLU | NEXT | | ||
| 98 | * '--------------------------------------------------------------------------------------------------------------------------------------' | ||
| 99 | */ | ||
| 100 | |||
| 101 | [_RS] = { /* RAISED */ | ||
| 102 | { _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL }, | ||
| 103 | { KC_GRV , KC_1, KC_2, KC_3, KC_4, KC_5, _______, KC_VOLU, _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL }, | ||
| 104 | { _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_MPRV, KC_MPLY, KC_MNXT, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS }, | ||
| 105 | { _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_VOLD, _______, KC_F12, KC_PGDN, KC_PGUP, KC_HOME, KC_END , KC_MUTE }, | ||
| 106 | { _______, _______, _______, _______, _______, _______, _______, KC_MUTE, _______, KC_MPLY, _______, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT }, | ||
| 107 | }, | ||
| 108 | |||
| 109 | /* FUNCTION */ | ||
| 110 | |||
| 111 | [_FN] = { /* FUNCTION */ | ||
| 112 | { RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, BL_TOGG, BL_INC, BL_DEC, _______, _______, _______, _______ }, | ||
| 113 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP , _______, KC_PSCR, _______ }, | ||
| 114 | { _______, _______, _______, TO(_DV), TO(_QW), _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______ }, | ||
| 115 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ }, | ||
| 116 | { RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ }, | ||
| 117 | }, | ||
| 118 | }; | ||
| 119 | |||
| 120 | |||
diff --git a/keyboards/xd75/keymaps/msiu/readme.md b/keyboards/xd75/keymaps/msiu/readme.md new file mode 100644 index 000000000..d53c0f34a --- /dev/null +++ b/keyboards/xd75/keymaps/msiu/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for xd75 | |||
