summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DiCarlo <dicarlo.matt@gmail.com>2018-04-11 12:17:02 -0500
committerDrashna Jaelre <drashna@live.com>2018-04-11 10:17:02 -0700
commit0545428c1485ac67f13cc6d88cc50b77ee8cc81e (patch)
treefadfb7e1ca3c96dda9d36c34156ed449ca84f75b
parent885f06c6cf3db547533aac406686a4b3e4fb5c80 (diff)
downloadqmk_firmware-0545428c1485ac67f13cc6d88cc50b77ee8cc81e.tar.gz
qmk_firmware-0545428c1485ac67f13cc6d88cc50b77ee8cc81e.zip
Added mattdicarlo Tada68 layout. (#2721)
-rw-r--r--keyboards/tada68/keymaps/mattdicarlo/config.h3
-rwxr-xr-xkeyboards/tada68/keymaps/mattdicarlo/keymap.c26
-rwxr-xr-xkeyboards/tada68/keymaps/mattdicarlo/readme.md7
-rw-r--r--keyboards/tada68/keymaps/mattdicarlo/rules.mk21
4 files changed, 57 insertions, 0 deletions
diff --git a/keyboards/tada68/keymaps/mattdicarlo/config.h b/keyboards/tada68/keymaps/mattdicarlo/config.h
new file mode 100644
index 0000000000..90589bb54f
--- /dev/null
+++ b/keyboards/tada68/keymaps/mattdicarlo/config.h
@@ -0,0 +1,3 @@
+#include "../../config.h"
+
+#define GRAVE_ESC_ALT_OVERRIDE
diff --git a/keyboards/tada68/keymaps/mattdicarlo/keymap.c b/keyboards/tada68/keymaps/mattdicarlo/keymap.c
new file mode 100755
index 0000000000..14660cecde
--- /dev/null
+++ b/keyboards/tada68/keymaps/mattdicarlo/keymap.c
@@ -0,0 +1,26 @@
+#include "tada68.h"
+
+// Layer names for readability.
+#define BASE_LAYER 0
+#define FUNC_LAYER 1
+
+#define _______ KC_TRNS
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+// Base layer, always active.
+[BASE_LAYER] = KEYMAP_ANSI(
+ 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, KC_BSPC, KC_HOME, \
+ 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_END, \
+ 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_DEL, \
+ 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_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(_FL), _______, KC_LEFT, KC_DOWN, KC_RGHT),
+
+// Function overlay, toggled by the Fn key.
+[FUNC_LAYER] = KEYMAP_ANSI(
+ 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_VOLU, \
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, \
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, \
+ _______, _______, _______, _______, _______, _______, _______, _______, BL_DEC, BL_INC, BL_TOGG, _______, KC_PGUP, _______, \
+ _______, _______, KC_MRWD, KC_MPLY, KC_MFFD, _______, _______, KC_HOME, KC_PGDN, KC_END),
+};
diff --git a/keyboards/tada68/keymaps/mattdicarlo/readme.md b/keyboards/tada68/keymaps/mattdicarlo/readme.md
new file mode 100755
index 0000000000..47f04663c2
--- /dev/null
+++ b/keyboards/tada68/keymaps/mattdicarlo/readme.md
@@ -0,0 +1,7 @@
+# Matt's TADA68 layout
+
+Mac OS modifier layout, plus various tweaks to the standard Tada68 layout.
+
+Uses Grave/Esc on the Esc key so that Cmd+Esc works to cycle through application windows as if the Grave/Tilde key was in the usual place, and sets the `GRAVE_ESC_ALT_OVERRIDE` flag so that Cmd-Opt-Esc still opens the Force Quit menu.
+
+Blanks on the switches above the Right Arrow and in between the Left Arrow and Fn keys, to give the arrow cluster a bit more separation and make it easier to find by feel.
diff --git a/keyboards/tada68/keymaps/mattdicarlo/rules.mk b/keyboards/tada68/keymaps/mattdicarlo/rules.mk
new file mode 100644
index 0000000000..c920006650
--- /dev/null
+++ b/keyboards/tada68/keymaps/mattdicarlo/rules.mk
@@ -0,0 +1,21 @@
+# Build Options
+# change to "no" to disable the options, or define them in the Makefile in
+# the appropriate keymap folder that will get included automatically
+#
+BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
+MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
+EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
+CONSOLE_ENABLE = no # Console for debug(+400)
+COMMAND_ENABLE = yes # Commands for debug and configuration
+NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
+MIDI_ENABLE = no # MIDI controls
+AUDIO_ENABLE = no # Audio output on port C6
+UNICODE_ENABLE = no # Unicode
+BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
+RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+
+ifndef QUANTUM_DIR
+ include ../../../../Makefile
+endif