summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/prog_qgmlwb/src/qgmlwb.h
blob: bad7a1161583e5e45f3796e6e2b43ce9484fee71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Copyright 2022 David Kristoffersen (@davidkristoffersen)
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include "layouts.h"

/* QGMLWB
 * ,-----------------------------------------------------------------------------------.
 * | Tab  |  Q   |  G   |  M   |  L   |  W   |  B   |  Y   |  U   |  V   |  '"  | Bksp |
 * |------+------+------+------+------+------+------+------+------+------+------+------|
 * | Esc  |  D   |  S   |  T   |  N   |  R   |  I   |  A   |  E   |  O   |  H   |Return|
 * |------+------+------+------+------+------+------+------+------+------+------+------|
 * | Shift|  Z   |  X   |  C   |  F   |  J   |  K   |  P   |  ,;  |  .:  |  -_  |  \|  |
 * |------+------+------+------+------+------+------+------+------+------+------+------|
 * | Ctrl | Alt  |NumPad| GUI  | Lower|LSpace|RSpace| Raise| Left | Down |  Up  | Right|
 * `-----------------------------------------------------------------------------------'
*/
// English Layout
#define qgmlwb_en_map LAYOUT_ortho_4x12(\
    KC_TAB,  KC_Q,    KC_G,   KC_M,    KC_L,   KC_W,    KC_B,    KC_Y,   KC_U,    KC_V,    KC_QUOT, KC_BSPC,\
    KC_ESC,  KC_D,    KC_S,   KC_T,    KC_N,   KC_R,    KC_I,    KC_A,   KC_E,    KC_O,    KC_H,    KC_ENT,\
    KC_LSFT, KC_Z,    KC_X,   KC_C,    KC_F,   KC_J,    KC_K,    KC_P,   KC_COMM, KC_DOT,  KC_MINS, KC_BSLS,\
    KC_LCTL, KC_LALT, numpad, KC_LGUI, QLower, KC_LSPC, KC_RSPC, QRaise, KC_LEFT, KC_DOWN, KC_UP,   KC_RIGHT\
)
// Norwegian Layout
#define qgmlwb_no_map qgmlwb_en_map

/* Lower - QGMLWB
 * ,-----------------------------------------------------------------------------------.
 * |  !   |  %   |  [   |  {   |  (   |  <   |  >   |  )   |  }   |  ]   |  &   |      |
 * |------+------+------+------+------+------+------+------+------+------+------+------|
 * | Del  | Mute | XXXX | Refr | XXXX | XXXX | XXXX |  =   |  +   |  *   |  /   |  ~   |
 * |------+------+------+------+------+------+------+------+------+------+------+------|
 * |      | Sleep|ScrLck| Caps |NumLck|PrtScr| Ins  | End  | Home |  Æ   |  Ø   |  Å   |
 * |------+------+------+------+------+------+------+------+------+------+------+------|
 * |      |      |      |      |      |      |      |Adjust| Bri- | Vol- | Vol+ | Bri+ |
 * `-----------------------------------------------------------------------------------'
*/
#define qgmlwb_lower_map LAYOUT_ortho_4x12(\
    KC_EXLM, KC_PERC, KC_LBRC, KC_LCBR, KC_LPRN, KC_LT,   KC_GT,   KC_RPRN, KC_RCBR, KC_RBRC, KC_AMPR, _______,\
    KC_DEL,  KC_MUTE, XXXXXXX, KC_WREF, XXXXXXX, XXXXXXX, XXXXXXX, KC_EQL,  KC_PLUS, KC_ASTR, KC_SLSH, KC_TILD,\
    _______, KC_SLEP, KC_SLCK, KC_CAPS, KC_NLCK, KC_PSCR, KC_INS,  KC_END,  KC_HOME, KC_AE,   KC_OE,   KC_AA,\
    _______, _______, _______, _______, _______, _______, _______, adjust,  KC_BRID, KC_VOLD, KC_VOLU, KC_BRIU\
)

/* Raise - QGMLWB
 * ,-----------------------------------------------------------------------------------.
 * |  ?   |  9   |  7   |  5   |  3   |  1   |  0   |  2   |  4   |  6   |  8   |      |
 * |------+------+------+------+------+------+------+------+------+------+------+------|
 * | Del+ |  F1  |  F2  |  F3  |  F4  |  F5  |  F6  |  #   |  @   |  ^   |  $   |  `   |
 * |------+------+------+------+------+------+------+------+------+------+------+------|
 * |RShift|  F7  |  F8  |  F9  |  F10 |  F11 |  F12 | PgDn | PgUp | XXXX | XXXX | XXXX |
 * |------+------+------+------+------+------+------+------+------+------+------+------|
 * | RCtrl| RAlt |      |      |Adjust|      |      |      | Prev | Stop | Play | Next |
 * `-----------------------------------------------------------------------------------'
*/
#define qgmlwb_raise_map LAYOUT_ortho_4x12(\
    KC_QUES,   KC_9,    KC_7,    KC_5,    KC_3,   KC_1,    KC_0,    KC_2,    KC_4,    KC_6,    KC_8,    _______,\
    S(KC_DEL), KC_F1,   KC_F2,   KC_F3,   KC_F4,  KC_F5,   KC_F6,   KC_HASH, KC_AT,   KC_CIRC, KC_DLR,  KC_GRV,\
    _______,   KC_F7,   KC_F8,   KC_F9,   KC_F10, KC_F11,  KC_F12,  KC_PGDN, KC_PGUP, XXXXXXX, XXXXXXX, XXXXXXX,\
    _______,   _______, _______, _______, adjust, _______, _______, _______, KC_MPRV, KC_MSTP, KC_MPLY, KC_MNXT\
)