trime icon indicating copy to clipboard operation
trime copied to clipboard

Custom liquid keyboard fixed key bar

Open shitlime opened this issue 1 year ago • 0 comments

Pull request

Issue tracker

Fixes will automatically close the related issues

Fixes # Fixes #

Feature

新增一些参数 fixed_key_bar: 用于自定义液态键盘中的固定按键条:

例:

liquid_keyboard:
  fixed_key_bar:  # 固定按键条
    position: bottom  # 摆放位置(在滚动区域的……) top|bottom|left|right (上/下/左/右)
    keys:  # 按键(显示名称为对应的label,不能放太多)
      - liquid_keyboard_exit  # 返回键(在preset_keys内定义,同下)
      - space1  # 空格键
      - BackSpace  # 退格键
      - Return2  # 回车键
      - liquid_keyboard_clipboard  # “剪贴板”跳转按键
      - liquid_keyboard_switch  # “更多”跳转按键

效果如图: Screenshot_20240513_125609_in mfile_edit_381218676326204 Screenshot_20240513_125657_in mfile_edit_381203706518915 Screenshot_20240513_125737_in mfile_edit_381192033213708

Code of conduct

  • [x] CONTRIBUTING

Code style

Build pass

  • [x] make debug

Manually test

  • [x] Done

Code Review

  1. No wildcards import
  2. Manual build and test pass
  3. GitHub Action CI pass
  4. At least one contributor review and approve
  5. Merged clean without conflicts
  6. PR will be merged by rebase upstream base

Daily build

Login and download artifact at https://github.com/osfans/trime/actions

Additional Info

shitlime avatar May 11 '24 17:05 shitlime