qmk_keymaps/keyboards/keychron/q4/ansi_v2/keymaps/sajenim/keycodes.h

29 lines
640 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-08 01:57:43 +08:00
// One Shot Keys
#define OS_LCTL OSM(MOD_LCTL)
#define OS_LSFT OSM(MOD_LSFT)
#define OS_LALT OSM(MOD_LALT)
#define OS_LGUI OSM(MOD_LGUI)
#define OS_RCTL OSM(MOD_RCTL)
#define OS_RSFT OSM(MOD_RSFT)
#define OS_RALT OSM(MOD_RALT)
#define OS_RGUI OSM(MOD_RGUI)
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)
2023-01-08 01:57:43 +08:00