1
0
Fork 0
qmk_firmware/keyboards/atreus/keymaps/default/keymap.c

59 lines
2.3 KiB
C
Raw Normal View History

// this is the style you want to emulate.
// This is the canonical layout file for the Quantum project. If you want to add another keyboard,
#include QMK_KEYBOARD_H
2016-01-30 04:30:33 +00:00
#define RALT_A RALT_T(KC_A)
#define ALT_S LALT_T(KC_S)
#define CTL_D LCTL_T(KC_D)
#define GUI_F LGUI_T(KC_F)
2022-02-17 16:34:37 +00:00
#define GUI_J LGUI_T(KC_J)
#define CTL_K LCTL_T(KC_K)
#define ALT_L LALT_T(KC_L)
#define RALT_SCLN RALT_T(KC_SCLN)
2022-02-17 16:34:37 +00:00
2022-02-23 01:38:21 +00:00
#define MUTE LGUI(KC_C)
enum layers {
DEF,
SYM,
NAV,
NUM,
};
2022-02-19 02:13:08 +00:00
#define I_SPC LT(1, KC_SPC)
#define I_BSPC LT(2, KC_BSPC)
2016-01-30 04:30:33 +00:00
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[DEF] = LAYOUT(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
RALT_A, ALT_S, CTL_D, GUI_F, KC_G, KC_H, GUI_J, CTL_K, ALT_L, RALT_SCLN,
2022-02-22 15:15:09 +00:00
KC_Z, KC_X, KC_C, KC_V, KC_B, XXXXXXX,XXXXXXX,KC_N, KC_M, KC_COMM,KC_DOT, KC_QUOT,
XXXXXXX,XXXXXXX,XXXXXXX,LA_NAV, KC_LSFT,XXXXXXX,XXXXXXX,KC_SPC, LA_SYM, XXXXXXX,XXXXXXX,XXXXXXX
),
<<<<<<< HEAD
[SYM] = LAYOUT(
KC_ESC, KC_LBRC,KC_LCBR,KC_LPRN,KC_TILD, KC_CIRC,KC_RPRN,KC_RCBR,KC_RBRC,KC_GRV,
KC_MINS,KC_ASTR,KC_EQL, KC_UNDS,KC_DLR, KC_HASH,XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,
2022-02-22 15:15:09 +00:00
KC_PLUS,KC_PIPE,KC_AT, KC_SLSH,KC_PERC,XXXXXXX,XXXXXXX,KC_AMPR,KC_BSLS,OS_RALT,KC_QUES,KC_EXLM,
XXXXXXX,XXXXXXX,XXXXXXX,_______,_______,XXXXXXX,XXXXXXX,_______,_______,XXXXXXX,XXXXXXX,XXXXXXX
),
[NAV] = LAYOUT(
2022-03-20 15:08:08 +00:00
KC_TAB, XXXXXXX,KC_VOLU,KC_VOLD,MUTE, RESET, KC_CAPS,XXXXXXX,XXXXXXX,XXXXXXX,
XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,KC_BSPC, KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,XXXXXXX,
2022-02-22 15:15:09 +00:00
XXXXXXX,XXXXXXX,OS_RALT,XXXXXXX,KC_PSCR,XXXXXXX,XXXXXXX,XXXXXXX,KC_PGDN,KC_PGUP,XXXXXXX,KC_ENT,
XXXXXXX,XXXXXXX,XXXXXXX,_______,_______,XXXXXXX,XXXXXXX,_______,_______,XXXXXXX,XXXXXXX,XXXXXXX
),
[NUM] = LAYOUT(
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,KC_F11, KC_F12, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX,
2022-02-22 15:15:09 +00:00
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, XXXXXXX,XXXXXXX,KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
XXXXXXX,XXXXXXX,XXXXXXX,_______,_______,XXXXXXX,XXXXXXX,_______,_______,XXXXXXX,XXXXXXX,XXXXXXX
)
};
2022-02-19 02:13:08 +00:00