qmk_keymaps/keycodes.h
2023-01-02 09:11:33 +08:00

25 lines
524 B
C

// This file contains user defined aliases
// Layers
#define SPACEFN LT(_SPACEFN, KC_SPC)
// Dead keys
#define DK_MOD4 OSM(MOD_LGUI)
#define DK_HYPR OSM(MOD_HYPR)
#define DK_MEH OSM(MOD_MEH)
// Shortcuts
#define DELWORD LCTL(KC_W)
// Left-hand home row mods
#define HOME_C LGUI_T(KC_C)
#define HOME_R LALT_T(KC_R)
#define HOME_S LSFT_T(KC_S)
#define HOME_T LCTL_T(KC_T)
// Right-hand home row mods
#define HOME_N RCTL_T(KC_N)
#define HOME_E RSFT_T(KC_E)
#define HOME_I RALT_T(KC_I)
#define HOME_A RGUI_T(KC_A)