-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
144 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,17 @@ | |
# version: 1.1 | ||
|
||
vars: | ||
# 不要修改宽度 | ||
- '单单 <[email protected]>' | ||
#- &sym_height 50 #按键高度 移至主文件 | ||
# !不要修改宽度 | ||
#- &sym_height 50 #按键高度 移至 单静.trime.ymal | ||
- &menu_height 41 #菜单高度 | ||
- &sym_bottom_switch 0 #底部空白开关 | ||
- &sym_bottom 1 #底部空白 | ||
- &sym_long_text_size 20 #长标签字号 | ||
- &sym_width 12 #按键宽度 | ||
- &off_sym_width 16 #功能键宽度 | ||
- &menu_width 12.5 #菜单宽度 | ||
- &sym_long_text_size 20 #长标签字号 | ||
- &yanwz_width 28 #颜文字键盘按键宽度 | ||
- &yanwz_double_width 56 #颜文字键盘2按键宽度 | ||
- &yanwz_double_width 56 #颜文字键盘2键宽度 | ||
- &yanwz_menu_width 16 #颜文字键盘菜单宽度 | ||
|
||
keyboards: | ||
|
@@ -192,39 +191,53 @@ keys: | |
kb_yanwz6d: { label: '▼', send: Eisu_toggle, select: yanwz62 } | ||
|
||
vars_map: | ||
# 符号键盘配置 | ||
symbols_config: | ||
author: '单单 <[email protected]>' | ||
ascii_mode: 1 | ||
width: *sym_width | ||
key_press_offset_x: 2 | ||
key_press_offset_y: 2 | ||
# 功能键 | ||
styl_off_sym: | ||
width: *off_sym_width | ||
key_back_color: off_sym_back_color | ||
hilited_key_back_color: hilited_off_sym_back_color | ||
# 不可用的功能键(右边点不动的箭头) | ||
styl_unavl_off_sym: | ||
width: *off_sym_width | ||
key_back_color: off_sym_back_color | ||
hilited_key_back_color: hilited_off_sym_back_color | ||
key_text_color: hilited_off_sym_back_color | ||
hilited_key_text_color: hilited_off_sym_back_color | ||
# 底部的菜单 | ||
styl_menu: | ||
height: *menu_height | ||
width: *menu_width | ||
key_back_color: menu_back_color | ||
hilited_key_back_color: hilited_menu_back_color | ||
key_text_color: menu_text_color | ||
hilited_key_text_color: hilited_menu_text_color | ||
# 高亮的底部菜单 | ||
styl_hilited_menu: | ||
height: *menu_height | ||
width: *menu_width | ||
key_back_color: hilited_menu_back_color | ||
hilited_key_back_color: hilited_menu_back_color | ||
key_text_color: hilited_menu_text_color | ||
hilited_key_text_color: hilited_menu_text_color | ||
# 颜文字键盘 | ||
yanwz_config: | ||
author: '单单 <[email protected]>' | ||
ascii_mode: 1 | ||
width: *yanwz_width | ||
key_press_offset_x: 2 | ||
key_press_offset_y: 2 | ||
# 底部的菜单 | ||
styl_yanwz_menu: | ||
__include: vars_map/styl_menu | ||
width: *yanwz_menu_width | ||
# 高亮的底部菜单 | ||
styl_yanwz_hilited_menu: | ||
__include: vars_map/styl_hilited_menu | ||
width: *yanwz_menu_width | ||
|
@@ -2301,8 +2314,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz11: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 开心1 | ||
keys: | ||
- { click: "^_^" } | ||
|
@@ -2330,8 +2342,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz12: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 开心2 | ||
keys: | ||
- { click: "Y(^_^)Y" } | ||
|
@@ -2358,8 +2369,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz21: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 喜欢1 | ||
keys: | ||
- { click: "QwQ" } | ||
|
@@ -2387,8 +2397,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz22: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 喜欢2 | ||
keys: | ||
- { click: "( σ'ω')σ" } | ||
|
@@ -2416,8 +2425,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz31: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 伤心1 | ||
keys: | ||
- { click: "(>﹏<)" } | ||
|
@@ -2445,8 +2453,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz32: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 伤心2 | ||
keys: | ||
- { click: "●﹏●" } | ||
|
@@ -2474,8 +2481,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz41: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 生气1 | ||
keys: | ||
- { click: "╰(‵□′)╯" } | ||
|
@@ -2503,8 +2509,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz42: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 生气2 | ||
keys: | ||
- { click: "<(`^´)>" } | ||
|
@@ -2532,8 +2537,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz51: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 惊讶1 | ||
keys: | ||
- { click: "⊙_⊙" } | ||
|
@@ -2561,8 +2565,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz52: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 惊讶2 | ||
keys: | ||
- { click: "(⊙x⊙;)" } | ||
|
@@ -2588,8 +2591,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz61: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 无奈1 | ||
keys: | ||
- { click: "=_=" } | ||
|
@@ -2617,8 +2619,7 @@ kbs: | |
- { width: *sym_bottom_switch, height: *sym_bottom } | ||
|
||
yanwz62: | ||
__include: vars_map/symbols_config | ||
width: *yanwz_width | ||
__include: vars_map/yanwz_config | ||
name: 无奈2 | ||
keys: | ||
- { click: "o_O" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# Trime style settings | ||
# encoding: utf-8 | ||
|
||
config_version: '2.1' | ||
name: 单静+ #方案名称 | ||
author: '单单 <[email protected]>' #作者资讯 | ||
|
||
vars: | ||
# 其他在 单静.yaml修改 | ||
# 主键盘 | ||
- &num_height 44 #数字行按键高度 | ||
# 数字、编辑、功能键盘 | ||
- &number_height 71 #按键高度 | ||
# 符号、颜文字键盘 | ||
- &sym_height 61 #按键高度 | ||
#- &menu_height 41 #菜单高度 见附文件 danjing.yaml | ||
#- &sym_bottom 0 #底部空白 见附文件 | ||
|
||
style: | ||
__include: 单静.trime:/style | ||
key_height: *sym_height #键高 | ||
|
||
fallback_colors: | ||
__include: 单静.trime:/fallback_colors | ||
|
||
preset_color_schemes: | ||
__include: 单静.trime:/preset_color_schemes | ||
|
||
patch_num: | ||
'keys/@4/hint': ' ' | ||
'keys/@7/hint': ' ' | ||
'keys/@0/': { click: num1, height: *num_height } | ||
'keys/@after 0/': { click: num2, height: *num_height } | ||
'keys/@after 1/': { click: num3, height: *num_height } | ||
'keys/@after 2/': { click: num4, height: *num_height } | ||
'keys/@after 3/': { click: num5, height: *num_height } | ||
'keys/@after 4/': { click: num6, height: *num_height } | ||
'keys/@after 5/': { click: num7, height: *num_height } | ||
'keys/@after 6/': { click: num8, height: *num_height } | ||
'keys/@after 7/': { click: num9, height: *num_height } | ||
'keys/@after 8/': { click: num0, height: *num_height } | ||
|
||
preset_keyboards: | ||
__include: danjing:/kbs | ||
|
||
default: | ||
__include: 单静.trime:/preset_keyboards/default | ||
__patch: patch_num | ||
letter: | ||
__include: 单静.trime:/preset_keyboards/letter | ||
__patch: patch_num | ||
qwertys: | ||
__include: 单静.trime:/preset_keyboards/qwertys | ||
__patch: patch_num | ||
qwerty_: | ||
__include: 单静.trime:/preset_keyboards/qwerty_ | ||
__patch: patch_num | ||
|
||
number: | ||
__include: 单静.trime:/preset_keyboards/number | ||
height: *number_height | ||
|
||
edit: | ||
__include: 单静.trime:/preset_keyboards/edit | ||
height: *number_height | ||
|
||
func: | ||
__include: 单静.trime:/preset_keyboards/func | ||
height: *number_height | ||
|
||
android_keys: | ||
__include: trime:/android_keys | ||
|
||
preset_keys: | ||
__include: 单静.trime:/preset_keys | ||
num1: { label: 1, send: 1 } | ||
num2: { label: 2, send: 2 } | ||
num3: { label: 3, send: 3 } | ||
num4: { label: 4, send: 4 } | ||
num5: { label: 5, send: 5 } | ||
num6: { label: 6, send: 6 } | ||
num7: { label: 7, send: 7 } | ||
num8: { label: 8, send: 8 } | ||
num9: { label: 9, send: 9 } | ||
num0: { label: 0, send: 0 } | ||
kb_qwerty: { label: '36键', send: Eisu_toggle, select: default } | ||
kb_qwertys: { label: '37键', send: Eisu_toggle, select: qwertys } | ||
kb_qwerty_: { label: '40键', send: Eisu_toggle, select: qwerty_ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# custom | ||
|
||
|
||
vars: | ||
# 主键盘 | ||
- &key_height 59 #按键高度 | ||
- &key_height_last 57 # 第4行 按键高度 | ||
|
||
patch: | ||
'preset_keyboards/default/height': *key_height | ||
'preset_keyboards/default/keys/@31/height': *key_height_last | ||
|
||
'preset_keyboards/letter/height': *key_height | ||
'preset_keyboards/letter/keys/@31/height': *key_height_last | ||
|
||
'preset_keyboards/qwertys/height': *key_height | ||
'preset_keyboards/qwertys/keys/@31/height': *key_height_last | ||
|
||
'preset_keyboards/qwerty_/height': *key_height | ||
'preset_keyboards/qwerty_/keys/@33/height': *key_height_last | ||
|