summaryrefslogtreecommitdiffstats
path: root/keyboards/dz60
diff options
context:
space:
mode:
authorEduardo Lourenço Pinto Neto <edulpn@gmail.com>2019-03-05 16:28:35 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-03-05 16:28:35 +0100
commit69d6298f6ba4140dc7b3cec9da141ba9e533a367 (patch)
tree65617d29915b54c31277d88db3ccdc22b052fea1 /keyboards/dz60
parent4c62c7bd6ed41966467985bc22b6b07350ff3991 (diff)
downloadqmk_firmware-69d6298f6ba4140dc7b3cec9da141ba9e533a367.tar.gz
qmk_firmware-69d6298f6ba4140dc7b3cec9da141ba9e533a367.tar.xz
Add DZ60 Tsangan Layout + Fn layer (#5319)
* Fix Mac mute keycode * Add DZ60 Tsangan layout with Fn layer * Add new line at end of the file
Diffstat (limited to 'keyboards/dz60')
-rw-r--r--keyboards/dz60/keymaps/edulpn/README.md10
-rw-r--r--keyboards/dz60/keymaps/edulpn/keymap.c18
2 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/dz60/keymaps/edulpn/README.md b/keyboards/dz60/keymaps/edulpn/README.md
new file mode 100644
index 000000000..221be722b
--- /dev/null
+++ b/keyboards/dz60/keymaps/edulpn/README.md
@@ -0,0 +1,10 @@
+# Edulpn Tsangan Keymap for the DZ60 PCB
+
+## Additional Notes
+Tsangan 60% Keymap for DZ60 + Fn layer.
+
+### Layout
+![Edulpn Tsangan Keymap for the DZ60](https://i.imgur.com/z7HHeH7.png)
+
+## Build
+To build the default keymap, simply run `make dz60:edulpn`.
diff --git a/keyboards/dz60/keymaps/edulpn/keymap.c b/keyboards/dz60/keymaps/edulpn/keymap.c
new file mode 100644
index 000000000..74d7ca4f2
--- /dev/null
+++ b/keyboards/dz60/keymaps/edulpn/keymap.c
@@ -0,0 +1,18 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_60_tsangan_hhkb(
+ 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_BSLS, KC_DEL,
+ 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_BSPC,
+ 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_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL
+ ),
+ [1] = LAYOUT_60_tsangan_hhkb(
+ 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_TRNS, RESET,
+ KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_DEL,
+ KC_TRNS, KC_MPLY, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_RIGHT, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DOWN, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ )
+};