SteamDeck: a standalone launcher for the native ARM64 Linux Steam client

Lifts Bannerlator's Linux/gamescope runtime out into an app of its own: the
Wayland compositor, the proot session, the runtime installer, the fake-evdev
controller path and the PulseAudio server, with none of the Wine, container or
store machinery around them.

One activity installs the runtime from the same winlator-contents catalog and a
second one runs the session: compositor on a SurfaceView, gamescope and Valve's
native arm64 client under proot, a physical pad republished into the fake-input
rings, and the session's milestones on screen until the first frame arrives.
This commit is contained in:
The412Banner committed 2026-09-19 13:39:17 -04:00
commit 4022351e22
210 files changed
+73587

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
/*
* One function: the release fence the fake-input ring writer needs.
*
* FakeInputWriter publishes events into a shared-memory ring that libfakeinput.so reads from
* another process. Java's memory model says nothing about what a foreign reader sees, so the
* writer calls this between filling the events and advancing the sequence counter: everything
* written before it is visible to the reader before the counter moves.
*/
#include <jni.h>
#include <stdatomic.h>
JNIEXPORT void JNICALL
Java_com_the412banner_steamdeck_input_FakeInputWriter_nativeStoreFence(JNIEnv *env, jclass clazz) {
(void)env;
(void)clazz;
atomic_thread_fence(memory_order_release);
}