summaryrefslogtreecommitdiff
path: root/users/dhertz/dhertz.h
blob: f980329fa56c805f69d77f4d852e22179e7c8c46 (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
// Copyright 2022 Dan Hertz (@dhertz)
// SPDX-License-Identifier: GPL-3.0

#ifndef USERSPACE
#define USERSPACE

#include "quantum.h"

#define SRCH_CTL CTL_T(KC_F19)
#define LYR_SPC LT(1, KC_SPC)
#define NC_CTL CTL_T(KC_F18)

enum custom_keycodes {
    HSH_TLD = SAFE_RANGE,
    CTRL_A,
    CMD_ALT_C,
    CMD_SFT_L,
    ISO_COUNTRY_CODE,
    CMD_TAB_CMD,
    CMD_GRV_CMD,
    CMD_SFT_A,
    CMD_SFT_ALT_A,
    NEW_SAFE_RANGE,
};

void mod_or_mod_with_macro(keyrecord_t *record, uint16_t kc_mod, char* cmd_or_macro);

#endif