summaryrefslogtreecommitdiff
path: root/users/art/art.h
blob: 71af966bef78d6f8917ca177e3d748097b2a8940 (plain)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Copyright 2022 Artjoms Rizihs (@artjomsR)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once
#include QMK_KEYBOARD_H

#define CTL_ALT(kc) (CTL_ALT_START + ((kc) & 0xff))

extern bool is_win;
#define TYPING_INTERVAL 20
#define LONG_TYPING_INTERVAL 50

enum layer_names {
#if SPLIT75_SETUP_FOR_PUBLIC_USE_BY_DEFAULT && defined(KEYBOARD_wheatfield_split75) // defined by "KEYBOARD" followed by folder structure
  BASE,
  QWERTY,
#else
  QWERTY,
  BASE,
#endif

  WORKMAN,
#if defined(KEYBOARD_mt_split75)
  CONFIG,
  LAYOUT_CHG,
  QWERTY_MOD,
#elif defined(KEYBOARD_ktec_ergodone)
  FKEYS,
  CTRL_NAV,
  SHIFT_NAV,
#endif

  MEDIA,
  COMBOS,
  //STRINGS,
  NAV,
  NUMPAD,
  GIT,
  GIT_C,
  GIT_R,
  GIT_S
};

enum custom_keycodes_art {
  CTRL_CTV = SAFE_RANGE,
  CTRL_LCTV,
  CTRL_CAV,
  BEAT_BROWSER,
  NEUTRAL_COPY,
  SARCASM,
  LMB_SPAM,

  TOG_OS,
  CTR_ALT,
  CTR_ALT_SHIFT,
  OS_CTRL,
  OS_WIN,

  TILD_BLOCK,
  ALL_BEST,
  AT_EMAIL,
  BRACES,
  DASHES,
  PARENTHS,
  STARS,
  QUOTES,
  QUOTES_RU,

  ADMINS,
  PRESCRIPTION,
  FOURS,

  G_ADD,
  G_BRCH,
  G_C,
  G_CHEC,
  G_COMM,
  G_DEV,
  G_DIFF,
  G_FTCH,
  G_LOG,
  G_MERG,
  G_PULL,
  G_PUSH,
  G_R,
  G_RBASE,
  G_RVERT,
  G_RST,
  G_S,
  G_STAT,
  G_STSH,
  G_SHOW,

  K_CUST1,
  K_CUST2,
  K_CUST3,

  K_SECR1,
  K_SECR2,
  K_SECR3,
  K_SECR4,

  CTL_ALT_START,
  CTL_ALT_END = CTL_ALT_START + 0xff,

  NEW_SAFE_RANGE  //for keymap specific codes
};