summaryrefslogtreecommitdiff
path: root/keyboards/maple_computing/minidox/keymaps/tw1t611
diff options
context:
space:
mode:
authorpeepeetee <43021794+peepeetee@users.noreply.github.com>2022-01-31 03:28:04 +0800
committerGitHub <noreply@github.com>2022-01-30 11:28:04 -0800
commita1b39e6db231923935055846384eb2e78e538268 (patch)
treeeeaee7335efdff3d9ce960050882acf2cfe570a9 /keyboards/maple_computing/minidox/keymaps/tw1t611
parent07bb65384cf96be88feb2916604cb4a89cd0ad33 (diff)
[Keyboard] move That-Canadian 's boards into /maple_computing (#16050)
Diffstat (limited to 'keyboards/maple_computing/minidox/keymaps/tw1t611')
-rw-r--r--keyboards/maple_computing/minidox/keymaps/tw1t611/keymap.c59
-rw-r--r--keyboards/maple_computing/minidox/keymaps/tw1t611/readme.md23
-rw-r--r--keyboards/maple_computing/minidox/keymaps/tw1t611/rules.mk1
3 files changed, 83 insertions, 0 deletions
diff --git a/keyboards/maple_computing/minidox/keymaps/tw1t611/keymap.c b/keyboards/maple_computing/minidox/keymaps/tw1t611/keymap.c
new file mode 100644
index 0000000000..f479b10f67
--- /dev/null
+++ b/keyboards/maple_computing/minidox/keymaps/tw1t611/keymap.c
@@ -0,0 +1,59 @@
+#include QMK_KEYBOARD_H
+#include "keymap_german.h"
+
+extern keymap_config_t keymap_config;
+
+// Each layer gets a name for readability, which is then used in the keymap matrix below.
+// The underscores don't mean anything - you can have a layer called STUFF or any other name.
+// Layer names don't all need to be of the same length, obviously, and you can also skip them
+// entirely and just use numbers.
+#define _QWERTZ 0
+#define _LOWER 1
+#define _RAISE 2
+#define _ADJUST 3
+
+enum custom_keycodes {
+ QWERTY = SAFE_RANGE,
+ LOWER,
+ RAISE,
+ ADJUST,
+};
+
+// macro keys
+#define CALTDEL LCTL(LALT(KC_DEL)) // ctrl-alt-del
+#define CALTESC LCTL(LSFT(KC_ESC)) // ctrl-alt-esc
+#define CALT LCTL(KC_LALT) // ctrl-alt
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+[_QWERTZ] = LAYOUT( \
+ DE_Q, DE_W, DE_E, DE_R, DE_T, DE_Z, DE_U, DE_I, DE_O, DE_P, \
+ DE_A, DE_S, DE_D, DE_F, DE_G, DE_H, DE_J, DE_K, DE_L, KC_SPC, \
+ DE_Y, DE_X, DE_C, DE_V, DE_B, DE_N, DE_M, DE_COMM, DE_DOT, DE_MINS, \
+ KC_LCTRL, MO(_LOWER), MO(_RAISE), KC_LGUI, KC_LSFT, KC_LALT \
+),
+
+[_RAISE] = LAYOUT( \
+ DE_EXLM, DE_QUES, DE_SECT, DE_DLR, DE_HASH, DE_PLUS, DE_7, DE_8, DE_9, DE_0, \
+ DE_CIRC, DE_QUOT, DE_DQUO, DE_GRV, DE_AMPR, DE_ASTR, DE_4, DE_5, DE_6, DE_EQL, \
+ DE_SLSH, DE_PIPE, DE_BSLS, DE_AT, DE_EURO, DE_PERC, DE_1, DE_2, DE_3, KC_TAB, \
+ _______, _______, _______, _______, _______, _______ \
+),
+
+[_LOWER] = LAYOUT( \
+ KC_AUDIO_MUTE, KC_AUDIO_VOL_DOWN, DE_LBRC, DE_RBRC, KC_AUDIO_VOL_UP, KC_HOME, KC_PGDOWN, KC_PGUP, KC_END, DE_TILD, \
+ KC_ESC, DE_LABK, DE_LPRN, DE_RPRN, DE_RABK, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_ENT, \
+ KC_BSPC, KC_DEL, DE_LCBR, DE_RCBR, KC_PSCR, _______, DE_ADIA, DE_ODIA, DE_UDIA, DE_SS, \
+ _______, _______, _______, _______, MO(_ADJUST), _______ \
+),
+
+[_ADJUST] = LAYOUT( \
+ _______, _______, _______, _______, _______, _______, KC_F7, KC_F8, KC_F9, KC_F10, \
+ CALTESC, CALTDEL, _______, CALT, _______, _______, KC_F4, KC_F5, KC_F6, KC_F11, \
+ RESET, _______, _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F12, \
+ _______, _______, _______, _______, _______, _______ \
+)};
+
+void matrix_init_user(void) {
+ set_single_persistent_default_layer(_QWERTZ);
+};
diff --git a/keyboards/maple_computing/minidox/keymaps/tw1t611/readme.md b/keyboards/maple_computing/minidox/keymaps/tw1t611/readme.md
new file mode 100644
index 0000000000..7ab4526fbc
--- /dev/null
+++ b/keyboards/maple_computing/minidox/keymaps/tw1t611/readme.md
@@ -0,0 +1,23 @@
+# Minidox Layout by tw1t611
+![](https://imgur.com/M95KSke.png)
+
+This is a german layout with support for umlauts and the euro sign.
+You need to set your system layout to german.
+
+[keyboard-layout-editor.com](http://www.keyboard-layout-editor.com/#/gists/d58a82d8017d0c0cca044ef385def165)
+
+## Layers
+| Layer | Legend |
+| ----- | ------ |
+| Base | Top left (white) |
+| Lower | Top right (organge) |
+| Raise | Bottom right (blue) |
+| Adjust | Front print (orange + shift) |
+
+## Features
+* German layout with support for umlauts and the euro sign
+* Raise/lower layers focus first on one-handed use
+* Numpad on right hand with raise layer
+* Vim optimized
+ * Easy reachable Esc
+ * arrow keys on h, j, k, l
diff --git a/keyboards/maple_computing/minidox/keymaps/tw1t611/rules.mk b/keyboards/maple_computing/minidox/keymaps/tw1t611/rules.mk
new file mode 100644
index 0000000000..fcfd2225bc
--- /dev/null
+++ b/keyboards/maple_computing/minidox/keymaps/tw1t611/rules.mk
@@ -0,0 +1 @@
+EXTRAKEY_ENABLE = yes