mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 06:15:58 +00:00
Touchpad on the desktop, and the guest's resolver from the live network
Touch on the desktop now works the way Bannerlator's desktop containers do: the arrow stays where it is and a finger dragged anywhere moves it from there, tap clicks, a second finger tapping while one holds (or a two-finger tap) right-clicks, two fingers scroll, hold-then-drag and double-tap-hold drag. Steam keeps the direct pointer; the drawer pins either. The runtime's resolv.conf is written from the active network's DNS servers on every link change — IPv4 first, never Android's link-local IPv6 ones, the public pair as fallback — which is what glibc, and so Firefox, resolve with. Routing needs nothing: proot makes no network namespace.
This commit is contained in:
1 parent
f5ca6d0053
commit
6568bf667d
6 files changed
+262
No files matched your search
@@ -56,6 +56,21 @@ client sees one pad either way. Connect a controller and the on-screen one disap
|
||||
and it comes back. Anywhere the controls are not is a touchpad: touch moves the pointer and a tap
|
||||
clicks, which is how the client's own on-screen keyboard is used to sign in.
|
||||
|
||||
## Pointer
|
||||
|
||||
The app draws the arrow. On the desktop, touch is a **touchpad** (Bannerlator's desktop-container
|
||||
feel): drag anywhere and the pointer moves from where it is; tap to click; a second finger tapping
|
||||
while one holds, or a two-finger tap, right-clicks; two fingers scroll; hold still then drag, or
|
||||
double-tap-and-hold, drags. In Steam, touch is **direct**: the pointer jumps under the finger. The
|
||||
drawer's *Touch* switch pins either. A USB or Bluetooth mouse works as itself.
|
||||
|
||||
## Networking
|
||||
|
||||
The desktop's programs use the phone's network directly — proot makes no network namespace, so
|
||||
IPv4 and IPv6 both pass through — and the app writes the runtime's `/etc/resolv.conf` from the
|
||||
active network's own DNS servers whenever the link changes (IPv4 first, never a link-local IPv6 one,
|
||||
public servers as fallback), which is what Firefox and everything else in the desktop resolve with.
|
||||
|
||||
## Keyboard
|
||||
|
||||
**Keyboard** in the drawer opens the soft keyboard over the session. Steam's UI and the games
|
||||
|
||||
Reference in new issue
Block a user