feat: gamescope controller#1338
Draft
mx6436 wants to merge 11 commits into
Draft
Conversation
- Extract VkToEvdev.h to shared Common include - Add CMake build scaffolding for MaaGamescopeControlUnit - Declare GamescopeControlUnitAPI C header and implement exports - Update MaaController.h, ControlUnitAPI.h for Gamescope support - Add module export in MaaFramework.cppm
PipeWire-based screen capture using pw_thread_loop, supporting BGR/RGB/RGBA/BGRA/YUY2 formats with SPA pod negotiation.
libei-based input sender supporting pointer, keyboard, and scroll events via ei_device_* primitives with synchronous poll_and_dispatch loop.
Control unit manager that composes PipeWireScreencap and EiInput, registered through the LibraryHolder factory pattern.
Remove verbose prerequisite, setup, supported/unsupported operations, and code example sections from the Gamescope docs. Retain only the essential API parameter descriptions and keyboard input notice.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
已知问题:
由 Sourcery 提供的摘要
添加一个适用于 Linux 的新的 Gamescope 控制器,通过核心框架、本机控制单元和语言绑定进行串联,使用 PipeWire 进行屏幕捕获,使用 libei 进行输入注入,并附带相应的配置和文档更新。
新功能:
增强:
node_id、EIS 套接字路径和键码模式。文档:
Original summary in English
Summary by Sourcery
Add a new Gamescope controller for Linux, wired through the core framework, native control unit, and language bindings, using PipeWire for screencapture and libei for input injection, with corresponding configuration and documentation updates.
New Features:
Enhancements:
Documentation: