aboutsummaryrefslogtreecommitdiffstats
path: root/users/pcoves/pcoves.h
blob: 10dfc56bd36afb231536308591a19099efaf6774 (plain) (blame)
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
29
30
31
32
#pragma once

#include "quantum.h"

#define SECRET_ENABLE (__has_include("secret.h") && !defined(NO_SECRET))

enum {
    AUTRUCHE = SAFE_RANGE,
#ifdef RAINBOW_UNICORN_ENABLE
    RAINBOW_UNICORN_TOGGLE,
#endif
#ifdef UNICODE_ENABLE
    EMOTE0,
    EMOTE1,
    EMOTE2,
    EMOTE3,
#endif
#if SECRET_ENABLE
    SECRET0,
    SECRET1,
    SECRET2,
    SECRET3,
    SECRET4,
#endif
    PCOVES_SAFE_RANGE,
};

__attribute__((weak)) void eeconfig_init_keymap(void);
void eeconfig_init_user(void);

__attribute__((weak)) bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
bool process_record_user(uint16_t keycode, keyrecord_t *record);