mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 04:55:44 +00:00
merge: refresh reviewed runtime branch
This commit is contained in:
commit
fa2ea0d7ae
46 files changed
+114
-121
No files matched your search
@@ -40,7 +40,7 @@ Player controls and observations work over authorized ADB on any build: `state`,
|
||||
`resume`, `wait`, `launch`, `quit`, `focus`, `input`, `ui`, `logs`, `screenshot`, `record`, `pacing`,
|
||||
`thermal`, `displays`, `wake`, `glasses` (except `glasses raw`), and `access`.
|
||||
|
||||
**Setup > Developer > Debugging tools** is off by default in every build, including debug builds.
|
||||
**Setup > Developer > droiddeckctl** is off by default in every build, including debug builds.
|
||||
It enables `run`, `guest`, `cdp`, all `env` operations, `override`, `prefs`, and `glasses raw`. The
|
||||
toggle switches directly without a confirmation dialog. The bridge refuses to change it through `ui`
|
||||
or preference writes. The existing preference key, `setting-agent-commands` test tag, JSON command
|
||||
@@ -230,7 +230,7 @@ and returns its exit code with the last 160 KiB of stdout and stderr (`--timeout
|
||||
`cloud down|up <store> <id>` syncs one game's cloud saves now, without launching it, with the
|
||||
`result`, `files`, `bytes`, `reason`, `conflicts` and `detail` the game page shows; `--force` takes
|
||||
that side over conflicts. The store id is the one in the game's install record (`library` shows
|
||||
it). Both need Setup > Developer > Debugging tools.
|
||||
it). Both need Setup > Developer > droiddeckctl.
|
||||
|
||||
`input pad` writes to the session's virtual pad, the one the guest sees, and never reaches the app's
|
||||
own key handling. To test how DroidDeck's own screens treat a controller (menu focus and outlines,
|
||||
@@ -240,13 +240,13 @@ controller, and presses the buttons in order: `a b x y lb rb select start guide
|
||||
d-pad `up down left right`. `--hold` (120 ms) is how long each stays down and `--gap` (400 ms) the
|
||||
pause after it; a d-pad press always waits at least 20 ms, so Android sees each release before
|
||||
the next press. The device exists only while the command runs, takes about a second to appear, and
|
||||
works without a session or Setup > Developer > Debugging tools. Its name does not start with
|
||||
works without a session or Setup > Developer > droiddeckctl. Its name does not start with
|
||||
`uinput-`, which the app treats as a system virtual device. `UINPUT_UNAVAILABLE` and `UINPUT_FAILED`
|
||||
mean the same as for `input pen`.
|
||||
|
||||
`input pen` does not go through the app. It registers a virtual pen with `adb shell uinput -`, so
|
||||
Android's own input reader makes the stylus events, as for a built-in pen, and it works on whatever
|
||||
is on screen, without a session or Setup > Developer > Debugging tools. Positions are fractions of
|
||||
is on screen, without a session or Setup > Developer > droiddeckctl. Positions are fractions of
|
||||
the screen as shown; `dumpsys input` gives the frame, rotation and size of the display Android maps
|
||||
internal touchscreens to. `hover` comes near and glides to `--to`; `tap`, `stroke` and `button`
|
||||
hover for `--hover-ms` (80) before and after the touch or the button press. Each takes
|
||||
|
||||
@@ -35,6 +35,6 @@ plays without sound rather than louder, and plays nothing if that fails too. Cov
|
||||
Selecting a movie here sets `bootMovieApplyNext`, so the next session stages the movie as `bigpicture_startup.webm` and
|
||||
points both sections at it, over a movie Steam had picked; otherwise a movie picked in Steam is left alone and taken over as
|
||||
the choice here without being staged over Steam's own setting. Settings > Boot movie > Installed has a report button that
|
||||
writes what Steam and DroidDeck know to `Download/DroidDeck/boot-movie-report.txt`; it only shows while Debugging tools is on.
|
||||
writes what Steam and DroidDeck know to `Download/DroidDeck/boot-movie-report.txt`; it only shows while droiddeckctl is on.
|
||||
A movie larger than 1920x1080 (4K and the like) is never copied or remuxed as it is: import and staging always convert it
|
||||
(the converter scales to at most 1280x720), because such movies have made Steam crash while it starts.
|
||||
@@ -327,7 +327,7 @@ or repeatedly hit a path the wrappers cannot resolve.
|
||||
|
||||
### Opt-in tracer profiling
|
||||
|
||||
With **Setup > Developer > Debugging tools** enabled, queue profiling for one session:
|
||||
With **Setup > Developer > droiddeckctl** enabled, queue profiling for one session:
|
||||
|
||||
```sh
|
||||
tools/droiddeckctl proot-profile enable --slow-us 1000
|
||||
|
||||
@@ -498,7 +498,7 @@ handed-off daemons. With only the hook's handoffs off (`DD_SPAWN_DAEMONS=0`), RE
|
||||
runs in workers (`GuestWorkers.enabled`: the native userland, Android 11+, and the
|
||||
`childProcessHandoff` session preference, on by default). It does not block Steam. Turning the
|
||||
preference off (`droiddeckctl prefs set session childProcessHandoff false --type bool`, with
|
||||
Setup > Developer > Debugging tools on; see `docs/agent-control.md`) brings back
|
||||
Setup > Developer > droiddeckctl on; see `docs/agent-control.md`) brings back
|
||||
the old behavior and the old requirement.
|
||||
|
||||
### C. Plan
|
||||
|
||||
@@ -55,7 +55,8 @@ Links of the form `droiddeck://settings/<section>` open a Settings section direc
|
||||
| Game debug logs | Settings › Developer (`droiddeck://settings/developer`) | logs, wine, proton |
|
||||
| Enhanced diagnostics for next session | Settings › Developer (`droiddeck://settings/developer`) | logs |
|
||||
| Reset all settings | Settings › Developer (`droiddeck://settings/developer`) | default |
|
||||
| Developer tools | Settings › Developer (`droiddeck://settings/developer`) | agent, ai, claude, codex |
|
||||
| Show developer tools | Settings › Developer (`droiddeck://settings/developer`) | agent, ai, claude, codex |
|
||||
| droiddeckctl | Settings › Developer (`droiddeck://settings/developer`) | debugging tools, cli |
|
||||
| Detailed graphics logs | Settings › Developer (`droiddeck://settings/developer`) | logs, gpu |
|
||||
|
||||
## Tabs
|
||||
|
||||
Reference in new issue
Block a user