Skip to content

Commit

Permalink
Totem gaming layers
Browse files Browse the repository at this point in the history
  • Loading branch information
omikronik committed Sep 11, 2023
1 parent 484721f commit d373efa
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions keyboards/totem/keymaps/omikronik/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,19 @@ enum totem_layers {
_EXT,
_FNC,
_SETTINGS,
_GAME1,
_GAME2,
_GAME3,
};

#define SYM MO(_SYM)
#define SYM2 MO(_SYM2)
#define EXT MO(_EXT)
#define FNC MO(_FNC)
#define SETTINGS MO(_SETTINGS)
#define GAME1 TG(_GAME1)
#define GAME2 MO(_GAME2)
#define GAME3 MO(_GAME3)

#define SFT_BSPC MT(MOD_LSFT, KC_BSPC)

Expand Down Expand Up @@ -79,7 +85,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[_SYM] = LAYOUT(
//╷ ╷ ╷ ╷ ╷ ╷ ╷╷ ╷ ╷ ╷ ╷ ╷ ╷
KC_1, KC_2, KC_3 , KC_4, KC_5, KC_6 , KC_7 , KC_8 , KC_9 , KC_0,
KC_1, KC_2, KC_3 , KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
KC_HASH, KC_PERC, KC_LCBR, KC_RCBR, KC_QUOT, KC_PLUS, KC_MINUS, KC_EQL, KC_QUES, KC_COLN,
KC_LGUI, KC_EXLM, KC_AT, KC_LPRN, KC_RPRN, KC_DQT, KC_ASTR, KC_AMPR, KC_UNDS, KC_BSLS, KC_PIPE, _______,
_______, _______, _______, _______, _______, _______
Expand All @@ -105,7 +111,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//╷ ╷ ╷ ╷ ╷ ╷ ╷╷ ╷ ╷ ╷ ╷ ╷ ╷
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
M_LALT, M_LGUI, M_LSFT, M_CTRL, M_RALT, _______, _______, _______, KC_F5, KC_F11,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F12, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F12, GAME1,
_______, _______, _______, _______, _______, _______
),

Expand All @@ -115,6 +121,27 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),
[_GAME1] = LAYOUT(
//╷ ╷ ╷ ╷ ╷ ╷ ╷╷ ╷ ╷ ╷ ╷ ╷ ╷
KC_TAB, KC_Q, KC_W, KC_E, KC_R, _______, _______, _______, _______, _______,
KC_LSFT, KC_A, KC_S, KC_D, KC_F, _______, _______, _______, _______, _______,
KC_ESC, KC_LCTL, KC_Z, KC_X, KC_C, KC_V, _______, _______, _______, _______, _______, _______,
KC_LALT, GAME2, KC_SPC, _______, _______, _______
),
[_GAME2] = LAYOUT(
//╷ ╷ ╷ ╷ ╷ ╷ ╷╷ ╷ ╷ ╷ ╷ ╷ ╷
KC_1, KC_2, KC_3 , KC_4, KC_5, _______, _______, _______, _______, _______,
KC_6, KC_7 , KC_8 , KC_9 , KC_0, _______, _______, _______, _______, _______,
_______, _______, _______, KC_T, KC_G, KC_B, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),
[_GAME3] = LAYOUT(
//╷ ╷ ╷ ╷ ╷ ╷ ╷╷ ╷ ╷ ╷ ╷ ╷ ╷
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),
/*
╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸
Expand Down

0 comments on commit d373efa

Please sign in to comment.