Skip to content

feat(quickmenu): Touch screen switch (Off, Mouse, Touch) for PC streams - #94

Open
xservzeroman wants to merge 2 commits into
feat/quickmenu-pc-toolsfrom
feat/quickmenu-touch
Open

xservzeroman wants to merge 2 commits into
feat/quickmenu-pc-toolsfrom
feat/quickmenu-touch

Conversation

@xservzeroman

Copy link
Copy Markdown

A Touch screen switch in the in-game Quick menu for PC streams: Off, Mouse, Touch. Every stream starts Off.

Changelog

  • Game: touchMode (Off / Mouse / Touch), set to Off when the stream starts. The Quick menu item steps through the three for this stream only.
    • Off: finger events on the picture are consumed and nothing is sent.
    • Mouse: RelativeTouchContext (Moonlight's trackpad).
    • Touch: AbsoluteTouchContext (pointer where the finger is).
    • Switching cancels touches in progress and rebuilds the touch contexts. Stylus and mouse input aren't affected; neither is the on-screen controller.
  • Moonlight's "Use the touchscreen as a trackpad" checkbox is removed from All settings (preferences.xml); the switch replaces it.
  • Build: test241. Lint: 0 errors. Stacked on feat(quickmenu): Streaming status toggle, Task Manager and Hibernate PC #93.

To test

  • Start a PC game on a phone or the Odin: touching the picture does nothing. Quick menu, Touch screen: Mouse drags the pointer, tap clicks; Touch clicks where you tap; Off again stops it. A new stream starts Off.

🤖 Generated with Claude Code

…Off at every start (test241)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n default in Settings, menu scrolls to the selection (test243)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xservzeroman

Copy link
Copy Markdown
Author

Saleh on test242: ✅ Touch screen switch works. Fixed in test243: the PC pointer showing with Off (now parked at the right edge's middle), a Settings default (Handheld, Touch screen), and the Quick menu not scrolling to the selection (Hibernate PC was below the fold, unreachable with a pad; the TV list now scrolls too).

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants