-
Notifications
You must be signed in to change notification settings - Fork 0
/
猿极简.trime.yaml
862 lines (829 loc) · 27.2 KB
/
猿极简.trime.yaml
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
# “猿”布局——在小鹤键盘默认布局的基础上修改的键盘布局
# encoding: utf-8
config_version: 'for小鹤主题5.0-2021.06.23'
name: 猿
# 本主题依附于小鹤主题使用,下面__include: 之后紧跟的就是主题名
# 如使用本主题,小鹤主题名应为:trime.yaml;如小鹤主题名为:小鹤.trime.yaml,则需在本文件内查找“__include: trime”替换为“__include: 小鹤.trime”
#
author:
- '散步的鹤 flypy.com' #小鹤音形输入法和小鹤安卓键盘的作者
- 'gaac510 github.com/gaac510' #“猿”布局作者
width:
# ----------布局全局数值------------
YJZH: &yjzh 16 #键(j)字(z)号(h)
YJZX: &yjzx 12 #键(j)字(z)号小(x)一点
YJJJ: &yjjj 5 #键(j)间(j)距(j)
YHJJ: &yhjj 5 #行(h)间(j)距(j)
YJSJ: &yjsj 25 #键(j)四(s)角(j)弧度
#=== 辅助行 ===
YFVH: &yfvh 51 #辅(f)助(v)行(h)行高
YZFX: &yzfx 7 #辅助行长按字(z)符(f)x偏移量
YZFY: &yzfy 3 #辅助行长按字(z)符(f)y偏移量
#=== 主键盘 ===
YZMU: &yzmu 51 #字(z)母(m)首(u)行行高
YZMV: &yzmv 51 #字(z)母(m)中(v)行行高
YZMW: &yzmw 51 #字(z)母(m)尾(w)行行高
YKGH: &ykgh 51 #空(k)格(g)行(h)行高
YJPD: &yjpd 20 #键(j)盘(p)底(d)空隙高度
#=== 符号键盘 ===
YFHJ: &yfhj 46 #符(f)号(h)键(j)盘行高
YDBC: &ydbc 40.5 #符号键盘底(d)部(b)菜(c)单行高
#=== 选单页面 ===
YXDH: &yxdh 64 #选(x)单(d)行(h)高
YXDD: &yxdd 24 #猿极简选(x)单(d)底(d)空隙高度
# ----------------------------------
assist_row: #辅助行
- #Shift键上移
click: Shift_L
composing: Escape
swipe_up: DelH
width: 15
key_text_color: SHt
key_text_size: *yjzx
height: *yfvh
-
click: Left
long_click: undo
width: 10
key_symbol_offset_y: *yzfy
key_symbol_offset_x: 0
key_back_color: szb
hilited_key_back_color: szh
key_text_color: szt
key_symbol_color: ape_hilite
hilited_key_symbol_color: szhs
-
click: Up
long_click: select_all
width: 10
#key_text_offset_x: 2
key_symbol_offset_y: *yzfy
key_symbol_offset_x: 0
key_back_color: szb
hilited_key_back_color: szh
key_text_color: szt
key_symbol_color: ape_hilite
hilited_key_symbol_color: szhs
-
click: Down
long_click: cut
width: 10
#key_text_offset_x: 2
key_symbol_offset_y: *yzfy
key_symbol_offset_x: 0
key_back_color: szb
hilited_key_back_color: szh
key_text_color: szt
key_symbol_color: ape_hilite
hilited_key_symbol_color: szhs
-
click: Right
long_click: copy
width: 10
key_symbol_offset_y: *yzfy
key_symbol_offset_x: 0
key_back_color: szb
hilited_key_back_color: szh
key_text_color: szt
key_symbol_color: ape_hilite
hilited_key_symbol_color: szhs
-
click: '{'
long_click: '}'
width: 10
key_symbol_offset_y: *yzfy
key_symbol_offset_x: *yzfx
key_back_color: bdb
hilited_key_back_color: bdh
key_text_color: bdt
hilited_key_text_color: bdht
key_symbol_color: bds
hilited_key_symbol_color: bdhs
-
click: '['
long_click: ']'
width: 10
key_back_color: bdb
key_text_color: bdt
key_symbol_color: bds
hilited_key_text_color: bdht
hilited_key_symbol_color: bdhs
hilited_key_back_color: bdh
key_symbol_offset_y: *yzfy
key_symbol_offset_x: *yzfx
-
click: "("
long_click: ')'
width: 10
key_back_color: bdb
key_text_color: bdt
key_symbol_color: bds
hilited_key_text_color: bdht
hilited_key_symbol_color: bdhs
hilited_key_back_color: bdh
key_symbol_offset_y: *yzfy
key_symbol_offset_x: *yzfx
- #退格键上移
click: BackSpace
#swipe_up: Candidate_switch #这玩意有点烦
width: 15
key_text_color: ape_hilite_contrast
hilited_key_text_color: ape_hilite
key_back_color: ape_hilite
hilited_key_back_color: ape_hilite_contrast
assist_row_for_symbolsSZ:
__include: assist_row
__patch:
"@1/long_click": null
"@2/long_click": null
"@3/long_click": null
"@4/long_click": null
assist_row_for_others:
__include: assist_row
__patch:
"@5/+":
click: Home
long_click: End
key_symbol_offset_x: 0
key_text_size: *yjzx
"@6/+":
click: tab_forth
long_click: tab_back
key_text_size: *yjzx
"@7":
click: space1
long_click: null
width: 10
key_back_color: bdb
key_text_color: bdt
key_symbol_color: bds
hilited_key_text_color: bdht
hilited_key_symbol_color: bdhs
hilited_key_back_color: bdh
key_symbol_offset_y: *yzfy
key_symbol_offset_x: *yzfx
symbols_modification:
# ====== 默认首行 ======
"@0": null #左空隙
"@7/+":
click: paste
key_text_size: *yjzx
"@8": null #右空隙
# ====== 默认第二行 ======
"@9": null #左空隙
"@17": null #右空隙
# ====== 默认第三行 ======
"@18": null #左空隙
"@26": null #右空隙
# ====== 默认第四行 ======
"@27": null #左空隙
"@35": null #右空隙
# ====== 底部菜单 ======
"@36/+": #默认空按键
height: *ydbc
"@after 36":
click: K_back
width: 19.6
key_text_color: cdh
key_back_color: cdb
hilited_key_back_color: cdb
"@45": null #默认为关键盘/回删键
# =========================== Trime/同文 ===========================
style:
__include: trime:/style
# comment_text_size: 8
text_size: 19 #猿极简编码字号
key_text_size: *yjzh
layout: #猿极简悬浮窗外观
__include: trime:/style/layout
position: fixed #位置:left|right|left_up|right_up|fixed|bottom_left|bottom_right|top_left|top_right(left、right需要>=Android5.0)
max_entries: 0 #候选窗口最大词条数
#border: 2 #候选窗口边框宽度
min_width: 1 #最小宽度
margin_x: 9 #水平边距
margin_y: 0 #竖直边距
spacing: 0 #悬浮窗偏移量
elevation: 0 #阴影(>=Android5.0)
background: background.png #颜色色或者backgrounds目录下的图片文件名,此项无效时后面配色的text_back_color则生效
movable: false #是否可移动窗口,或仅移动一次 true|false|once
window: #猿极简懸浮窗口組件
- {}
- {composition: "%s", letter_spacing: 0} #letter_spacing需要>=Android5.0。TODO: 不爲0時,會導致不換行的問題
- {}
android_keys:
__include: trime:/android_keys
preset_keys:
__include: trime:/preset_keys
__patch:
"Home/label": Home #默认为⇤
"End/label": End #默认为⇥
"select_all/label": 全选 #默认为☑
"select_H/label": 行选 #默认为↔
"cut/label": 剪切 #默认为✁
"copy/label": 复制 #默认为❐
"paste/label": 粘贴 #默认为▣
"paste2/label": 粘贴 #默认为▣
"redo/label": 重做 #默认为↷
"undo/label": 撤销 #默认为↶
"K_letter/label": ⌨ABC #默认为abc
"K_back/label": ⌨鹤 #默认为“返回”
tab_forth: {send: Tab, label: "Tab", functional: false, repeatable: false}
tab_back: {send: Shift+Tab, label: "⇦", functional: false, repeatable: false}
return_n_switch: {text: "{Return}{Mode_switch}", label: "中↩英"}
space_lovefly: {send: space, label: "Love Fly", repeatable: true, functional: false}
space_small: {repeatable: true, label: ␣, functional: false, send: space}
quotation_pair: {label: '"', text: '""{Left}', repeatable: false, functional: false}
apostrophe_pair: {label: "'", text: "''{Left}", repeatable: false, functional: false}
fallback_colors:
__include: trime:/fallback_colors
preset_color_schemes:
default:
author: [Mijiag, gaac510]
name: "丹青·改"
DARK_RED: &dark_red 0x91071A #暗红
DARK_PURPLE: &dark_purple 0x730B6F #暗紫
GRAY_LIGHTEST: &gray_lightest 0xEEEEEC #最浅灰
GRAY_LIGHTER: &gray_lighter 0xE3E3E3 #稍浅灰
GRAY: &gray 0xD3D3D3 #中间灰
GRAY_DARKER: &gray_darker 0xB3B3B3 #稍深灰
GRAY_DARKEST: &gray_darkest 0x474747 #最深灰
BLACK: &black 0x000000 #黑
TRANSLUCENT: &translucent 0xCCFFFFFF #半透明
#悬浮窗口
border_color: *translucent #悬浮窗边框
label_color: *black #悬浮窗候选项序号(悬浮窗高亮候选项序号与hilited_candidate_text_color相同)
hilited_text_color: *black #高亮编码
text_color: *black #编码(位于光标插入点右边的编码,或者是拼音类方案中无法正常解析的空码,比如全拼时输入hau,u就属于这种)
hilited_back_color: 0x00 #高亮编码背景(非高亮的编码背景与back_color相同)
text_back_color: *translucent #编码区背景(编码四周的空白区域,也是悬浮窗的主背景)仅当style/layout/background设置失效时才会起作用(当background生效时,text_back_color就会失效)
#候选项
back_color: *gray_lightest #候选区背景
hilited_candidate_back_color: *gray_lightest #高亮候选背景
candidate_separator_color: *gray_lightest #候选分割线
candidate_text_color: *gray_darkest #候选文本(包括悬浮窗候选,下同)
hilited_candidate_text_color: *dark_red #高亮候选文本
comment_text_color: *gray_darkest #候选项注释
hilited_comment_text_color: *gray_darkest #高亮候选项注释
#键盘背景
keyboard_back_color: *gray_lightest #键盘背景
#按键
key_back_color: *gray #按键背景
hilited_key_back_color: *dark_purple #高亮按键背景(按下按键时)
key_text_color: *black #按键文本(click)
hilited_key_text_color: *gray_lighter #高亮按键文本
key_symbol_color: *gray_darkest #按键符号(long_click和hint)
hilited_key_symbol_color: *gray_darkest #高亮按键符号
shadow_color: *black #按键文字阴影(阴影半径在shadow_radius中设定)
key_border_color: *black #placeholder. 暂不在支持此功能
#按键气泡
preview_back_color: *gray #按键气泡背景
preview_text_color: *black #按键气泡文本
#功能键(functional: true)
off_key_back_color: *gray #功能键背景
hilited_off_key_back_color: *dark_purple #功能键高亮背景(按下时)
off_key_text_color: *black #功能键文本
hilited_off_key_text_color: *gray_lighter #功能键高亮文本(在没有特别指定的时候,功能键的long_click和hint颜色与普通按键一样)
on_key_back_color: *dark_red #shift键锁定背景
hilited_on_key_back_color: *dark_red #shift键锁定时的高亮背景
on_key_text_color: *gray_lighter #shift键锁定时文本
hilited_on_key_text_color: *gray_lighter #shift键锁定时的高亮文本(shift键锁定时的这四种颜色不会因为functional: false而失效)
#小鹤——符号键盘
cdh: *dark_red #符号键盘底部高亮字色
cdb: *gray_lightest #符号键底部菜单键背景色
#小鹤——选单键盘
Mback: *gray_lighter #menu键盘背景色
xdbdb: *gray_lighter #menu键盘键背景色
#小鹤——回车键
#hcb: #回车键背景色
#hch: #回车键高亮背景色
#hct: #回车键文字色
#hcht: #回车键高亮文字色
#hcs: #回车键上档色
#hchs: #回车键高粱色
fhfht: *dark_red
#猿极简添加色
ape_hilite: *dark_red
ape_hilite_contrast: *gray_lighter
ape_hilite2: *gray_darker
ape_hilite2_contrast: *black
preset_keyboards:
__include: trime:/preset_keyboards
default:
__include: trime:/preset_keyboards/default
horizontal_gap: *yjjj
vertical_gap: *yhjj
round_corner: *yjsj
keys:
__include: assist_row #增加辅助行
__append:
__include: trime:/preset_keyboards/default/keys
__patch:
# ====== 字母首行 ======
"@0/+": {height: *yzmu}
# ====== 字母中行 ======
"@10": null #默认布局为隐藏`a`键
"@11/+": {long_click: '!', height: *yzmv}
"@12/+": {long_click: '@'}
"@13/+": {long_click: '#'}
"@14/+": {long_click: '$', key_text_color: ape_hilite}
"@15/+": {long_click: '%'}
"@16/+": {long_click: '^'}
"@17/+": {long_click: '&', key_text_color: ape_hilite}
"@18/+": {long_click: '*'}
"@19/+": {long_click: '\'}
"@20": #默认布局为隐藏`l`键
ascii: "'"
click: apostrophe_pair
long_click: quotation_pair
key_back_color: ape_hilite2
key_text_color: bdt
key_symbol_color: bds
hilited_key_text_color: bdht
hilited_key_symbol_color: bdhs
hilited_key_back_color: bdh
# ====== 字母尾行 ======
"@21": null #默认布局为Shift键;已上移。
"@22/+":
long_click: '`'
height: *yzmw
key_symbol_color: ape_hilite
"@23/+": {long_click: '~'}
"@24/+": {long_click: '|'}
"@25/+": {long_click: '_'}
"@26/+": {long_click: '-'}
"@27/+": {long_click: '+'}
"@28/+": {long_click: '='}
"@29": #默认布局为退格键;已上移。
click: ','
long_click: '<'
key_back_color: ape_hilite2
key_text_color: bdt
key_symbol_color: bds
hilited_key_text_color: bdht
hilited_key_symbol_color: bdhs
hilited_key_back_color: bdh
"@after 29":
click: '.'
long_click: '>'
key_back_color: ape_hilite2
key_text_color: bdt
key_symbol_color: bds
hilited_key_text_color: bdht
hilited_key_symbol_color: bdhs
hilited_key_back_color: bdh
"@after 30":
click: '/'
long_click: '?'
key_back_color: ape_hilite2
key_text_color: bdt
key_symbol_color: bds
hilited_key_text_color: bdht
hilited_key_symbol_color: bdhs
hilited_key_back_color: bdh
# ====== 空格行 ======
"@30/+": #默认布局为数字键盘切换键
long_click: paste
width: 15
height: *ykgh
key_symbol_color: ape_hilite
key_symbol_offset_x: 0
key_text_size: *yjzx
"@31": #默认布局为逗号键
click: tab_forth
long_click: tab_back #默认为 "?"
composing: return_n_switch #默认为 delimiterD
width: 15
label: null #默认为 " ,"
key_symbol_offset_x: 16
key_back_color: ape_hilite2
key_text_color: bdt
key_symbol_color: bds
hilited_key_back_color: bdh
hilited_key_text_color: bdht
hilited_key_symbol_color: bdhs
key_text_size: *yjzx
"@32": #默认布局为空格键
click: space_lovefly
long_click: Mode_switch
width: 40
key_text_size: 9
key_text_offset_x: 0
key_text_offset_y: 3
key_symbol_offset_x: 0
key_symbol_offset_y: 6
#霓裳配色
key_back_color: kgb
key_text_color: kgt
key_symbol_color: kgs
hilited_key_back_color: kgh
hilited_key_text_color: kght
hilited_key_symbol_color: kghs
"@33": #默认布局为分号键
click: ";"
long_click: ":"
composing: delimiterJ
ascii: ";"
width: 15
key_back_color: ape_hilite
hilited_key_back_color: ape_hilite_contrast
key_text_color: ape_hilite_contrast
hilited_key_text_color: ape_hilite
key_symbol_color: ape_hilite_contrast
hilited_key_symbol_color: ape_hilite
"@34/+": #默认布局为回车键
width: 15
key_text_size: *yjzx
#long_click: haha
# ====== 键盘底增高行 ======
"@35/+": {height: *yjpd, key_back_color: back_color}
defaultVJ:
__include: preset_keyboards/default
key_symbol_offset_x: 0
keyboard_back_color: Vback
name: "小鹤部件助记"
__patch:
"keys/@9/+":
long_click: "犭求"
hint: "具其上"
key_text_color: VJT
key_symbol_color: VJS
"keys/@10/+":
long_click: 亠
hint: "夂攵文"
key_text_color: VJT
key_symbol_color: VJS
"keys/@11/+":
long_click: "彐山"
hint: "卩阝见下"
key_text_color: VJT
key_symbol_color: VJS
"keys/@12/+":
long_click: 亻
hint:
key_text_color: VJT
key_symbol_color: VJS
"keys/@13/+":
long_click: 田
hint:
key_text_color: VJT
key_symbol_color: VJS
"keys/@14/+":
long_click: "⺷⺶羊"
hint: "讠𧘇"
key_text_color: VJT
key_symbol_color: VJS
"keys/@15/+":
long_click: "饣石"
hint: "龵𠂇氺"
key_text_color: VJT
key_symbol_color: VJS
"keys/@16/+":
long_click: "彳亍"
hint: 虫
key_text_color: VJT
key_symbol_color: VJS
"keys/@17/+":
long_click: "日月"
hint: 目
key_text_color: VJT
key_symbol_color: VJS
"keys/@18/+":
long_click: "礻衤"
key_symbol_offset_x: 0
key_text_color: cdh
hint:
key_text_color: VJBH
key_symbol_color: VJS
"keys/@20/+":
key_symbol_offset_x: 0
key_text_color: cdh
hint: 鱼
key_text_color: VJBH
key_symbol_color: VJS
"keys/@21/+":
long_click: 罒
hint: "纟厶龴"
key_text_color: VJT
key_symbol_color: VJS
"keys/@22/+":
long_click: "冫氵"
key_symbol_offset_x: 0
key_text_color: cdh
hint: "⺈刂"
key_text_color: VJBH
key_symbol_color: VJS
"keys/@23/+":
long_click: "扌龶缶"
hint: "寿带上"
key_text_color: VJT
key_symbol_color: VJS
"keys/@24/+":
long_click: "鬼骨革"
hint: "艮 既左"
key_text_color: VJT
key_symbol_color: VJS
"keys/@25/+":
long_click: "灬虍黑"
hint: "余下"
key_text_color: VJT
key_symbol_color: VJS
"keys/@26/+":
hint: "龹钅金"
key_text_color: VJT
key_symbol_color: VJS
"keys/@27/+":
long_click: "囗㠯"
hint: "匚冂凵"
key_text_color: VJT
key_symbol_color: VJS
"keys/@28/+":
key_symbol_offset_x: 0
key_text_color: cdh
hint: "耂立龙"
key_text_color: VJBH
key_symbol_color: VJS
"keys/@31/+":
hint: "⻊廴辶"
key_text_color: VJT
key_symbol_color: VJS
"keys/@32/+":
long_click: "忄乂"
hint: "⺍⺌⺗"
key_text_color: VJT
key_symbol_color: VJS
"keys/@33/+":
hint: "艹廾"
key_text_color: VJT
key_symbol_color: VJS
"keys/@34/+":
key_symbol_offset_x: 0
key_text_color: cdh
hint: "⺮豸"
key_text_color: VJBH
key_symbol_color: VJS
"keys/@35/+":
long_click: "宀冖丷勹"
hint: "疒 比左"
key_text_color: VJT
key_symbol_color: VJS
"keys/@36/+":
key_symbol_offset_x: 0
key_text_color: cdh
hint: "⺧牜"
key_text_color: VJBH
key_symbol_color: VJS
"keys/@37/+":
hint: 朩
key_text_color: VJT
key_symbol_color: VJS
letter:
__include: preset_keyboards/default
ascii_mode: 1
lock: false
name: "letter26键"
__patch:
"keys/@29/long_click": '"'
"keys/@41/click": K_number
"keys/@43/click": space2
"keys/@43/long_click": null
number:
__include: trime:/preset_keyboards/number
key_symbol_offset_y: 1.8
key_symbol_offset_x: 3
height: *yzmu
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row #添加辅助行
__append:
__include: trime:/preset_keyboards/number/keys
__patch:
"@4/+":
click: paste2
key_text_size: *yjzx
key_text_color: ape_hilite
"@9/+":
click: space_small
#key_text_color: szt #猿极简无需
#hilited_key_text_color: bdht #猿极简无需
"@14/+":
click: K_letter
key_text_size: *yjzx
key_text_color: ape_hilite
"@15/height": *yzmu
"@19/+":
key_text_size: *yjzx
#增高行:
"@20/+": {height: *yjpd, key_back_color: back_color}
menu:
__include: trime:/preset_keyboards/menu
height: *yxdh
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
__patch:
"keys/@21/height": *yxdh
#增高行:
"keys/@28/+": {height: *yxdd, key_back_color: xdbdb}
symbolsSZ:
__include: trime:/preset_keyboards/symbolsSZ
width: 14.28
height: *yfhj
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row_for_symbolsSZ #增加辅助行
__append:
__include: trime:/preset_keyboards/symbolsSZ/keys
__patch:
# ====== 数字1、2、3行 ======
"@0": null #左空隙
"@after 1":
click: a
long_click: undo
key_symbol_offset_y: *yzfy
key_symbol_color: ape_hilite
"@after 2":
click: b
long_click: redo
key_symbol_offset_y: *yzfy
key_symbol_color: ape_hilite
"@5/+":
click: Delete
key_text_size: *yjzx
key_text_color: ape_hilite
key_symbol_color: off_key_text_color
hilited_key_text_color: hilited_off_key_text_color
"@6": null #右空隙
# ====== 数字4、5、6行 ======
"@7": null #左空隙
"@before 11":
click: c
long_click: select_all
key_symbol_offset_y: *yzfy
key_symbol_color: ape_hilite
"@before 12":
click: d
long_click: select_H
key_symbol_offset_y: *yzfy
key_symbol_color: ape_hilite
"@13": null #右空隙
# ====== 数字7、8、9行 ======
"@14": null #左空隙
"@after 16":
click: e
long_click: cut
key_symbol_offset_y: *yzfy
key_symbol_color: ape_hilite
"@after 17":
click: f
long_click: copy
key_symbol_offset_y: *yzfy
key_symbol_color: ape_hilite
"@19/+":
click: Home
long_click: End
key_symbol_offset_x: 0
key_symbol_offset_y: *yzfy
key_text_size: *yjzx
key_text_color: ape_hilite
key_symbol_color: ape_hilite
hilited_key_text_color: hilited_off_key_text_color
"@20": null #右空隙
# ====== 数字0行 ======
"@21": null #左空隙
"@before 29":
click: x
long_click: paste
key_symbol_offset_y: *yzfy
key_symbol_color: ape_hilite
"@before 30":
click: tab_forth
long_click: tab_back
key_symbol_offset_x: 16
key_symbol_offset_y: *yzfy
key_text_size: *yjzx
key_back_color: ape_hilite2
"@26/+": #Enter键
key_text_size: *yjzx
key_back_color: ape_hilite2
"@27": null #右空隙
# ====== 底部菜单 ======
"@28/+": #默认空按键
height: *ydbc
"@after 32":
click: K_back
width: 19.6
key_text_color: cdh
key_back_color: cdb
hilited_key_back_color: cdb
"@37": null #默认为关键盘/回删键
symbolsEN:
__include: trime:/preset_keyboards/symbolsEN
width: 14.28
height: *yfhj
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row_for_others
__append:
__include: trime:/preset_keyboards/symbolsEN/keys
__patch:
- symbols_modification
symbolsCN:
__include: trime:/preset_keyboards/symbolsCN
width: 14.28
height: *yfhj
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row_for_others
__append:
__include: trime:/preset_keyboards/symbolsCN/keys
__patch:
- symbols_modification
emoji:
__include: trime:/preset_keyboards/emoji
width: 14.28
height: *yfhj
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row_for_others
__append:
__include: trime:/preset_keyboards/emoji/keys
__patch:
- symbols_modification
emoji2:
__include: trime:/preset_keyboards/emoji2
width: 14.28
height: *yfhj
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row_for_others
__append:
__include: trime:/preset_keyboards/emoji2/keys
__patch:
- symbols_modification
symbolsTS:
__include: trime:/preset_keyboards/symbolsTS
width: 14.28
height: *yfhj
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row_for_others
__append:
__include: trime:/preset_keyboards/symbolsTS/keys
__patch:
- symbols_modification
symbolsTS2:
__include: trime:/preset_keyboards/symbolsTS2
width: 14.28
height: *yfhj
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row_for_others
__append:
__include: trime:/preset_keyboards/symbolsTS2/keys
__patch:
- symbols_modification
symbolsXH:
__include: trime:/preset_keyboards/symbolsXH
width: 14.28
height: *yfhj
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row_for_others
__append:
__include: trime:/preset_keyboards/symbolsXH/keys
__patch:
- symbols_modification
symbolsXH2:
__include: trime:/preset_keyboards/symbolsXH2
width: 14.28
height: *yfhj
horizontal_gap: *yjjj #猿极简
vertical_gap: *yhjj #猿极简
round_corner: *yjsj #猿极简
keys:
__include: assist_row_for_others
__append:
__include: trime:/preset_keyboards/symbolsXH2/keys
__patch:
- symbols_modification
__patch:
- 猿.emojis:/emojis?
- 猿.emojis:/for_ape_lean? #猿极简