summaryrefslogtreecommitdiff
path: root/keyboards/wilba_tech/wt60_d/keymaps
diff options
context:
space:
mode:
authorSid Carter <sidcarter@users.noreply.github.com>2020-07-17 08:16:09 -0400
committerGitHub <noreply@github.com>2020-07-17 13:16:09 +0100
commit3f11f41ec7d96ae848ded3f6a41021b296c7e63a (patch)
tree4e8e2dc31dd8da0670f09e69132633be403fc67e /keyboards/wilba_tech/wt60_d/keymaps
parent4e02253aaf79f696e3e3470e8e97a14a5722d328 (diff)
Keymap addition and updates (Prime_e, ProjectKB PCB, WT60-D) (#9701)
* update keymap * update ilpse template as well * fix some key items * move quote the first layer * figure out brackets * update ilpse keymap * update arrow keys on alice * change layers * update layers again * switch to vim keys * add mouse keys Co-authored-by: Khader Syed <khader.syed@aicure.com>
Diffstat (limited to 'keyboards/wilba_tech/wt60_d/keymaps')
-rw-r--r--keyboards/wilba_tech/wt60_d/keymaps/madhatter/keymap.c29
-rw-r--r--keyboards/wilba_tech/wt60_d/keymaps/madhatter/rules.mk1
2 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/wilba_tech/wt60_d/keymaps/madhatter/keymap.c b/keyboards/wilba_tech/wt60_d/keymaps/madhatter/keymap.c
new file mode 100644
index 0000000000..a46c9777f0
--- /dev/null
+++ b/keyboards/wilba_tech/wt60_d/keymaps/madhatter/keymap.c
@@ -0,0 +1,29 @@
+// Default layout for WT60-D
+#include QMK_KEYBOARD_H
+
+enum my_layers {
+ _QWERTY,
+ _FNMS,
+};
+
+#define FNMS MO(_FNMS)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+// Default layer
+[_QWERTY] = LAYOUT_all(
+ 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_BSLS, KC_DEL,
+ 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_BSPC,
+ KC_GRV, 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_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, FNMS,
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RGUI, FNMS, KC_RCTL),
+
+// Fn1 Layer
+[_FNMS] = LAYOUT_all(
+ 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_BSLS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, RESET,
+ AG_TOGG, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_HOME, KC_PGUP, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, KC_PGDN, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
+
+};
diff --git a/keyboards/wilba_tech/wt60_d/keymaps/madhatter/rules.mk b/keyboards/wilba_tech/wt60_d/keymaps/madhatter/rules.mk
new file mode 100644
index 0000000000..35591533cc
--- /dev/null
+++ b/keyboards/wilba_tech/wt60_d/keymaps/madhatter/rules.mk
@@ -0,0 +1 @@
+MOUSEKEY_ENABLE = yes \ No newline at end of file