]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/bocaj/process_records.h
Remove more commented out MCUs
[qmk_firmware.git] / users / bocaj / process_records.h
1 #pragma once
2 #include "bocaj.h"
3
4 #if defined(KEYMAP_SAFE_RANGE)
5   #define PLACEHOLDER_SAFE_RANGE KEYMAP_SAFE_RANGE
6 #else
7   #define PLACEHOLDER_SAFE_RANGE SAFE_RANGE
8 #endif
9
10 enum userspace_custom_keycodes {
11   KC_EPRM = PLACEHOLDER_SAFE_RANGE, // can always be here
12   KC_MWRK,
13   KC_WWRK,
14   KC_MQWR,
15   KC_VRSN,
16   LM_GRAVE,            // Shift if held, layer change if tapped
17   JJ_COPY,
18   JJ_PSTE,
19   JJ_ARRW,
20   KC_CCCV,
21   MC_LOCK,
22   KC_DCLR,
23   KC_MAKE,
24   UC_FLIP,           // (ಠ痊ಠ)┻━┻
25   UC_TABL,           // ┬─┬ノ( º _ ºノ)
26   UC_SHRG,           // ¯\_(ツ)_/¯
27   UC_DISA,           // ಠ_ಠ
28   NEW_SAFE_RANGE  //use "NEWPLACEHOLDER for keymap specific codes
29 };
30
31 bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
32
33 // One Shot
34 #define OS_LSFT OSM(MOD_LSFT)
35
36 // Space Cadet Hyper/Meh and [/]
37 #define HYP_LBK ALL_T(KC_LBRACKET)
38 #define MEH_RBK MEH_T(KC_RBRACKET)
39
40 #define GUI_CTR(os, kc) MT( (os == 0) ? (MOD_LGUI) : (MOD_LCTL), kc )
41
42 // Layout beauti-/simpli-fication
43 #define KC_LWEN LT(_LOWER, KC_ENTER)
44 #define KC_ADJS TT(_ADJUST)
45 #define KC_NUMS TT(_LOWER)
46 #define KC_GAME TT(_DIABLO)
47
48 // Other Keycodes
49 #define KC_RST RESET
50 #define KC_BS  KC_BSLASH