qmk_keymaps/keycodes.h

25 lines
524 B
C
Raw Normal View History

2022-12-10 21:12:18 +08:00
// This file contains user defined aliases
2023-01-02 09:11:33 +08:00
// Layers
2022-12-10 21:12:18 +08:00
#define SPACEFN LT(_SPACEFN, KC_SPC)
2023-01-02 09:11:33 +08:00
// 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)
2022-12-10 21:12:18 +08:00
// Left-hand home row mods
2023-01-02 09:11:33 +08:00
#define HOME_C LGUI_T(KC_C)
2022-12-10 21:12:18 +08:00
#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)
2023-01-02 09:11:33 +08:00
#define HOME_A RGUI_T(KC_A)