~ruther/qmk_firmware

ref: 31a9d2d00dc732ca29be2213dbf915d6f6ffc76d qmk_firmware/users/davidkristoffersen/macros/macros.c -rw-r--r-- 468 bytes
31a9d2d0 — Yizhen Liu [keyboard] Graystudio Think6.5 V3 Support Revised (#21560) 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2022 David Kristoffersen (@davidkristoffersen)
// SPDX-License-Identifier: GPL-3.0-or-later

#include "macros.h"

// Prepend key records with macros
bool process_record_user(uint16_t keycode, keyrecord_t* record) {
    if (record->event.pressed) {
#ifdef SPLIT_SPACE
        handle_split_space(keycode, record);
#endif
        HANDLE_FALSE(process_debug(keycode, record));
        HANDLE_FALSE(process_language(keycode, record));
    }
    return true;
}
Do not follow this link