aboutsummaryrefslogtreecommitdiff
path: root/keyboards/tada68
diff options
context:
space:
mode:
authorEndemoniada <martin@mekberg.se>2019-10-16 19:48:00 +0200
committerDrashna Jaelre <drashna@live.com>2019-10-16 10:48:00 -0700
commit7677e8adde5a47a112a3b84fbd526133106b2d88 (patch)
treee17482ab1598281a3b4e8dc4899fd2decf1d8705 /keyboards/tada68
parent162dd3fe19a9c3bf15d63013bf51a49877de0bc9 (diff)
downloadqmk_firmware-7677e8adde5a47a112a3b84fbd526133106b2d88.tar.gz
qmk_firmware-7677e8adde5a47a112a3b84fbd526133106b2d88.zip
[Keymap] Add Endemoniada keymaps (#6875)
* Add dz60 keymap * Add my TADA68 layout * Fix descriptions and formatting * Formatting fixes * Add readme file * Formatting * move caps lock to correct key, add F-keys to both layers * Add readme for dz60 * First draft of custom Let's Split layout * Some more keys * Finalized keymap * Added a bunch of custom shortcuts to make layout easier to read * Add PERMISSIVE_HOLD option to modtap behavior * Add lock and sleep shortcuts, formatting * Minor fixes and adjustments * Add PERMISSIVE_HOLD option, add sleep/lock shortcuts, minor fixes * Add sleep/lock shortcuts, minor fixes * fixups * Major simplification of lets_split layout into more standard raise/lower/special layers * Remove layer songs, add to readme * Formatting * Switch a few keys around for reachability * Add windows/mac specific layers * simplify layers * Update README * Fix legends * Invert numpad and put Del in upper right corner * Disable arrow keys on Raise, add build instructions * Move dz60 keymap to its own branch * Remove redundant configuration * Change volume and sleep keycodes to standard * Removing empty rules.mk * Changing layer defines to enum * Adding comment to explain reason for swapping KC_TRNS and KC_NO fillers
Diffstat (limited to 'keyboards/tada68')
-rw-r--r--keyboards/tada68/keymaps/mekberg/config.h5
-rwxr-xr-xkeyboards/tada68/keymaps/mekberg/keymap.c100
-rw-r--r--keyboards/tada68/keymaps/mekberg/readme.md58
-rw-r--r--keyboards/tada68/keymaps/mekberg/rules.mk5
4 files changed, 168 insertions, 0 deletions
diff --git a/keyboards/tada68/keymaps/mekberg/config.h b/keyboards/tada68/keymaps/mekberg/config.h
new file mode 100644
index 000000000..d29180a5a
--- /dev/null
+++ b/keyboards/tada68/keymaps/mekberg/config.h
@@ -0,0 +1,5 @@
1#pragma once
2
3// Define some configuration for modtap behavior
4// #define TAPPING_TERM 150
5#define PERMISSIVE_HOLD
diff --git a/keyboards/tada68/keymaps/mekberg/keymap.c b/keyboards/tada68/keymaps/mekberg/keymap.c
new file mode 100755
index 000000000..1acbf2c48
--- /dev/null
+++ b/keyboards/tada68/keymaps/mekberg/keymap.c
@@ -0,0 +1,100 @@
1#include QMK_KEYBOARD_H
2
3// Fillers to make layering more clear
4// The default names have been swapped to make the keymap more readable.
5#define XXXXXX KC_TRNS
6#define ______ KC_NO
7
8// ISO keycodes with Swedish layout names
9#define SE_PLUS KC_MINS // +
10#define SE_TCK KC_EQL // Fronttick (´)
11#define SE_DASH KC_SLSH // -
12#define SE_UML KC_RBRC // Umlaut (¨)
13#define SE_QUT KC_NUHS // Singlequote (')
14#define SE_AUML KC_QUOT // Ä
15#define SE_ARNG KC_LBRC // Å
16#define SE_OUML KC_SCLN // Ö
17#define SE_LT KC_NUBS // <
18
19// My common shortcuts
20#define MY_PREV KC_MRWD // Media: Previous
21#define MY_NEXT KC_MFFD // Media: Next
22#define MY_PLAY KC_MPLY // Media: Play/Pause
23#define MY_LOCK C(A(KC_L)) // Mac: Lock
24
25
26/*
27TADA68 ISO physical layout
281u == 8chars
29,----------------------------------------------------------------------------------------------------------------------------------------------.
30| | | | | | | | | | | | | | 2u | |
31|----------------------------------------------------------------------------------------------------------------------------------------------|
32| 1,5u | | | | | | | | | | | | | 1,5u | |
33|--------------------------------------------------------------------------------------------------------------------------| |--------|
34| 1,75u | | | | | | | | | | | | | 1,25u | |
35|----------------------------------------------------------------------------------------------------------------------------------------------|
36| 1,25u | | | | | | | | | | | | 1,75u | | |
37|----------------------------------------------------------------------------------------------------------------------------------------------|
38| 1,25u | 1,25u | 1,25u | | | | | | | |
39`----------------------------------------------------------------------------------------------------------------------------------------------'
40*/
41
42
43const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
44 [0] = LAYOUT_iso(
45// ,----------------------------------------------------------------------------------------------------------------------------------------------.
46// | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | + | ´ | Backspace | Home |
47 KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, SE_PLUS, SE_TCK, KC_BSPC, KC_HOME,
48// |----------------------------------------------------------------------------------------------------------------------------------------------|
49// | Tab | Q | W | E | R | T | Y | U | I | O | P | Å | ¨ | | End |
50 LT(2,KC_TAB), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, SE_ARNG, SE_UML, KC_END,
51// |--------------------------------------------------------------------------------------------------------------------------| |--------|
52// | LCtrl | A | S | D | F | G | H | J | K | L | Ö | Ä | ' | Enter | PgUp |
53 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, SE_OUML, SE_AUML, SE_QUT, KC_ENT, KC_PGUP,
54// |----------------------------------------------------------------------------------------------------------------------------------------------|
55// | LShift | <> | Z | X | C | V | B | N | M | , | . | - | RShift | Up | PgDn |
56 KC_LSFT, SE_LT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, SE_DASH, KC_RSFT, KC_UP, KC_PGDN,
57// |----------------------------------------------------------------------------------------------------------------------------------------------|
58// | LCtrl | LAlt | Command | Space |Command | RAlt | Fn | Left | Down | Right |
59 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_LGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
60// `----------------------------------------------------------------------------------------------------------------------------------------------'
61 ),
62
63 [1] = LAYOUT_iso(
64// ,----------------------------------------------------------------------------------------------------------------------------------------------.
65// | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete | Ins |
66 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,
67// |----------------------------------------------------------------------------------------------------------------------------------------------|
68// | | | Up | | | | | | | | | | | | Mute |
69 ______, ______, KC_UP, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC__MUTE,
70// |--------------------------------------------------------------------------------------------------------------------------| Lock |--------|
71// | Caps Lock | Left | Down | Right | BLight | | | | | | | | | Screen | VolUp |
72 KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, BL_BRTG, ______, ______, ______, ______, ______, ______, ______, ______, MY_LOCK, KC_VOLU,
73// |----------------------------------------------------------------------------------------------------------------------------------------------|
74// | | | | | Bl- |BLtoggle | Bl+ | | | | | | | Stop | VolDn |
75 ______, ______, ______, ______, BL_DEC, BL_TOGG, BL_INC, ______, ______, ______, ______, ______, ______, KC_MSTP, KC_VOLD,
76// |----------------------------------------------------------------------------------------------------------------------------------------------|
77// | | | | Sleep | | | | Prev | Play | Fwd |
78 ______, ______, ______, KC_SLEP, ______, ______, XXXXXX, MY_PREV, MY_PLAY, MY_NEXT
79// `----------------------------------------------------------------------------------------------------------------------------------------------'
80 ),
81
82 [2] = LAYOUT_iso(
83// ,----------------------------------------------------------------------------------------------------------------------------------------------.
84// | Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete | |
85 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_DEL, ______,
86// |----------------------------------------------------------------------------------------------------------------------------------------------|
87// | | | Up | | | | | | | | | | | | Mute |
88 XXXXXX, ______, KC_UP, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC__MUTE,
89// |--------------------------------------------------------------------------------------------------------------------------| |--------|
90// | | Left | Down | Right | | | Left | Down | Up | Right | | | | | VolUp |
91 ______, KC_LEFT, KC_DOWN, KC_RGHT, ______, ______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, ______, ______, ______, ______, KC_VOLU,
92// |----------------------------------------------------------------------------------------------------------------------------------------------|
93// | | | | | | | | | | | | | | Stop | VolDn |
94 ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_MSTP, KC_VOLD,
95// |----------------------------------------------------------------------------------------------------------------------------------------------|
96// | | | | | | | | Prev | Play | Fwd |
97 ______, ______, ______, ______, ______, ______, ______, MY_PREV, MY_PLAY, MY_NEXT
98// `----------------------------------------------------------------------------------------------------------------------------------------------'
99 )
100};
diff --git a/keyboards/tada68/keymaps/mekberg/readme.md b/keyboards/tada68/keymaps/mekberg/readme.md
new file mode 100644
index 000000000..be578e957
--- /dev/null
+++ b/keyboards/tada68/keymaps/mekberg/readme.md
@@ -0,0 +1,58 @@
1# Mekberg's TADA68 layout
2
3More or less a standard Swedish ISO layout, with Mac-centric key positions. All keys not assigned on non-default layers are set to KC_NO
4as I don't want them to pass through when activating a layer.
5
6# Layers
7
8### Base Layer
9
10```
11,----------------------------------------------------------------------------------------------------------------------------------------------.
12| Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | + | ´ | Backspace | Home |
13|----------------------------------------------------------------------------------------------------------------------------------------------|
14| Tab | Q | W | E | R | T | Y | U | I | O | P | Å | ¨ | | End |
15|--------------------------------------------------------------------------------------------------------------------------| |--------|
16| LCtrl | A | S | D | F | G | H | J | K | L | Ö | Ä | ' | Enter | PgUp |
17|----------------------------------------------------------------------------------------------------------------------------------------------|
18| LShift | <> | Z | X | C | V | B | N | M | , | . | - | RShift | Up | PgDn |
19|----------------------------------------------------------------------------------------------------------------------------------------------|
20| LCtrl | LAlt | Command | Space |Command | RAlt | Fn | Left | Down | Right |
21`----------------------------------------------------------------------------------------------------------------------------------------------'
22```
23
24### Fn Layer (layer 1)
25
26```
27,----------------------------------------------------------------------------------------------------------------------------------------------.
28| | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete | Ins |
29|----------------------------------------------------------------------------------------------------------------------------------------------|
30| | | Up | | | | | | | | | | | | Mute |
31|--------------------------------------------------------------------------------------------------------------------------| |--------|
32| Caps Lock | Left | Down | Right | BLight | | | | | | | | | | VolUp |
33|----------------------------------------------------------------------------------------------------------------------------------------------|
34| | | | | Bl- |BLtoggle | Bl+ | | | | | | | Stop | VolDn |
35|----------------------------------------------------------------------------------------------------------------------------------------------|
36| | | | | | | | Prev | Play | Fwd |
37`----------------------------------------------------------------------------------------------------------------------------------------------'
38```
39
40Mainly used for media keys and F-keys, as well as a nav cluster on WASD. Also has backlight keys, that are rarely used.
41
42### Modtap Tab Layer (layer 2)
43
44```
45,----------------------------------------------------------------------------------------------------------------------------------------------.
46| Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete | |
47|----------------------------------------------------------------------------------------------------------------------------------------------|
48| | | Up | | | | | | | | | | | | Mute |
49|--------------------------------------------------------------------------------------------------------------------------| |--------|
50| | Left | Down | Right | | | Left | Down | Up | Right | | | | | VolUp |
51|----------------------------------------------------------------------------------------------------------------------------------------------|
52| | | | | | | | | | | | | | Stop | VolDn |
53|----------------------------------------------------------------------------------------------------------------------------------------------|
54| | | | | | | | Prev | Play | Fwd |
55`----------------------------------------------------------------------------------------------------------------------------------------------'
56```
57
58Tab acts as Tab when tapped, and as Layer 2 when held. Used for HJKL nav keys and Delete.
diff --git a/keyboards/tada68/keymaps/mekberg/rules.mk b/keyboards/tada68/keymaps/mekberg/rules.mk
new file mode 100644
index 000000000..dbaa9045e
--- /dev/null
+++ b/keyboards/tada68/keymaps/mekberg/rules.mk
@@ -0,0 +1,5 @@
1# Build Options
2# change to "no" to disable the options, or define them in the Makefile in
3# the appropriate keymap folder that will get included automatically
4#
5CONSOLE_ENABLE = no # Console for debug(+400)