Skip to content

Running sway via X11 - send M/K input to Wayland session? #16

Closed Answered by falk4243
falk4243 asked this question in Sunshine
Discussion options

You must be logged in to vote

Starting sway with WLR_BACKENDS=headless,libinput sway on another console (tty1, 2, ...) than the graphical session makes all devices connected to the host PC and client device available to that session as long as the console is selected. You can then just start any program (yuzu, RPCS3, etc.) via mouse and keyboard. As the apps connect to game controllers directly, even when switching the focus away from the console (to the X11 session for example), gamepad input stays with the Sunshine session, while M/K input changes focus to the selected console. This allows one person to play controller-enabled games while somebody else uses the machine for work or other tasks that require mouse and …

Replies: 0 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@falk4243
Comment options

@ReenigneArcher
Comment options

@falk4243
Comment options

Comment options

You must be logged in to vote
1 reply
@falk4243
Comment options

Answer selected by falk4243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants