aboutsummaryrefslogtreecommitdiff
path: root/qmk/keyboards/sofle_choc/keymaps/custom/keycodes.h
blob: 9837769b26d2a5cd0e6baee2eff93728261968ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

enum {
  // Custom key for defining the tapdance allowing to transform C into Ç
  TD_C_CCED,
  // Transform the key W into SHIFT or CAPSLOCK
  TD_W_CAPSLOCK,
  // Transform the key E into È
  TD_E_EE,
  TD_PRC,
  TD_LAYER_SYMB,
  TD_LSFT,
};

#define _BASE 0
#define LAYER_SYMBOLS 1

#define MENU    LGUI(BP_I)
#define KEY_C   TD(TD_C_CCED)
#define KEY_W   TD(TD_W_CAPSLOCK)
#define KEY_PRC TD(TD_PRC)
#define LT_SFT  TD(TD_LSFT)
#define AL_ENT  MT(MOD_RALT, KC_ENT)
#define AL_SPC  MT(MOD_LALT, KC_SPC)
#define KEY_E   TD(TD_E_EE)
#define KEY_T   MT(MOD_RCTL, BP_T)
#define KEY_INS MT(MOD_RGUI, KC_INS)