forked from Ikcelaks/qmk_sequence_transform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathst_defaults.h
56 lines (43 loc) · 1.42 KB
/
st_defaults.h
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Copyright 2024 Guillaume Stordeur <[email protected]>
// Copyright 2024 Matt Skalecki <[email protected]>
// Copyright 2024 QKekos <[email protected]>
// SPDX-License-Identifier: Apache-2.0
#pragma once
// If the user does not set these in their config.h,
// these values will be used by default.
#ifndef SEQUENCE_TRANSFORM_IDLE_TIMEOUT
#define SEQUENCE_TRANSFORM_IDLE_TIMEOUT 2500
#endif
#ifndef SEQUENCE_TRANSFORM_ENHANCED_BACKSPACE
#define SEQUENCE_TRANSFORM_ENHANCED_BACKSPACE 1
#endif
#ifndef SEQUENCE_TRANSFORM_FALLBACK_BUFFER
#define SEQUENCE_TRANSFORM_FALLBACK_BUFFER 1
#endif
#ifndef SEQUENCE_TRANSFORM_DEBUG
#define SEQUENCE_TRANSFORM_DEBUG 0
#endif
#ifndef SEQUENCE_TRANSFORM_LOG_TIME
#define SEQUENCE_TRANSFORM_LOG_TIME 0
#endif
#ifndef SEQUENCE_TRANSFORM_RULE_SEARCH
#define SEQUENCE_TRANSFORM_RULE_SEARCH 0
#endif
#ifndef SEQUENCE_TRANSFORM_RULE_SEARCH_MAX_SKIP
#define SEQUENCE_TRANSFORM_RULE_SEARCH_MAX_SKIP 4
#endif
#ifndef SEQUENCE_TRANSFORM_RECORD_RULE_USAGE
#define SEQUENCE_TRANSFORM_RECORD_RULE_USAGE 0
#endif
#ifndef SEQUENCE_TRANSFORM_EXTRA_BUFFER
#define SEQUENCE_TRANSFORM_EXTRA_BUFFER 10
#endif
// Disable features that do nothing without print
#ifdef NO_PRINT
#undef SEQUENCE_TRANSFORM_DEBUG
#define SEQUENCE_TRANSFORM_DEBUG 0
#undef SEQUENCE_TRANSFORM_LOG_TIME
#define SEQUENCE_TRANSFORM_LOG_TIME 0
#undef SEQUENCE_TRANSFORM_RECORD_RULE_USAGE
#define SEQUENCE_TRANSFORM_RECORD_RULE_USAGE 0
#endif