summaryrefslogtreecommitdiff
path: root/keyboards/hazel/bad_wings/keymaps/default
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-05-15 22:10:42 +1000
committerNick Brassel <nick@tzarc.org>2023-05-15 22:10:42 +1000
commit433dc6068603e61d466e755aedcea0be96664f95 (patch)
treee243523f9cf99d630d566f172359434818aea62f /keyboards/hazel/bad_wings/keymaps/default
parentdba0f1d452f138d0ed44fe2f096cfe80e610fb32 (diff)
parent507e32b28c5067fb01cb85c3259a50bec7ec1907 (diff)
Merge remote-tracking branch 'upstream/master' into develop
Diffstat (limited to 'keyboards/hazel/bad_wings/keymaps/default')
-rw-r--r--keyboards/hazel/bad_wings/keymaps/default/keymap.c35
-rw-r--r--keyboards/hazel/bad_wings/keymaps/default/keymap.json163
2 files changed, 163 insertions, 35 deletions
diff --git a/keyboards/hazel/bad_wings/keymaps/default/keymap.c b/keyboards/hazel/bad_wings/keymaps/default/keymap.c
deleted file mode 100644
index e9adc7cc2e..0000000000
--- a/keyboards/hazel/bad_wings/keymaps/default/keymap.c
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2023 Jason Hazel (@jasonhazel)
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-#include QMK_KEYBOARD_H
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- return update_tri_layer_state(state, 1, 2, 3);
-}
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_split_3x5_3(
- KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, \
- KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, \
- KC_Z, LGUI_T(KC_X), LALT_T(KC_C), KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, \
- KC_LCTL, OSL(1), OSM(MOD_LSFT), KC_SPC, LT(2, KC_BSPC), KC_ENT
- ),
- [1] = LAYOUT_split_3x5_3(
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_RBRC, KC_RCBR, KC_RPRN, KC_RABK, KC_NO, \
- KC_GRV, KC_TILD, KC_UNDS, KC_EQL, KC_NO, KC_LBRC, KC_LCBR, KC_LPRN, KC_LABK, KC_BACKSLASH, \
- KC_NO, KC_NO, KC_PLUS, KC_MINS, KC_NO, KC_NO, KC_NO, KC_COLN, KC_DOT, KC_SCLN, \
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- ),
- [2] = LAYOUT_split_3x5_3(
- KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_PIPE, KC_NO, \
- KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, \
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_DOT, KC_NO, \
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- ),
- [3] = LAYOUT_split_3x5_3(
- KC_ESC, KC_F1, KC_F4, KC_F7, KC_F10, KC_NO, KC_HOME, KC_UP, KC_END, KC_BSPC, \
- KC_TAB, KC_F2, KC_F5, KC_F8, KC_F11, KC_NO, KC_LEFT, KC_DOWN, KC_RIGHT, KC_ENT, \
- KC_NO, KC_F3, KC_F6, KC_F9, KC_F12, KC_NO, KC_MPRV, KC_MPLY, KC_MNXT, KC_DEL, \
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- )
-}; \ No newline at end of file
diff --git a/keyboards/hazel/bad_wings/keymaps/default/keymap.json b/keyboards/hazel/bad_wings/keymaps/default/keymap.json
new file mode 100644
index 0000000000..670506eaf6
--- /dev/null
+++ b/keyboards/hazel/bad_wings/keymaps/default/keymap.json
@@ -0,0 +1,163 @@
+{
+ "version": 1,
+ "notes": "",
+ "documentation": "",
+ "keyboard": "hazel/bad_wings",
+ "keymap": "default",
+ "layout": "LAYOUT_split_3x5_3",
+ "layers": [
+ [
+ "KC_Q",
+ "KC_W",
+ "KC_E",
+ "KC_R",
+ "KC_T",
+ "KC_Y",
+ "KC_U",
+ "KC_I",
+ "KC_O",
+ "KC_P",
+ "KC_A",
+ "KC_S",
+ "KC_D",
+ "KC_F",
+ "KC_G",
+ "KC_H",
+ "KC_J",
+ "KC_K",
+ "KC_L",
+ "KC_QUOT",
+ "KC_Z",
+ "LGUI_T(KC_X)",
+ "LALT_T(KC_C)",
+ "KC_V",
+ "KC_B",
+ "KC_N",
+ "KC_M",
+ "KC_COMM",
+ "KC_DOT",
+ "KC_SLSH",
+ "KC_LCTL",
+ "OSL(1)",
+ "OSM(MOD_LSFT)",
+ "LT(3,KC_SPC)",
+ "LT(2,KC_BSPC)",
+ "KC_ENT"
+ ],
+ [
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_RBRC",
+ "KC_RCBR",
+ "KC_RPRN",
+ "KC_GT",
+ "KC_NO",
+ "KC_GRV",
+ "KC_TILD",
+ "KC_UNDS",
+ "KC_EQL",
+ "KC_NO",
+ "KC_LBRC",
+ "KC_LCBR",
+ "KC_LPRN",
+ "KC_LT",
+ "KC_BSLS",
+ "KC_NO",
+ "KC_NO",
+ "KC_PLUS",
+ "KC_MINS",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_COLN",
+ "KC_DOT",
+ "KC_SCLN",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS"
+ ],
+ [
+ "KC_EXLM",
+ "KC_AT",
+ "KC_HASH",
+ "KC_DLR",
+ "KC_PERC",
+ "KC_CIRC",
+ "KC_AMPR",
+ "KC_ASTR",
+ "KC_PIPE",
+ "KC_NO",
+ "KC_1",
+ "KC_2",
+ "KC_3",
+ "KC_4",
+ "KC_5",
+ "KC_6",
+ "KC_7",
+ "KC_8",
+ "KC_9",
+ "KC_0",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_NO",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS"
+ ],
+ [
+ "KC_ESC",
+ "KC_F1",
+ "KC_F4",
+ "KC_F7",
+ "KC_F10",
+ "KC_NO",
+ "KC_HOME",
+ "KC_UP",
+ "KC_END",
+ "KC_NO",
+ "KC_TAB",
+ "KC_F2",
+ "KC_F5",
+ "KC_F8",
+ "KC_F11",
+ "KC_NO",
+ "KC_LEFT",
+ "KC_DOWN",
+ "KC_RGHT",
+ "KC_NO",
+ "KC_NO",
+ "KC_F3",
+ "KC_F6",
+ "KC_F9",
+ "KC_F12",
+ "KC_NO",
+ "KC_MRWD",
+ "KC_MPLY",
+ "KC_MFFD",
+ "KC_DEL",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS",
+ "KC_TRNS"
+ ]
+ ],
+ "author": "Jason Hazel"
+} \ No newline at end of file