1
Fork 0
qmk-userspace/keyboards/moonlander/keymaps/hadeed/keymap.c
Hadeed Ahmad 0b7c87fd5b Initial commit
Move previous keymaps to one repo
2023-12-08 23:32:34 +05:00

56 lines
3.7 KiB
C

#include QMK_KEYBOARD_H
#define HRM_A LALT_T(KC_A)
#define HRM_R LGUI_T(KC_R)
#define HRM_S LCTL_T(KC_S)
#define HRM_T LSFT_T(KC_T)
#define HRM_N RSFT_T(KC_N)
#define HRM_E RCTL_T(KC_E)
#define HRM_I RGUI_T(KC_I)
#define HRM_O LALT_T(KC_O)
enum layers {
BASE,
SYM,
SYS,
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
[] = LAYOUT_moonlander(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),
*/
[0] = LAYOUT_moonlander(
KC_GRV, KC_9, KC_5, KC_0, KC_3, KC_7, _______, _______, KC_6, KC_2, KC_1, KC_4, KC_8, _______,
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_PGDN, KC_PGUP, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC,
OSL(SYM),HRM_A, HRM_R, HRM_S, HRM_T, KC_G, KC_HOME, KC_END, KC_M, HRM_N, HRM_E, HRM_I, HRM_O, OSL(SYM),
KC_ESC, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
MO(SYS), _______, _______, _______, _______, _______, _______, KC_DOWN, KC_UP, KC_LEFT, KC_RGHT, MO(SYS),
KC_ENT, OSM(MOD_RSFT),_______, _______, CW_TOGG, KC_SPC
),
[SYM] = LAYOUT_moonlander(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, KC_PERC, KC_LBRC, KC_RBRC, _______, _______, _______, _______, KC_AT, KC_ASTR, KC_HASH, KC_COLN, _______,
_______, _______, KC_BSLS, KC_LPRN, KC_RPRN, KC_CIRC, _______, _______, KC_DLR, KC_EQL, KC_MINS, KC_PLUS, KC_EXLM, _______,
_______, _______, KC_TILD, KC_LCBR, KC_RCBR, KC_AMPR, KC_PIPE, KC_UNDS, KC_LABK, KC_RABK, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),
[SYS] = LAYOUT_moonlander(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
EE_CLR, _______, _______, _______, _______, _______, RGB_TOG, _______, _______, _______, _______, QK_BOOT,
_______, _______, _______, _______, _______, _______
)
};