aboutsummaryrefslogtreecommitdiff
path: root/users/noroadsleft/noroadsleft.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/noroadsleft/noroadsleft.h')
-rw-r--r--users/noroadsleft/noroadsleft.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/users/noroadsleft/noroadsleft.h b/users/noroadsleft/noroadsleft.h
new file mode 100644
index 000000000..2d597219f
--- /dev/null
+++ b/users/noroadsleft/noroadsleft.h
@@ -0,0 +1,38 @@
1/* Copyright 2020 James Young (@noroadsleft)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include QMK_KEYBOARD_H
20
21#define MOD_MASK_RALT (MOD_BIT(KC_RALT))
22extern bool macroMode;
23
24enum userspace_keycodes {
25 VRSN = SAFE_RANGE,
26 G_PUSH,
27 G_FTCH,
28 G_BRCH,
29 M_SALL,
30 M_UNDO,
31 M_CUT,
32 M_COPY,
33 M_PASTE,
34 M_MDSWP,
35 KEYMAP_SAFE_RANGE
36};
37
38bool process_record_keymap(uint16_t keycode, keyrecord_t *record);