Skip to content

Commit

Permalink
Merge pull request #1 from whoisjordangarcia/arickho-custom-dz60
Browse files Browse the repository at this point in the history
feat: arickho's custom dz60 setup
  • Loading branch information
whoisjordangarcia authored Feb 29, 2024
2 parents 4e369d4 + 1645e3b commit 63bbcba
Show file tree
Hide file tree
Showing 5 changed files with 204 additions and 1 deletion.
15 changes: 15 additions & 0 deletions keyboards/dz60/keymaps/arickho/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Customized Planck Layout

This layout is based off the default layout with a few changes. I work as a web developer, so these changes are primarly aimed for me.

## Layers

#### Base (QWERTY)


#### Utility Layer


#### Mouse Layer

#### Lights Layer
66 changes: 66 additions & 0 deletions keyboards/dz60/keymaps/arickho/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#ifndef CONFIG_H
#define CONFIG_H

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x2260
#define DEVICE_VER 0x0001
#define MANUFACTURER KBDFans
#define PRODUCT DZ60
#define DESCRIPTION DZ60 Keyboard

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

/* key matrix pins */
#define MATRIX_ROW_PINS \
{ \
D0, D1, D2, D3, D5 \
}
#define MATRIX_COL_PINS \
{ \
F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4 \
}
#define UNUSED_PINS

/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

/* number of backlight levels */
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 5

/* Set 0 if debouncing isn't needed */
#define DEBOUNCING_DELAY 5

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

/* key combination for command */
#define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))

/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS

#define RGB_DI_PIN E2
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 16
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define BACKLIGHT_BREATHING

#define MOUSEKEY_DELAY 0
#define MOUSEKEY_INTERVAL 16
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_TIME_TO_MAX 60
#define MOUSEKEY_WHEEL_DELAY 0

#endif
79 changes: 79 additions & 0 deletions keyboards/dz60/keymaps/arickho/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#include QMK_KEYBOARD_H

// Fillers to make layering more clear
#define _______ KC_TRNS
#define _DEAD_ KC_TRNS
#define XXXXXXX KC_NO

#define _DL 0 // DEFAULT
#define _UTIL 1 // Utility layer
#define _LIGHTS 3 // Lights layer

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

/* Keymap BL: Base Layer (Default Layer)
*
* ,-----------------------------------------------------------.
* | ' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Backsp |
* |-----------------------------------------------------------|
* | Tab | q | w | e | r | t | y | u | i | o | p | [ | ] |enter|
* |------------------------------------------------------ |
* | FN | a | s | d | f | g | h | j | k | l | ; | ' | # | |
* |-----------------------------------------------------------|
* |Shft| < | z | x | c | v | b | n | m | , | . | / | Shift |
* |-----------------------------------------------------------|
* |Ctrl|Gui |Alt | Space | FN | Space |Alt |Gui | NL |Ctrl |
* `-----------------------------------------------------------'
*/

[_DL] = LAYOUT_60_iso_split(
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14
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, _DEAD_, 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,
MO(_UTIL), 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_LSHIFT, _DEAD_, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSHIFT, MT(MOD_RSFT, KC_UP), KC_RSHIFT,
KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, MO(_LIGHTS), KC_SPC, MO(_MOUSE), MO(_LIGHTS), KC_LEFT, KC_DOWN, KC_RGHT),

/* Utility Layer
* ,-----------------------------------------------------------------------------------------.
* | ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | | | | DELETE |
* |-----------------------------------------------------------------------------------------+
* | CAPSLOCK | REWIND | PLAY/PAUSE | FORWARD | | | | | UP | | | | | |
* |-----------------------------------------------------------------------------------------+
* | | | VOL DWN | VOL UP | MUTE | | | LFT | DWN | RHT | | | |
* |-----------------------------------------------------------------------------------------+
* | | SCREENSHOT | 1Pass | | | | | | | | | | |
* |-----------------------------------------------------------------------------------------+
* | | | | | | | | | | | |
* `-----------------------------------------------------------------------------------------'
*/

[_UTIL] = LAYOUT_60_iso_split(
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, _DEAD_, KC_DEL,
KC_LCAP, KC_MRWD, KC_MPLY, KC_MFFD, _______, _______, _______, _______, KC_UP, _______, _______, _______, KC_PWR, RESET,
_______, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______,
_______, _DEAD_, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, SCREENSHOT, ONE_PASSWORD, _______, _______, _______),

/* Light Layer
* ,-----------------------------------------------------------------------------------------.
* | | | | | | | | | | | | | | | |
* |-----------------------------------------------------------------------------------------+
* | | LIGHT TOGGL | NEXT ANIM | REV ANIM | | | | | | | | | | |
* |-----------------------------------------------------------------------------------------+
* | | INCRES HUE | DEC HUE | INC SAT | DEC SAT | | | | | | | | |
* |-----------------------------------------------------------------------------------------+
* | | INCRE BRIGHT | DEC BRIGHT | | | | | | | | | | |
* |-----------------------------------------------------------------------------------------+
* | | | | | | | | | | | |
* `-----------------------------------------------------------------------------------------'
*/

[_LIGHTS] = LAYOUT_60_iso_split(
RGB_MODE_PLAIN, RGB_MODE_BREATHE, RGB_MODE_RAINBOW, RGB_MODE_SWIRL, RGB_MODE_SNAKE, RGB_MODE_KNIGHT, RGB_MODE_XMAS, RGB_MODE_GRADIENT, _______, _______, _______, _______, _______, _______, _______,
_______, RGB_TOG, RGB_MODE_FORWARD, RGB_MODE_REVERSE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______,
_______, _DEAD_, _______, _______, _______, BL_TOGG, BL_INC, BL_DEC, BL_BRTG, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),

};
44 changes: 44 additions & 0 deletions keyboards/kbdfans/kbd67/rev2/keymaps/arickho_split/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Keymap (Base Layer) Default Layer
* ,----------------------------------------------------------------.
* |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Home|
* |----------------------------------------------------------------|
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |PgUp|
* |----------------------------------------------------------------|
* |L1 | A| S| D| F| G| H| J| K| L| ;| '|Return |PgDn|
* |----------------------------------------------------------------|
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|End |
* |----------------------------------------------------------------|
* |Ctrl|Win |Alt | space | L1| space |Alt| FN|Ctrl|Lef|Dow|Rig |
* `----------------------------------------------------------------'
*/
[0] = LAYOUT_65_ansi_split_space(
KC_GRV, 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_ESC,
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_HOME,
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,
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_LGUI, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, MO(2), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ),

/* Keymap Fn Layer
* ,----------------------------------------------------------------.
* |~ `|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Ins |
* |----------------------------------------------------------------|
* | | |Up | | | | | |PSc|SLk|Pau|Up | | | |
* |----------------------------------------------------------------|
* | |Lef|Dow|Rig| | | | |Hom|PUp|Lef|Rig| | |
* |----------------------------------------------------------------|
* | | | | | | | | |End|PDn|Dow| |PUp| |
* |----------------------------------------------------------------|
* | | | | | | | |Hom|PDn|End |
* `----------------------------------------------------------------'
*/
[1] = LAYOUT_65_ansi_split_space(
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_INS,
_______,_______, KC_UP,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,
_______,KC_LEFT,KC_DOWN,KC_RGHT,_______,_______,_______,_______,KC_LEFT,KC_PGDN,KC_PGUP,KC_RGHT, _______,_______,
_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, _______,KC_PGUP,_______,
_______, _______, _______,_______, _______, _______, _______,_______,_______,KC_HOME,KC_PGDN, KC_END),
};
1 change: 0 additions & 1 deletion lib/lufa
Submodule lufa deleted from 549b97

0 comments on commit 63bbcba

Please sign in to comment.