Skip to content

Commit

Permalink
fix: updated gst-wayland-display updated default config
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Jun 28, 2024
1 parent 8e798fc commit 9965533
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
7 changes: 5 additions & 2 deletions 85-wolf.rules
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Allows Wolf to acces /dev/uinput
# Allows Wolf to access /dev/uinput
KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"

# Allows Wolf to access /dev/uhid
KERNEL=="uhid", TAG+="uaccess"

# Move virtual keyboard and mouse into a different seat
SUBSYSTEMS=="input", ATTRS{id/vendor}=="ab00", MODE="0660", GROUP="input", ENV{ID_SEAT}="seat9"

# Joypads
SUBSYSTEMS=="input", ATTRS{name}=="Wolf X-Box One (virtual) pad", MODE="0660", GROUP="input"
SUBSYSTEMS=="input", ATTRS{name}=="Wolf PS5 (virtual) pad", MODE="0660", GROUP="input"
SUBSYSTEMS=="input", ATTRS{name}=="Wolf gamepad (virtual) motion sensors", MODE="0660", GROUP="input"
SUBSYSTEMS=="input", ATTRS{name}=="Wolf Nintendo (virtual) pad", MODE="0660", GROUP="input"
SUBSYSTEMS=="input", ATTRS{name}=="Wolf Nintendo (virtual) pad", MODE="0660", GROUP="input"
2 changes: 1 addition & 1 deletion docker/wolf.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN <<_GST_WAYLAND_DISPLAY

git clone https://github.com/games-on-whales/gst-wayland-display
cd gst-wayland-display
git checkout 6c7d8cb
git checkout 4558c3e
cargo install cargo-c
cargo cinstall -p c-bindings --prefix=/usr/local --libdir=/usr/local/lib/
_GST_WAYLAND_DISPLAY
Expand Down
8 changes: 5 additions & 3 deletions src/moonlight-server/state/default/config.include.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ name = "WolfFirefox"
image = "ghcr.io/games-on-whales/firefox:edge"
mounts = []
env = [
"RUN_SWAY=1",
"MOZ_ENABLE_WAYLAND=1",
"GOW_REQUIRED_DEVICES=/dev/input/* /dev/dri/* /dev/nvidia*",
]
Expand Down Expand Up @@ -101,15 +102,16 @@ base_create_json = """
"""

[[apps]]
title = "EmulationStation DE"
title = "Pegasus"
start_virtual_compositor = true

[apps.runner]
type = "docker"
name = "WolfES-DE"
image = "ghcr.io/games-on-whales/es-de:edge"
name = "WolfPegasus"
image = "ghcr.io/games-on-whales/pegasus:edge"
mounts = []
env = [
"RUN_SWAY=1",
"RUN_GAMESCOPE=true",
"GOW_REQUIRED_DEVICES=/dev/input/event* /dev/dri/* /dev/nvidia*",
]
Expand Down
8 changes: 5 additions & 3 deletions src/moonlight-server/state/default/config.v2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ name = "WolfFirefox"
image = "ghcr.io/games-on-whales/firefox:edge"
mounts = []
env = [
"RUN_SWAY=1",
"MOZ_ENABLE_WAYLAND=1",
"GOW_REQUIRED_DEVICES=/dev/input/* /dev/dri/* /dev/nvidia*",
]
Expand Down Expand Up @@ -100,15 +101,16 @@ base_create_json = """
"""

[[apps]]
title = "EmulationStation DE"
title = "Pegasus"
start_virtual_compositor = true

[apps.runner]
type = "docker"
name = "WolfES-DE"
image = "ghcr.io/games-on-whales/es-de:edge"
name = "WolfPegasus"
image = "ghcr.io/games-on-whales/pegasus:edge"
mounts = []
env = [
"RUN_SWAY=1",
"RUN_GAMESCOPE=true",
"GOW_REQUIRED_DEVICES=/dev/input/event* /dev/dri/* /dev/nvidia*",
]
Expand Down

0 comments on commit 9965533

Please sign in to comment.