Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct mouse and keyboard events without udev #86

Merged
merged 9 commits into from
Jul 24, 2024
Merged

Conversation

ABeltramo
Copy link
Member

@ABeltramo ABeltramo commented Jul 17, 2024

This will allow Wolf to run on environments where udev/uhid are not present or restricted (ex: WSL2, LXC, cloud instances, ...). It should also reduce latency for those inputs.

Example restricted run command:

docker run \
    --name wolf \
    --network=host \
    -v /tmp/sockets:/tmp/sockets:rw \
    -v /etc/wolf:/etc/wolf:rw \
    -v /var/run/docker.sock:/var/run/docker.sock:rw \
    --device /dev/dri/ \
    ghcr.io/games-on-whales/wolf:dev-wayland-inputs

fixes #73
fixes games-on-whales/gst-wayland-display#4

@ABeltramo ABeltramo merged commit c8fdfd2 into stable Jul 24, 2024
22 checks passed
@ABeltramo ABeltramo deleted the dev-wayland-inputs branch July 24, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add input events API Running Wolf inside an LXC container
1 participant