Skip to content

feat: add support for MaaFwWlr touch mode - #554

Draft
horror-proton wants to merge 1 commit into
MaaAssistantArknights:mainfrom
horror-proton:feat/maafwwlr
Draft

horror-proton wants to merge 1 commit into
MaaAssistantArknights:mainfrom
horror-proton:feat/maafwwlr

Conversation

@horror-proton

@horror-proton horror-proton commented Jun 16, 2026 •

Copy link
Copy Markdown
Member
[connection]
address = "/run/user/1000/wayland-0"

[instance_options]
touch_mode = "MaaFwWlr"

Summary by Sourcery

在触摸模式枚举中新增一个基于 MaaFramework 的 wlroots 触摸模式,并确保在解析、序列化以及测试中获得完整支持。

新功能:

  • 引入用于 Wayland wlroots 触控控制的 MaaFwWlr 触摸模式变体。

测试:

  • 扩展解析、序列化以及错误信息相关测试,以覆盖新的 MaaFwWlr 触摸模式。
Original summary in English

Summary by Sourcery

Add a new MaaFramework-based wlroots touch mode to the touch mode enumeration and ensure it is fully supported across parsing, serialization, and tests.

New Features:

  • Introduce the MaaFwWlr touch mode variant for Wayland wlroots-based touch control.

Tests:

  • Extend parsing, serialization, and error message tests to cover the new MaaFwWlr touch mode.
@codecov

codecov Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.06%. Comparing base (503d6ce) to head (199a764).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #554      +/-   ##
==========================================
+ Coverage   72.05%   72.06%   +0.01%     
==========================================
  Files          72       72              
  Lines        6674     6677       +3     
  Branches     6674     6677       +3     
==========================================
+ Hits         4809     4812       +3     
  Misses       1523     1523              
  Partials      342      342              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@wangl-cc

Copy link
Copy Markdown
Member

感谢适配!CLI 侧的改动我看过了,没有发现问题。MaaCore 侧涉及 controller 的具体实现,我对这部分不够熟悉;另外,我目前也没有合适的 Wayland 环境进行独立验证,因此无法对 Core 侧给出可靠的 review,还需要熟悉 Core 的维护者再确认一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants