From 8b9d4fd341c57d1bc38a18a96d213248e9afcc52 Mon Sep 17 00:00:00 2001 From: Adi M Date: Sat, 11 Jan 2020 17:01:48 -0800 Subject: [PATCH] Adi's DZ65RGB layout (#7845) * Adi's DZ65RGB layout * Update keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/readme.md Co-Authored-By: fauxpark * Rename layers.JSON to layers.json * Update readme.md * Update keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/keymap.c Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/keymap.c Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Delete layers.json * Update keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/readme.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Rename keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/readme.md to keyboards/dztech/dz65rgb/keymaps/adi/readme.md * Rename keyboards/dztech/dz65rgb/keymaps/adi_dz65rgb_ansi/keymap.c to keyboards/dztech/dz65rgb/keymaps/adi/keymap.c Co-authored-by: fauxpark Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> --- keyboards/dztech/dz65rgb/keymaps/adi/keymap.c | 19 +++++++++++++++++++ .../dztech/dz65rgb/keymaps/adi/readme.md | 13 +++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 keyboards/dztech/dz65rgb/keymaps/adi/keymap.c create mode 100644 keyboards/dztech/dz65rgb/keymaps/adi/readme.md diff --git a/keyboards/dztech/dz65rgb/keymaps/adi/keymap.c b/keyboards/dztech/dz65rgb/keymaps/adi/keymap.c new file mode 100644 index 0000000000..f3d3cbf9a4 --- /dev/null +++ b/keyboards/dztech/dz65rgb/keymaps/adi/keymap.c @@ -0,0 +1,19 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_65_ansi( + 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_GRV, + 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, + LCTL_T(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, KC_PGUP, + 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, + KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_65_ansi( + KC_GESC, 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_HOME, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_PGUP, + LCTL_T(KC_CAPS), RGB_SPD, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, EEP_RST, KC_PGDN, + KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_VOLU, KC_MUTE, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT + ) + +}; diff --git a/keyboards/dztech/dz65rgb/keymaps/adi/readme.md b/keyboards/dztech/dz65rgb/keymaps/adi/readme.md new file mode 100644 index 0000000000..fd3a6744ca --- /dev/null +++ b/keyboards/dztech/dz65rgb/keymaps/adi/readme.md @@ -0,0 +1,13 @@ +# Adi's DZ65RGB Layout +![Layout Visual](https://i.imgur.com/xuFkvVI.png) + +This layout modifies the extra row on the right and makes some of the key bindings easier to reach on Layer 1. +## Step by Step +1. Build your Firmware: run build command in directory +```make dztech/dz65rgb/v1:adi``` +2. Flash your Firmware: + * Open QMK Toolbox Application + * Open firmware file: dztech_dz65rgb_v1_adi.bin + * Unplug keyboard USB-C, and hold the ESC key while plugging it back in + * Check that QMK Toolbox displays: *** STM32 device connected. + * Hit the flash button!