summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlexworth <30760424+lexworth@users.noreply.github.com>2018-10-18 18:36:30 -0400
committerDrashna Jaelre <drashna@live.com>2018-10-18 15:36:30 -0700
commitfc1c692f710fcd65be250d43662ee9742b221f0d (patch)
treefb3e9ffe66ab211d1802e9fe00a2e1fe03d69ddd
parent480651cf9df5c0b7453f60dffe13ae5de665a120 (diff)
Keymap: Adding my Minivan layout (#4162)
* adding my keymap * adding my Minivan keymap * deleted old incomplete keymap * added link to layout image * adding my minivan keymap
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/lexworth/config.h5
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/lexworth/keymap.c29
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/lexworth/readme.md7
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/lexworth/rules.mk5
4 files changed, 46 insertions, 0 deletions
diff --git a/keyboards/thevankeyboards/minivan/keymaps/lexworth/config.h b/keyboards/thevankeyboards/minivan/keymaps/lexworth/config.h
new file mode 100644
index 0000000000..36062c47b9
--- /dev/null
+++ b/keyboards/thevankeyboards/minivan/keymaps/lexworth/config.h
@@ -0,0 +1,5 @@
+#pragma once
+
+// place overrides here
+#define BACKLIGHT_PIN B7
+#define BACKLIGHT_LEVELS 5 \ No newline at end of file
diff --git a/keyboards/thevankeyboards/minivan/keymaps/lexworth/keymap.c b/keyboards/thevankeyboards/minivan/keymaps/lexworth/keymap.c
new file mode 100644
index 0000000000..1824f3cf39
--- /dev/null
+++ b/keyboards/thevankeyboards/minivan/keymaps/lexworth/keymap.c
@@ -0,0 +1,29 @@
+#include QMK_KEYBOARD_H
+
+// Helpful defines
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT
+ (KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
+ LT(1,KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(1,KC_QUOT),
+ KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC,
+ KC_LCTL, KC_LALT, KC_LGUI, KC_ENT, KC_SPC, TG(2), LT(3,KC_APP), KC_DEL),
+
+ [1] = LAYOUT
+ (KC_CAPS, KC_PGUP, KC_UP, KC_PGDN, KC_INS, KC_HOME, KC_UNDS, KC_P7, KC_P8, KC_P9, KC_EQL, KC_TRNS,
+ KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_DEL, KC_END, KC_PMNS, KC_P4, KC_P5, KC_P6, KC_PPLS, KC_TRNS,
+ KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, KC_MPRV, KC_MNXT, KC_PAST, KC_P1, KC_P2, KC_P3, KC_PSLS, KC_NLCK,
+ KC_TRNS, KC_TRNS, KC_MSTP, KC_PENT, KC_P0, KC_PDOT, KC_APP, KC_TRNS),
+
+ [2] = LAYOUT
+ (KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS,
+ KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS,
+ KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F11, KC_F12),
+
+ [3] = LAYOUT
+ (KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LCBR, KC_RCBR, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_PIPE,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LPRN, KC_RPRN, KC_TRNS,
+ BL_TOGG, BL_DEC, BL_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET)
+};
diff --git a/keyboards/thevankeyboards/minivan/keymaps/lexworth/readme.md b/keyboards/thevankeyboards/minivan/keymaps/lexworth/readme.md
new file mode 100644
index 0000000000..5ac3aafdcc
--- /dev/null
+++ b/keyboards/thevankeyboards/minivan/keymaps/lexworth/readme.md
@@ -0,0 +1,7 @@
+# Minivan
+
+![Layout Image](https://drive.google.com/file/d/1rDbtoOBvw5lxfvUBLYmjTt6MJPoeXngr/view?usp=sharing)
+
+# Custom keymap for the minivan with backlight enabled and 5 backlight levels.
+# Hardware Supported: Minivan
+# Hardware Availability: [thevankeyboards.com](https://thevankeyboards.com/) \ No newline at end of file
diff --git a/keyboards/thevankeyboards/minivan/keymaps/lexworth/rules.mk b/keyboards/thevankeyboards/minivan/keymaps/lexworth/rules.mk
new file mode 100644
index 0000000000..9c7dc2e122
--- /dev/null
+++ b/keyboards/thevankeyboards/minivan/keymaps/lexworth/rules.mk
@@ -0,0 +1,5 @@
+# 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
+
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality