Commit Graph
2 Commits
Author SHA1 Message Date
The412Banner 9ad5961e4c feat(bionic): dd-directinput, XInput from the pad state for games started without Steam
Wine's xinput reads the HID reports winebus makes from the evdev events fakeinput replays
out of each controller ring, through a queue per handle. A game that reads them slower
than the pad reports gets old stick positions: in Halo: The Master Chief Collection the
character kept moving for a second or two after the stick was let go (Bionic r104,
"Start without Steam"; turning vibration off in DroidDeck and in the game changed nothing).

dd-directinput is an XInput DLL set (xinput1_1..1_4, 9_1_0, uap; ARM64X for system32,
i386 for syswow64) that answers XInputGetState from the snapshot of the whole pad
FakeInputWriter keeps in each ring file's header (seqlock, read with 32-bit loads only).
XInputSetState returns at once; a worker thread hands rumble changes to a renamed copy of
Wine's builtin xinput1_4 (dd-directinput-wine-xinput.dll), so rumble keeps DroidDeck's
force-feedback path without Wine's lock holding up a game thread. Based on Bannerlator's
direct XInput DLL (GPL-3.0).

launch.sh copies the DLLs into the prefix (replacing the links to the tool's builtins,
never writing through them) and sets xinput*=n,b when the game is set to start without
Steam; DD_DIRECTINPUT=0 keeps Wine's own, and a game no longer set to start without Steam
gets Wine's links back. tools/bionic-runtime/build.sh builds and checks the DLLs (export
tables of both ARM64X views, imports, no TLS directory, version resource) and runs the
host test of the ring reader.
2026-12-06 01:14:11 -05:00
The412Banner 9e6f81540f feat(bionic): DroidDeck-Bionic compatibility tool (Wine on Android's libc, no proot) (#3037)
DroidDeck-Bionic: a Steam compatibility tool that runs the game itself on Android's libc (bionic) instead of glibc inside proot. Steam, the stores and the session stay on DroidDeck's Linux side; only the game process leaves proot.

- Listed in the Proton list only when Run without proot is on, in its own row. Its builds are pre-releases on Droid-Deck/DroidDeck-Proton (DroidDeck-Bionic-12.8-rNN, runtime built by .github/workflows/build-bionic-runtime.yml from tools/bionic-runtime); the app installs and updates them like the other extra tools and never makes one the default unless the user picks it.
- With proot on, a launch sent to a bionic tool goes to the newest DroidDeck-Proton (picks stay as set).
- ProtonExtras / ProtonMenu / ExperimentalProtons / droiddeck-proton-extra: bionic pre-releases checked and listed only without proot; updates carry the default and per-game picks over; deleting a tool never follows links out of it. ProtonDefault: picks left on an older bionic build move to the installed one.
- Components: FEX builds for bionic (bionic-stable on DroidDeck-Components); each tool is offered only the FEX builds that fit it.
- Session logs: the bionic game log and its graphics logs are part of Share logs.

Synced with main twice before the merge (latest sync fbed69ce on main 67b82ad9; Build APK and validation green); a local trial merge on main 3e1fc3e6 had no conflicts and the game-environment, Proton-extra and store-launch tests pass.
2026-11-24 23:39:23 +00:00