diff options
author | QMK Bot <hello@qmk.fm> | 2022-07-02 12:18:55 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-07-02 12:18:55 +0000 |
commit | fa0aea2a5abf55237bc1c4a8180af68833f1935a (patch) | |
tree | 949b591e0e928f49f6b435359cba83a563ea06b8 /users/davidkristoffersen/macros/macros.h | |
parent | 65832c0fc3e502582986a8fa7c561c39d9fc447f (diff) | |
parent | a80943579c88255fff9de57978b8e577d184785c (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users/davidkristoffersen/macros/macros.h')
-rw-r--r-- | users/davidkristoffersen/macros/macros.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/users/davidkristoffersen/macros/macros.h b/users/davidkristoffersen/macros/macros.h new file mode 100644 index 0000000000..fb1e5c862c --- /dev/null +++ b/users/davidkristoffersen/macros/macros.h @@ -0,0 +1,23 @@ +// Copyright 2022 David Kristoffersen (@davidkristoffersen) +// SPDX-License-Identifier: GPL-3.0-or-later + +#pragma once + +#include "davidkristoffersen.h" + +enum keycodes { + // Test keys + KC_T0 = SAFE_RANGE, + KC_T1, + KC_T2, + // Norwegian Æ, Ø, Å + KC_AE, + KC_OE, + KC_AA +}; + +bool process_debug(uint16_t keycode, keyrecord_t* record); +bool process_language(uint16_t keycode, keyrecord_t* record); + +// Prepend key records with macros +bool process_record_user(uint16_t keycode, keyrecord_t* record); |