summaryrefslogtreecommitdiffstats
path: root/users/ericgebhart/base_layers/hands_down.h
blob: 0841a358d205bc2060725b7dda6cf968377b9ccf (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
#pragma once
/*
  Copyright 2018-2022 Eric Gebhart <e.a.gebhart@gmail.com>

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

// https://sites.google.com/alanreiser.com/handsdown/home

// The only 3x12 layout. The rest are 3x10.
#define CARTE_HD_NEU                            \
  carte_de_map( "  wfmpv  /.q\"'z",            \
                "  rsntb  ,aeihj",             \
                "  xcldg  -uoykK")

#define ___HD_NEU___                                                    \
  LANG_MAP(_SML_NAV,   _W, _F, _M, _P, _V , TL_SLSH, TL_DOT, _Q, TL_DQUO, TL_QUOT, _Z, \
           _TAB,       _R, _S, _N, _T, _B , TL_COMM, _A,     _E, _I,      _H,    _J, \
           _OS_ACCENT, _X, _C, _L, _D, _G , TL_MINS, _U,     _O, _Y,      _K, _SML_KEYPAD)


// modified to fit 3x10.
#define CARTE_HD_NEU_NARROW                     \
  carte_de_map("   xcldb  zuoyq",               \
               "   rsntg  ,aeih",               \
               "   wfmpv  ;./jk")

#define ___HD_NEU_NARROW___                                             \
  LANG_MAP(_X, _C, _L, _D, _B,   _Z,      _U,     _O,      _Y, _Q,      \
           _R, _S, _N, _T, _G,   TL_COMM, _A,     _E,      _I, _H,      \
           _W, _F, _M, _P, _V,   _SCLN, TL_DOT, TL_SLSH, _J, _K)


#define CARTE_HD_REF                            \
  carte_de_map("    qchpv   kyoj/",             \
               "    rsntg   wueia",             \
               "    xmldb   zf',.")

#define ___HD_REF___                                                    \
  LANG_MAP(_Q, _C, _H, _P, _V,   _K, _Y, _O,      _J,       TL_SLSH,    \
           _R, _S, _N, _T, _G,   _W, _U, _E,      _I,       _A,         \
           _X, _M, _L, _D, _B,   _Z, _F, TL_QUOT, TL_COMM,  TL_DOT )


// All of these have a consonant or vowel on the thumb keys.

/* alt shift keys "? '!  dash and elan */
/* (< {[  - elan                       */
/* dash has thumbs of ,; and .:        */
/* dash and the rest get these too.    */
/* alt shifts   ;: .& /\* '? "! ,| -+  */
/* COMBOS - z = jg, z=vg, q=uk, q=mp.  */


// no z or q, use combos.
#define CARTE_HD_TITANIUM                       \
  carte_de_map("  jgmpv  ;./\"' ",              \
               "  csntw  ,aeih ",               \
               "  xfldb  -uoyk  r")

#define ___HD_TITANIUM___                                               \
  LANG_MAP(_J, _G, _M, _P, _V,  TL_SCLN, TL_DOT, TL_SLSH, TL_DQUO, TL_QUOT, \
           _C, _S, _N, _T, _W , TL_COMM, _A, _E, _I, _H,                \
           _X, _F, _L, _D, _B , TL_MINS, _U, _O, _Y, _K)


#define CARTE_HD_GOLD                                           \
  carte_de_map("  jgmpv  ;./\"' ",                              \
               "  rsndb  ,aeih ",                               \
               "  xflcw  -uoyk  t")

#define ___HD_GOLD___                                                   \
  LANG_MAP(_J, _G, _M, _P, _V,  TL_SCLN, TL_DOT, TL_SLSH, TL_DQUO, TL_QUOT, \
           _R, _S, _N, _D, _B , TL_COMM, _A, _E, _I, _H,                \
           _X, _F, _L, _C, _W , TL_MINS, _U, _O, _Y, _K)
/* t, ␣ */

/* jz pq alt shifts   ;: .& /\* '? "! ,| -+ */

#define CARTE_HD_PLATINUM                       \
  carte_de_map( "jghpv   ;./'\"",               \
                "rsntb   ,aeic",                \
                "xfmdk   -uowy  l")
/* l   ␣   */

#define ___HD_PLATINUM___                                               \
  LANG_MAP(_J, _G, _H, _P, _V,  TL_SCLN, TL_DOT, TL_SLSH, TL_QUOT, TL_DQUO, \
           _R, _S, _N, _T, _B,  TL_COMM, _A, _E, _I, _C,                \
           _X, _F, _M, _D, _K,  TL_MINS, _U, _O, _W, _Y)

#define CARTE_HD_SILVER                         \
  carte_de_map("jgmpv   ;./'\"",                \
               "rshtb   ,aeic",                 \
               "xfldk   -uowy  n")
/* n   ␣   */

#define ___HD_SILVER___                                 \
  LANG_MAP(_J, _G, _M, _P, _V,  TL_SCLN, TL_DOT, TL_SLSH, TL_QUOT, TL_DQUO, \
           _R, _S, _H, _T, _B,  TL_COMM, _A, _E, _I, _C,                \
           _X, _F, _L, _D, _K,  TL_MINS, _U, _O, _W, _Y)

#define CARTE_HD_BRONZE                         \
  carte_de_map("jgmpv   ;./'\"",                \
               "rsntb   ,aeic",                 \
               "xfldk   -uowy  h")
/* h   ␣   */

#define ___HD_BRONZE___                                 \
  LANG_MAP(_J, _G , _M, _P, _V , TL_SCLN, TL_DOT, TL_SLSH , TL_QUOT, TL_DQUO, \
           _R, _S, _N, _T, _B , TL_COMM, _A, _E, _I, _C,                \
           _X, _F, _L, _D, _K , TL_MINS, _U, _O, _W, _Y)

#define CARTE_HD_ELAN                          \
  carte_de_map("vghpk   /({'\"",               \
               "rsntf   jaeci",                \
               "xmldb   -uowy")
/* ,; .:  ␣  ⏎ */

/* vz g  h  p  kq  /\* (< {[ '! "? */
/* TL_COMM; TL_DOT:  _␣  ⏎ */
#define ___HD_ELAN___                                                   \
  LANG_MAP(_V, _G, _H, _P, _K,   TL_SLSH, TL_LPRN, TL_LCBR, TL_QUOT, TL_DQUO, \
           _R, _S, _N, _T, _F,   _J, _A, _E, _C, _I,                    \
           _X, _M, _L, _D, _B,   TL_MINS, _U, _O, _W, _Y)


#define CARTE_HD_DASH                          \
    carte_de_map("jgmpv   ;.'\"/",             \
                 "rsntb   ,haoi",              \
                 "xcldw   -fuky  e")
    /*   e   ␣   */

#define ___HD_DASH___                                                   \
  LANG_MAP(_J, _G, _M, _P, _V , TL_SCLN, TL_DOT, TL_QUOT, TL_DQUO, TL_SLSH, \
           _R, _S, _N, _T, _B , TL_COMM, _H, _A, _O, _I,                \
           _X, _C, _L, _D, _W , TL_MINS, _F, _U, _K, _Y)