diff options
| author | Patricio Gonzalez del Valle <pagondel@gmail.com> | 2020-09-19 20:00:45 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-19 16:00:45 -0700 |
| commit | 08ef4b4a96e5b6b5bd857a6570fdddd9d6fcaac7 (patch) | |
| tree | 9af36fdf6eec70f4f9d23991673aa4896ba70dac /keyboards | |
| parent | 12fe78ee57aca9d8fb9e85c2ee4176284ce26817 (diff) | |
| download | qmk_firmware-08ef4b4a96e5b6b5bd857a6570fdddd9d6fcaac7.tar.gz qmk_firmware-08ef4b4a96e5b6b5bd857a6570fdddd9d6fcaac7.zip | |
[Keymap] Adds pagondel layout for dz65rgb v2 (#9914)
* Adds pagondel layout for dz65rgb v2
* Adds license information
* replaces define by enums
* Update license year
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/dztech/dz65rgb/keymaps/pagondel/keymap.c | 65 | ||||
| -rw-r--r-- | keyboards/dztech/dz65rgb/keymaps/pagondel/readme.md | 35 |
2 files changed, 100 insertions, 0 deletions
diff --git a/keyboards/dztech/dz65rgb/keymaps/pagondel/keymap.c b/keyboards/dztech/dz65rgb/keymaps/pagondel/keymap.c new file mode 100644 index 000000000..277323987 --- /dev/null +++ b/keyboards/dztech/dz65rgb/keymaps/pagondel/keymap.c | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | /* Copyright 2020 pagondel | ||
| 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 QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | enum layers { | ||
| 20 | _BL, | ||
| 21 | _FL, | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | /* Keymap _BL: (Base Layer) Default Layer | ||
| 26 | * ,-----------------------------------------------------------------------------. | ||
| 27 | * |Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Backsp |~ ` | | ||
| 28 | * |-----------------------------------------------------------------------------| | ||
| 29 | * |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del | | ||
| 30 | * |-----------------------------------------------------------------------------| | ||
| 31 | * |FN | A | S | D | F | G | H | J | K | L | ; | ' |Return |PgUp| | ||
| 32 | * |-----------------------------------------------------------------------------| | ||
| 33 | * |Shift | Z | X | C | V | B | N | M | , | . | / |Shift | Up |PgDn| | ||
| 34 | * |-----------------------------------------------------------------------------| | ||
| 35 | * |Ctrl |Win |Alt | Space |Alt | FN |Ctrl |Lef |Dow |Rig | | ||
| 36 | * `-----------------------------------------------------------------------------' | ||
| 37 | */ | ||
| 38 | [_BL] = LAYOUT_65_ansi( | ||
| 39 | 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_BSPC, KC_GRV, | ||
| 40 | 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_DEL, | ||
| 41 | MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, | ||
| 42 | 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, KC_PGDN, | ||
| 43 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 44 | ), | ||
| 45 | /* Keymap _FL: Function Layer | ||
| 46 | * ,-----------------------------------------------------------------------------. | ||
| 47 | * |Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 |F10 |F11 |F12 |DEL |PNTS| | ||
| 48 | * |-----------------------------------------------------------------------------| | ||
| 49 | * | |RgbT|RgbM|Hue+|Hue-|Sat+|Sat-|BR+ |BR- | | |SLCK|Paus|RST | | | ||
| 50 | * |-----------------------------------------------------------------------------| | ||
| 51 | * | |Eff+|Eff-| | | | | | | | | |EEP RST | | | ||
| 52 | * |-----------------------------------------------------------------------------| | ||
| 53 | * |Shift | | | | | |NK T|Mute|Vol-|Vol+| | |PgUp| | | ||
| 54 | * |-----------------------------------------------------------------------------| | ||
| 55 | * | | | | Play | | | |Home|PgDn|End | | ||
| 56 | * `-----------------------------------------------------------------------------' | ||
| 57 | */ | ||
| 58 | [_FL] = LAYOUT_65_ansi( | ||
| 59 | KC_ESC, 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_PSCR, | ||
| 60 | _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, KC_SLCK, KC_PAUS, RESET, _______, | ||
| 61 | _______, RGB_SPI, RGB_SPD, _______, _______, _______, _______, _______, _______, _______, _______, _______, EEP_RST, _______, | ||
| 62 | KC_LSFT, _______, _______, _______, _______, _______, NK_TOGG, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, _______, | ||
| 63 | _______, _______, _______, KC_MPLY, _______, _______, _______, KC_HOME, KC_VOLD, KC_END | ||
| 64 | ) | ||
| 65 | }; | ||
diff --git a/keyboards/dztech/dz65rgb/keymaps/pagondel/readme.md b/keyboards/dztech/dz65rgb/keymaps/pagondel/readme.md new file mode 100644 index 000000000..8f55ce428 --- /dev/null +++ b/keyboards/dztech/dz65rgb/keymaps/pagondel/readme.md | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | # pagondel's DZ65RGB v2 layout | ||
| 2 | |||
| 3 | ``` | ||
| 4 | Keymap Default Layer | ||
| 5 | ,-----------------------------------------------------------------------------. | ||
| 6 | |Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Backsp |~ ` | | ||
| 7 | |-----------------------------------------------------------------------------| | ||
| 8 | |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del | | ||
| 9 | |-----------------------------------------------------------------------------| | ||
| 10 | |FN | A | S | D | F | G | H | J | K | L | ; | ' |Return |PgUp| | ||
| 11 | |-----------------------------------------------------------------------------| | ||
| 12 | |Shift | Z | X | C | V | B | N | M | , | . | / |Shift | Up |PgDn| | ||
| 13 | |-----------------------------------------------------------------------------| | ||
| 14 | |Ctrl |Win |Alt | Space |Alt | FN |Ctrl |Lef |Dow |Rig | | ||
| 15 | `-----------------------------------------------------------------------------' | ||
| 16 | ``` | ||
| 17 | |||
| 18 | ``` | ||
| 19 | Keymap Function Layer | ||
| 20 | ,-----------------------------------------------------------------------------. | ||
| 21 | |Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 |F10 |F11 |F12 |DEL |PNTS| | ||
| 22 | |-----------------------------------------------------------------------------| | ||
| 23 | | |RgbT|RgbM|Hue+|Hue-|Sat+|Sat-|BR+ |BR- | | |SLCK|Paus|RST | | | ||
| 24 | |-----------------------------------------------------------------------------| | ||
| 25 | | |Eff+|Eff-| | | | | | | | | |EEP RST | | | ||
| 26 | |-----------------------------------------------------------------------------| | ||
| 27 | |Shift | | | | | |NK T|Mute|Vol-|Vol+| | |PgUp| | | ||
| 28 | |-----------------------------------------------------------------------------| | ||
| 29 | | | | | Play | | | |Home|PgDn|End | | ||
| 30 | `-----------------------------------------------------------------------------' | ||
| 31 | ``` | ||
| 32 | |||
| 33 | ### Build layout | ||
| 34 | |||
| 35 | ```qmk compile -kb dztech/dz65rgb/v2 -km pagondel``` | ||
