summaryrefslogtreecommitdiffstats
path: root/users/davidkristoffersen/macros/macros.h
blob: fb1e5c862c891b0224e1860ffadd765ff8460892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);