From 1b06ea0c863b493215d80400f00797ceb0eabc3d Mon Sep 17 00:00:00 2001 From: Chris Alves Date: Mon, 28 Oct 2019 20:25:11 -0400 Subject: [Keymap] Added new custom keymap for the DZ60 (#6948) * Added custom dz60 keymap * Update readme.md * Updated pictures in README.md * README.md fixes * Updated mouse layout/ added ` key * Changed bkspc key to del in mod * Changed picture * Updated keymap * Removed default dz60 config.h * Updated Readme * Added Devorak Keymap * Re-added Default Config File * Updated Flash Command * Cleaned Up Custom Config File * Added Lock Security Layer * Updated Readme Picture --- keyboards/dz60/config.h | 2 +- keyboards/dz60/keymaps/chrisae9/build_flash.sh | 7 +++++ keyboards/dz60/keymaps/chrisae9/config.h | 17 +++++++++++ keyboards/dz60/keymaps/chrisae9/keymap.c | 39 ++++++++++++++++++++++++++ keyboards/dz60/keymaps/chrisae9/readme.md | 33 ++++++++++++++++++++++ 5 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 keyboards/dz60/keymaps/chrisae9/build_flash.sh create mode 100644 keyboards/dz60/keymaps/chrisae9/config.h create mode 100644 keyboards/dz60/keymaps/chrisae9/keymap.c create mode 100644 keyboards/dz60/keymaps/chrisae9/readme.md (limited to 'keyboards/dz60') diff --git a/keyboards/dz60/config.h b/keyboards/dz60/config.h index 8d66c35847..d121d997b8 100644 --- a/keyboards/dz60/config.h +++ b/keyboards/dz60/config.h @@ -43,4 +43,4 @@ #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 -#endif +#endif \ No newline at end of file diff --git a/keyboards/dz60/keymaps/chrisae9/build_flash.sh b/keyboards/dz60/keymaps/chrisae9/build_flash.sh new file mode 100644 index 0000000000..12adb8466b --- /dev/null +++ b/keyboards/dz60/keymaps/chrisae9/build_flash.sh @@ -0,0 +1,7 @@ +#OLD WAY +# dfu-programmer atmega32u4 erase --force +# dfu-programmer atmega32u4 flash /path/to/firmware.hex +# dfu-programmer atmega32u4 reset + +# run this in the qmk_firmware directory +make dz60:chrisae9:flash \ No newline at end of file diff --git a/keyboards/dz60/keymaps/chrisae9/config.h b/keyboards/dz60/keymaps/chrisae9/config.h new file mode 100644 index 0000000000..659970b72a --- /dev/null +++ b/keyboards/dz60/keymaps/chrisae9/config.h @@ -0,0 +1,17 @@ +/* chrisae9 Config */ +#pragma once + +/* Light Config */ +#undef RGBLIGHT_HUE_STEP +#define RGBLIGHT_HUE_STEP 1 +#undef RGBLIGHT_SAT_STEP +#define RGBLIGHT_SAT_STEP 8 +#undef RGBLIGHT_VAL_STEP +#define RGBLIGHT_VAL_STEP 16 + +/* Mouse Config */ +#define MOUSEKEY_DELAY 0 +#define MOUSEKEY_INTERVAL 15 +#define MOUSEKEY_TIME_TO_MAX 10 +#define MOUSEKEY_MAX_SPEED 2.5 + diff --git a/keyboards/dz60/keymaps/chrisae9/keymap.c b/keyboards/dz60/keymaps/chrisae9/keymap.c new file mode 100644 index 0000000000..f5403ff71b --- /dev/null +++ b/keyboards/dz60/keymaps/chrisae9/keymap.c @@ -0,0 +1,39 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + LAYOUT( + 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_NO, KC_BSPC, + 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_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_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, MO(2), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, MO(3), KC_LEFT, KC_NO, KC_DOWN, KC_RIGHT), + LAYOUT( + KC_CAPS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_NO, KC_BSPC, + KC_TRNS, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLASH, KC_EQL, KC_TRNS, + KC_GESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, KC_ENT, + KC_LSFT, KC_NO, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_UP, MO(2), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, MO(3), KC_LEFT, KC_NO, KC_DOWN, KC_RIGHT), + + LAYOUT( + 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_NO, KC_DEL, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + TG(4), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RSFT, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, TG(1), TG(1), TG(1), MO(3), KC_RALT, KC_NO, KC_RGUI, KC_RCTL), + + LAYOUT( + KC_PWR, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BRID, KC_BRIU, KC_NO, KC_PSCR, + KC_TRNS, KC_PGUP, KC_MS_U, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, + KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_MPLY, + KC_TRNS, KC_NO, RGB_M_P, RGB_M_B, KC_BTN3, KC_BTN4, KC_BTN5, KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAD, RGB_VAI, RGB_SAI, RGB_TOG, + KC_TRNS, KC_TRNS, KC_MS_BTN2, KC_MS_BTN1, KC_MS_BTN1, KC_MS_BTN1, KC_TRNS, RGB_HUD, KC_NO, RGB_SAD, RGB_HUI), + + LAYOUT( + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + TG(4), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO), + +}; diff --git a/keyboards/dz60/keymaps/chrisae9/readme.md b/keyboards/dz60/keymaps/chrisae9/readme.md new file mode 100644 index 0000000000..1057b58adb --- /dev/null +++ b/keyboards/dz60/keymaps/chrisae9/readme.md @@ -0,0 +1,33 @@ +# Chris' DZ60 Layout + +This is a custom keymap for the layout of the DZ60. + +## Keyboard Picture + +![Keyboard Picture](https://i.imgur.com/AKDKAXN.png) + +## Keyboard Layout + +![Chris DZ60](https://i.imgur.com/Z8XDwiI.png) + +## Setup + +[QMK Tookbox Download](https://github.com/qmk/qmk_toolbox/releases/tag/0.0.13) + +[MYSYS2 for Windows](http://www.msys2.org/) + +``` bash +#After downloading +pacman -Syu +#Close and re-open +pacman -Su +pacman -S git + +#Clone this repo and run this command in directory +util/qmk_install.sh +``` + +``` bash +#From the qmk_firware directory run +make dz60:chrisae9:flash +``` -- cgit v1.2.3