Skip to content

Instantly share code, notes, and snippets.

@burakcan
Last active June 19, 2019 15:20
Show Gist options
  • Save burakcan/9dd2c3b68d64f5e80162c47dc348fb79 to your computer and use it in GitHub Desktop.
Save burakcan/9dd2c3b68d64f5e80162c47dc348fb79 to your computer and use it in GitHub Desktop.
#include QMK_KEYBOARD_H
#define _______ KC_TRNS
#define XXXXXXX KC_NO
#define SHF_A LSFT_T(KC_A)
#define SHF_ENT LSFT_T(KC_ENT)
#define L_1_SPC LT(1, KC_SPC)
#define L_2_SPC LT(2, KC_SPC)
#define L_3_Z LT(3,KC_Z)
#define CTL_X LCTL_T(KC_X)
#define ALT_C LALT_T(KC_C)
#define GUI_V LGUI_T(KC_V)
#define GUI_B LGUI_T(KC_B)
#define ALT_N RALT_T(KC_N)
#define _NORMAL 0
#define _LOWER 1
#define _RAISE 2
#define _ADJUST 3
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_NORMAL] = LAYOUT_ortho_3x11( \
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \
SHF_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, SHF_ENT, \
L_3_Z, CTL_X, ALT_C, GUI_V, L_1_SPC, L_2_SPC, GUI_B, ALT_N, KC_M, KC_COMM, KC_DOT \
),
[_RAISE] = LAYOUT_ortho_3x11( \
KC_GRV, 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_QUES, KC_PIPE, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______, \
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_TAB, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX \
),
[_LOWER] = LAYOUT_ortho_3x11( \
KC_GESC, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_QUOT, \
_______, XXXXXXX, XXXXXXX, XXXXXXX, KC_SLSH, KC_BSLS, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______, \
XXXXXXX, _______, _______, _______, XXXXXXX, KC_TAB, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT \
),
[_ADJUST] = LAYOUT_ortho_3x11(
RESET, EEP_RST, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
RGB_TOG, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD,
XXXXXXX, KC_VOLD, KC_VOLU, KC__MUTE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_M_SW, RGB_M_G, RGB_M_R
),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment