aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Ladner <waste@lugh.ch>2019-06-16 22:19:02 +0200
committerOliver Ladner <waste@lugh.ch>2019-06-16 22:19:02 +0200
commite58b82e7cabfe7848fb210793dae111f640349ca (patch)
tree2bb054f9638f2249a7f813ebebdb65ea56d3e6ed
parent53a81fc2f681eda7267804eb990bc24c4ef58512 (diff)
downloadqmk_firmware-e58b82e7cabfe7848fb210793dae111f640349ca.tar.gz
qmk_firmware-e58b82e7cabfe7848fb210793dae111f640349ca.zip
PoC weeheavy_2.25_lshift
-rw-r--r--keyboards/dz60/keymaps/weeheavy_2.25_lshift/README.md53
-rw-r--r--keyboards/dz60/keymaps/weeheavy_2.25_lshift/keymap.c30
2 files changed, 83 insertions, 0 deletions
diff --git a/keyboards/dz60/keymaps/weeheavy_2.25_lshift/README.md b/keyboards/dz60/keymaps/weeheavy_2.25_lshift/README.md
new file mode 100644
index 000000000..adb1175d8
--- /dev/null
+++ b/keyboards/dz60/keymaps/weeheavy_2.25_lshift/README.md
@@ -0,0 +1,53 @@
1![DZ60 ANSI with arrow cluster](https://i.imgur.com/014XWvY.png)
2
3# weeheavy's DZ60 layout
4
5* Default 2.25 left shift
6* arrow cluster
7
8## Layouts
9
10The base layout is ANSI QWERTY.
11
12Key sizes (ASCII keyboards below match this scale):
13
14 1u = 4 chars = | |
15 1.25u = 5 chars = | |
16 1.5u = 6 chars = | |
17 1.75u = 7 chars = | |
18 2u = 8 chars = | |
19 2.25u = 9 chars = | |
20 2.75u = 11 chars = | |
21 6.25u = 25 chars = | |
22
23### Layer 0: Base layout
24
25Specialities:
26
27* Arrow cluster
28* FN: access to layer 1
29
30```
31,----------------------------------------------------------.
32|Es||1 ||2 ||3 ||4 ||5 ||6 ||7 ||8 ||9 ||0 ||- ||= || Bksp |
33|----------------------------------------------------------+
34|Tab ||Q ||W ||E ||R ||T ||Y ||U ||I ||O ||P ||[ ||] || \ |
35|----------------------------------------------------------+
36|Caps ||A ||S ||D ||F ||G ||H ||J ||K ||L ||; ||' || Enter |
37|----------------------------------------------------------+
38| Shift ||Z ||X ||C ||V ||B ||N ||M ||, ||. ||/ || Shift |
39|----------------------------------------------------------+
40|Ctl||Win||Alt|| Space |FN||← ||↑ ||↓ ||→ |
41`----------------------------------------------------------'
42```
43
44### Layer 1: Utility
45
46Specialities:
47
48* F1-F12 keys when holding FN1
49* Movement cluster on the right hand side
50* Multimedia cluster on the bottom right
51* RGB config on the left hand side
52* Reset key on ESC and backslash location
53* Additional "B" key (a learning from my mistakes)
diff --git a/keyboards/dz60/keymaps/weeheavy_2.25_lshift/keymap.c b/keyboards/dz60/keymaps/weeheavy_2.25_lshift/keymap.c
new file mode 100644
index 000000000..9d70b6a01
--- /dev/null
+++ b/keyboards/dz60/keymaps/weeheavy_2.25_lshift/keymap.c
@@ -0,0 +1,30 @@
1#include QMK_KEYBOARD_H
2
3// Make special keycodes more visible
4#define ____ KC_TRNS
5#define XXXX KC_NO
6
7// Layer definition
8#define L0 0
9#define L1 1
10
11const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
12
13// Base layer - ANSI QWERTY
14[L0] = LAYOUT_all(
15 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, XXXX, KC_BSPC,
16 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,
17 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,
18 KC_LSFT, XXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, KC_RSFT,
19 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, MO(L1), KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT),
20
21// Utility layer - RGB and multimedia control, reset and additional "b" button
22[L1] = LAYOUT_all(
23 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, ____, ____,
24 KB_B, RGB_TOG, RGB_MOD, RGB_M_K, RGB_M_R, ____, ____, KC_PSCR, ____, KC_PAUS, ____, ____, ____, RESET,
25 ____, RGB_HUI, RGB_HUD, ____, ____, ____, ____, KC_INS, KC_HOME, KC_PGUP, ____, ____, ____,
26 ____, ____, RGB_SAI, RGB_SAD, ____, ____, ____, ____, ____, KC_END, KC_PGDN, ____, KC_MPLY, KC_VOLU, KC_MUTE,
27 ____, RGB_VAI, RGB_VAD, ____, ____, ____, ____, ____, KC_MPRV, KC_VOLD, KC_MNXT),
28
29};
30