diff options
Diffstat (limited to 'users/sigul/sigul.h')
| -rw-r--r-- | users/sigul/sigul.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/users/sigul/sigul.h b/users/sigul/sigul.h new file mode 100644 index 000000000..dc24fae92 --- /dev/null +++ b/users/sigul/sigul.h | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | enum userspace_layers { | ||
| 6 | _QWERTY, | ||
| 7 | _LOWER, //symbols | ||
| 8 | _RAISE, //numbers | ||
| 9 | _ADJUST, //system | ||
| 10 | _NUMPAD, | ||
| 11 | _FN, | ||
| 12 | _MOUSE | ||
| 13 | }; | ||
| 14 | |||
| 15 | enum userspace_custom_keycodes { | ||
| 16 | QWERTY = SAFE_RANGE, | ||
| 17 | // custom keycodes for an Italian ANSI layout with accented vowels | ||
| 18 | IT_CMLS, // IT_COMM and IT_LESS when combined with shift | ||
| 19 | IT_DTMR, // IT_DOT and IT_MORE when combined with shift | ||
| 20 | IT_SLQS, // IT_SLSH and IT_QST when combined with shift | ||
| 21 | IT_APDQ, // IT_APO and IT_DQOT when combined with shift | ||
| 22 | IT_SCCL, // IT_SMCL and IT_COLN when combined with shift | ||
| 23 | SECRET0, | ||
| 24 | SECRET1, | ||
| 25 | SECRET2, | ||
| 26 | SECRET3, | ||
| 27 | SECRET4, | ||
| 28 | NEW_SAFE_RANGE // start new keyboard-level declarations with NEW_SAFE_RANGE | ||
| 29 | }; | ||
| 30 | |||
| 31 | // Defining Layer Keycodes | ||
| 32 | #define QWERTY DF(_QWERTY) | ||
| 33 | // For LOWER and RAISE I use TT instead of MO to be able to lock those layer tapping three times the key (TAPPING_TOGGLE 3 has been added in sigul.h) | ||
| 34 | #define LOWER TT(_LOWER) | ||
| 35 | #define RAISE TT(_RAISE) | ||
| 36 | #define NUMPAD TG(_NUMPAD) | ||
| 37 | #define FN MO(_FN) | ||
| 38 | #define MOUSE TT(_MOUSE) | ||
| 39 | #define TABFN LT(_FN, KC_TAB) | ||
| 40 | #define ESCFN LT(_FN, KC_ESC) | ||
| 41 | #define MS_B LT(_MOUSE, IT_B) | ||
| 42 | |||
