aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormikethetiger <30720424+mikethetiger@users.noreply.github.com>2019-08-20 23:22:54 -0500
committerDrashna Jaelre <drashna@live.com>2019-08-20 21:22:54 -0700
commit42f2ad96a30cbd9dfaa7afbeddc1e532f4864640 (patch)
tree559e7e70745adb2378dd50e20e12e23d0d8868c0
parenta0f248c20ed14303c742365e841ed2482749c972 (diff)
downloadqmk_firmware-42f2ad96a30cbd9dfaa7afbeddc1e532f4864640.tar.gz
qmk_firmware-42f2ad96a30cbd9dfaa7afbeddc1e532f4864640.zip
[Keymap] mikethetiger's let's split eh? keymap (#6562)
* Added my Preonic keymap * Update keyboards/preonic/keymaps/mikethetiger/keymap.c Co-Authored-By: mikethetiger <30720424+mikethetiger@users.noreply.github.com> * Update keyboards/preonic/keymaps/mikethetiger/keymap.c Co-Authored-By: mikethetiger <30720424+mikethetiger@users.noreply.github.com> * Added my Preonic keymap * Added my Preonic keymap * mikethetigers lets slpit eh keymap
-rw-r--r--keyboards/lets_split_eh/keymaps/mikethetiger/config.h23
-rw-r--r--keyboards/lets_split_eh/keymaps/mikethetiger/keymap.c120
-rw-r--r--keyboards/lets_split_eh/keymaps/mikethetiger/rules.mk0
3 files changed, 143 insertions, 0 deletions
diff --git a/keyboards/lets_split_eh/keymaps/mikethetiger/config.h b/keyboards/lets_split_eh/keymaps/mikethetiger/config.h
new file mode 100644
index 000000000..c535299e7
--- /dev/null
+++ b/keyboards/lets_split_eh/keymaps/mikethetiger/config.h
@@ -0,0 +1,23 @@
1/*
2This is the c configuration file for the keymap
3
4Copyright 2012 Jun Wako <wakojun@gmail.com>
5Copyright 2015 Jack Humbert
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#pragma once
22
23 // place overrides here
diff --git a/keyboards/lets_split_eh/keymaps/mikethetiger/keymap.c b/keyboards/lets_split_eh/keymaps/mikethetiger/keymap.c
new file mode 100644
index 000000000..8ee300b74
--- /dev/null
+++ b/keyboards/lets_split_eh/keymaps/mikethetiger/keymap.c
@@ -0,0 +1,120 @@
1#include QMK_KEYBOARD_H
2
3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
5// Layer names don't all need to be of the same length, obviously, and you can also skip them
6// entirely and just use numbers.
7enum layers {
8 _QWERTY,
9 _LOWER,
10 _RAISE,
11 _FUNCTION,
12 _ADJUST,
13};
14
15#define LOWER MO(_LOWER)
16#define RAISE MO(_RAISE)
17#define FUNCTION MO(_FUNCTION)
18#define ADJUST MO(_ADJUST)
19
20// Defines for task manager and such
21#define CALTDEL LCTL(LALT(KC_DEL))
22#define TSKMGR LCTL(LSFT(KC_ESC))
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25
26/* Qwerty
27 * ,-----------------------------------------------------------------------------------.
28 * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp |
29 * |------+------+------+------+------+-------------+------+------+------+------+------|
30 * | Tab | A | S | D | F | G | H | J | K | L | ; | " |
31 * |------+------+------+------+------+------|------+------+------+------+------+------|
32 * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter |
33 * |------+------+------+------+------+------+------+------+------+------+------+------|
34 * | | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right |
35 * `-----------------------------------------------------------------------------------'
36 */
37[_QWERTY] = LAYOUT( \
38 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
39 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
40 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
41 _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
42),
43
44/* Lower
45 * ,-----------------------------------------------------------------------------------.
46 * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp |
47 * |------+------+------+------+------+-------------+------+------+------+------+------|
48 * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | |
49 * |------+------+------+------+------+------|------+------+------+------+------+------|
50 * | | F7 | F8 | F9 | F10 | F11 | F12 | | | Home | End | |
51 * |------+------+------+------+------+------+------+------+------+------+------+------|
52 * | | | | | | | | Next | Vol- | Vol+ | Play |
53 * `-----------------------------------------------------------------------------------'
54 */
55[_LOWER] = LAYOUT( \
56 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
57 KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
58 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_HOME, KC_END, _______,
59 _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
60),
61
62/* Raise
63 * ,-----------------------------------------------------------------------------------.
64 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp |
65 * |------+------+------+------+------+-------------+------+------+------+------+------|
66 * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ |
67 * |------+------+------+------+------+------|------+------+------+------+------+------|
68 * | | F7 | F8 | F9 | F10 | F11 | F12 | | |Pg Up |Pg Dn | |
69 * |------+------+------+------+------+------+------+------+------+------+------+------|
70 * | | | | | | | | Next | Vol- | Vol+ | Play |
71 * `-----------------------------------------------------------------------------------'
72 */
73[_RAISE] = LAYOUT( \
74 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
75 KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
76 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PGUP, KC_PGDN, _______,
77 _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
78),
79
80/* Adjust (Lower + Raise)
81 * ,-----------------------------------------------------------------------------------.
82 * | RESET| | | | | | |RGBMOD|RGBVAI|RGBSAI|RGBHUI|caltde|
83 * |------+------+------+------+------+-------------+------+------+------+------+------|
84 * | | | | | | | |RGBRMO|RGBVAD|RGBSAD|RGBHUD|RGBTOG|
85 * |------+------+------+------+------+------|------+------+------+------+------+------|
86 * | | | | | | | | | | | |BLSTEP|
87 * |------+------+------+------+------+------+------+------+------+------+------+------|
88 * | | | | | | | | | | | | |
89 * `-----------------------------------------------------------------------------------'
90 */
91[_ADJUST] = LAYOUT( \
92 RESET, _______, _______, _______, _______, _______, _______, RGB_MOD, RGB_VAI, RGB_SAI, RGB_HUI, CALTDEL, \
93 _______, _______, _______, _______, _______, _______, _______, RGB_RMOD,RGB_VAD, RGB_SAD, RGB_HUD, RGB_TOG, \
94 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP, \
95 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
96),
97
98/* Function
99 * ,-----------------------------------------------------------------------------------.
100 * | | | | | | | | | Up | | | |
101 * |------+------+------+------+------+-------------+------+------+------+------+------|
102 * | | | | | | | | Left | Down |Right | | |
103 * |------+------+------+------+------+------|------+------+------+------+------+------|
104 * | Caps | | | | | | | | | | | |
105 * |------+------+------+------+------+------+------+------+------+------+------+------|
106 * | | | | | | | | | | | |
107 * `-----------------------------------------------------------------------------------'
108 */
109[_FUNCTION] = LAYOUT( \
110 _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, \
111 _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, \
112 KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
113 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
114)
115
116};
117
118uint32_t layer_state_set_user(uint32_t state) {
119 return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
120}
diff --git a/keyboards/lets_split_eh/keymaps/mikethetiger/rules.mk b/keyboards/lets_split_eh/keymaps/mikethetiger/rules.mk
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/lets_split_eh/keymaps/mikethetiger/rules.mk