mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[PR #72] [MERGED] Add PS5 joypad emulation to unprivileged containers #350
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#350
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/wolf/pull/72
Author: @ABeltramo
Created: 5/26/2024
Status: ✅ Merged
Merged: 6/27/2024
Merged by: @ABeltramo
Base:
stable← Head:input-upgrade📝 Commits (10+)
0d79ea9feat: upgraded inputtino to latest, improved virtual device handling0f120b8feat: implemented udev events for PS5 padfae90defix: PS5 pad: additional input handlers + hotplug (fake) events1c15b28fix: bring latest fixes from inputtino44a5130fix: LED udev events, battery, tests9b5303fdocs: updated with uhid requirement7bbe7a2fix: everything required to get PS pad perfectly working: gyro, led, hidraw, udev rules4b9a0a0tests: speedup compilation, properly init boost logsd392033CI: better flow, added more tests to arm build12207e0fix: properly queue plugged devices queue📊 Changes
40 files changed (+1329 additions, -750 deletions)
View changed files
📝
.github/workflows/clang-format.yml(+1 -1)📝
.github/workflows/docker-build.yml(+4 -4)📝
.github/workflows/linux-build-test.yml(+84 -24)📝
.github/workflows/mirror-repo.yml(+1 -1)📝
docker/gstreamer.Dockerfile(+1 -1)📝
docker/wolf.Dockerfile(+2 -2)📝
docs/modules/user/pages/configuration.adoc(+20 -0)📝
docs/modules/user/pages/quickstart.adoc(+11 -8)📝
src/core/CMakeLists.txt(+10 -5)📝
src/core/src/core/input.hpp(+23 -9)➕
src/core/src/platforms/all/helpers/helpers/tsqueue.hpp(+56 -0)📝
src/core/src/platforms/linux/uinput/joypad.cpp(+155 -81)📝
src/core/src/platforms/linux/uinput/uinput.hpp(+1 -0)📝
src/moonlight-protocol/moonlight/control.hpp(+18 -3)📝
src/moonlight-server/control/input_handler.cpp(+435 -278)📝
src/moonlight-server/control/input_handler.hpp(+32 -0)📝
src/moonlight-server/rest/endpoints.hpp(+2 -2)📝
src/moonlight-server/runners/docker.hpp(+32 -29)📝
src/moonlight-server/state/configTOML.cpp(+14 -1)📝
src/moonlight-server/state/data-structures.hpp(+18 -12)...and 20 more files
📄 Description
To test this pull the Docker image
ghcr.io/games-on-whales/wolf:input-upgradeTo support DualSense joypads with gyro and acceleration:
-v /dev/:/dev/:rw/etc/udev/rules.d/85-wolf-virtual-inputs.rules"c 244:* rmw"underDeviceCgroupRulesinconfig.tomlotherwise Wolf will log a warning ofUnable to get stats of /dev/hidraw**TODO:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.