Feature Request: Use SDL3 as the backend for the GameInput shim (DualSense & gyro support)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
This is a feature request to back the GameInput shim with SDL3 and later feed gyro sensor data into aiming. The payload names no source files, tests or entry points, so start by finding where the GameInput shim is implemented in the repository. Done would need a design decision from maintainers on the SDL3 backend first, which is why this is not a good first issue.
由索引模型根据 Issue 内容生成。
描述
Hi! Since Leonida has to shim/reimplement Xbox's GameInput API for PC, would you consider backing the GameInput layer with SDL3?
Why SDL3:
- Native multi-controller support: DualSense, DualShock 4, Switch Pro, Xbox, Steam Deck, etc. work out of the box without needing DS4Windows or Steam Input.
- Sensor & DualSense features: SDL3 exposes
SDL_SENSOR_GYRO/SDL_SENSOR_ACCEL(plus rumble/LEDs/touchpad) through a single unified API, whereas Windows GameInput doesn't expose gyro on most third-party controllers.
Regarding gyro aiming:
I know simply swapping the GameInput backend to SDL3 won't automatically give the game gyro (since the Xbox binary itself doesn't read GameInputMotionState for aiming), so this would be a two-part thing:
- Back the
GameInputshim with SDL3 for broad controller support and sensor access. - Down the line (once camera/mouse look hooks are in place), optionally feed
SDL_SENSOR_GYROdeltas directly into the camera/aiming input (or mouse look) for true mouse-like gyro aiming—with a simple toggle/sensitivity config (e.g., gyro active on ADS/L2).
Thanks for all the work on the project!
- 主要语言
- Python
- 星标
- 14.9k
- 派生
- 1.2k
- 平均合并
- 1 小时 58 分钟
- 30 天内合并 PR
- 40
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ItsNotRexed/Leonida 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
ItsNotRexed/Leonida#3990 ·
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 25/100
ItsNotRexed/Leonida#4257 · 18 条评论 ·
维护者通常 1 天内回复
-
Python SPIR-V assembler encodes BF16 constants as IEEE half可能已有人在做 @lumenpearson 今天认领。 未关闭bug
难度 3/5 半天 新手友好度 25/100
ItsNotRexed/Leonida#4237 ·
维护者通常 1 天内回复
-
SPIR-V reflection rejects Int8 array length constants可能已有人在做 @lumenpearson 今天认领。 未关闭bug
难度 3/5 半天 新手友好度 22/100
ItsNotRexed/Leonida#4221 ·
维护者通常 1 天内回复
-
Interrupted stub rebuild can truncate a valid SPIR-V output可能已有人在做 @lumenpearson 今天认领。 未关闭bug
难度 3/5 半天 新手友好度 18/100
ItsNotRexed/Leonida#4183 ·
维护者通常 1 天内回复
查看 ItsNotRexed/Leonida 的全部 Issue
相似的 Issue
-
pydanty:is-working
难度 2/5 1-3 小时 新手友好度 68/100
pydantic/pydantic-ai#14187 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
[Bug]: legacy_json_to_doc crashes on persisted docs with "relationships": null可能已有人在做 @Harsh23Kashyap 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
run-llama/llama_index#24392 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
pathintegral-institute/mcpm.sh#568 ·
维护者通常 21 天内回复