summaryrefslogtreecommitdiff
path: root/config/utils/common.h
blob: babff13604ec5e4db82f7713a042eda70ce34d34 (plain) (blame)
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
29
30
#define ___ &trans
#define XXX &none

#ifndef QUICK_TAP_MS
  #define QUICK_TAP_MS 175
#endif

#define ZMK_HELPER_STRINGIFY(x) #x

#define MO_TOG(layer) &mo_tog layer layer   // Macro to apply momentary-layer-on-hold/toggle-layer-on-tap to a specific layer

&sk {  // sticky-key config
    release-after-ms = <900>;  // release after 0.6s
    quick-release;             // no double capitalization when rolling keys
};

&sl {  // sticky-layer config
    ignore-modifiers;          // allow chording sticky mods & layers
};

&lt {  // layer-tap config
    flavor = "balanced";
    tapping-term-ms = <200>;
    quick-tap-ms = <QUICK_TAP_MS>;
};


#include "homerow.h"
#include "unicode.h"