]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/losinggeneration/losinggeneration-common.h
Remove more commented out MCUs
[qmk_firmware.git] / users / losinggeneration / losinggeneration-common.h
1 #ifndef LOSINGGENERATION_COMMON_H
2 #define LOSINGGENERATION_COMMON_H
3
4 /* Custom keys & combinations to be shorter for keymaps */
5 #define KC_LCA LCA(KC_NO)
6
7 #define OSM_LSFT OSM(MOD_LSFT)
8 #define TD_CTL TD(TD_CTL_CTLALT)
9 #define TD_GUI TD(TD_LGUI_RGUI)
10 #define TD_ALT TD(TD_LALT_RALT)
11 #define MT_ENT SFT_T(KC_ENT)
12 #define MT_ESC CTL_T(KC_ESC)
13
14 /* Custom layer movements for keymaps */
15 #define TD_ADJ  TD(TD_ADJUST)
16 #define TO_GAME TO(_GAME)
17 #define TO_MS   TO(_MOUSE)
18 #define TO_NUM  TO(_NUMPAD)
19 #define MO_ADJ  MO(_ADJUST)
20
21 /* Mouse keys */
22 #define MS_BTN1 KC_MS_BTN1
23 #define MS_BTN2 KC_MS_BTN2
24 #define MS_BTN3 KC_MS_BTN3
25 #define MS_BTN4 KC_MS_BTN4
26 #define MS_BTN5 KC_MS_BTN5
27 #define MS_LEFT KC_MS_LEFT
28 #define MS_DOWN KC_MS_DOWN
29 #define MS_UP  KC_MS_UP
30 #define MS_RGHT KC_MS_RIGHT
31 #define MW_LEFT KC_MS_WH_LEFT
32 #define MW_DOWN KC_MS_WH_DOWN
33 #define MW_UP  KC_MS_WH_UP
34 #define MW_RGHT KC_MS_WH_RIGHT
35 #define MS_ACL0 KC_MS_ACCEL0
36 #define MS_ACL1 KC_MS_ACCEL1
37 #define MS_ACL2 KC_MS_ACCEL2
38
39 /*
40  * This will expand values sent to it to send to the KEYMAP macro so defines
41  * can be used by KEYMAP
42  */
43 #define CATMAP(...) LAYOUT(__VA_ARGS__)
44
45 /*
46   Each layer gets a name for readability, which is then used in the keymap matrix below.
47   The underscores don't mean anything - you can have a layer called STUFF or any other name.
48   Layer names don't all need to be of the same length, obviously, and you can also skip them
49   entirely and just use numbers.
50 */
51 #define _QWERTY  0
52 #define _COLEMAK 1
53 #define _WORKMAN 2
54 #define _DVORAK  3
55 #define _GAME    4
56 #define _NUMPAD  5
57 #define _MOUSE   6
58 #define _LOWER  14
59 #define _RAISE  15
60 #define _ADJUST 16
61
62 enum custom_keycodes {
63   QWERTY = SAFE_RANGE,
64   COLEMAK,
65   WORKMAN,
66   DVORAK,
67   LOWER,
68   RAISE,
69 };
70
71 #endif