Skip to content

Unified moved_monitor_wait() for moved - #520

Merged
thp merged 7 commits into
masterfrom
moved-polling
Aug 4, 2026
Merged

Unified moved_monitor_wait() for moved#520
thp merged 7 commits into
masterfrom
moved-polling

Conversation

@thp

@thp thp commented Jul 30, 2026

Copy link
Copy Markdown
Owner

A cleanup on top of #519 for unifying monitor waiting between macOS, Linux and Windows.

Tested:

  • Building on Linux locally
  • (+ CI will test building on other OSes)

Not tested:

  • Building on macOS
  • psmove pair -d on any OS
  • psmove daemon on any OS

cc @adangert if you could check if this works for you, that'd be great :)

Comment thread src/daemon/moved_monitor_osx.mm Outdated
Comment thread src/daemon/moved.cpp
Comment thread src/daemon/moved_monitor_windows.cpp Outdated
@adangert

Copy link
Copy Markdown
Contributor

Thanks for getting this out, when I boot the pi up again, I can test out with the newest Joustmania on linux (we've upgraded to the newest psmoveapi), and will report back

Comment thread src/daemon/moved.cpp

@adangert adangert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested regular paring on Linux with both psmove controller types. still works well.

On the windows build running through Proton on Steam Deck: JoustMania starts a native Linux psmove daemon. The Windows psmoveapi.dll communicates with it using UDP on 127.0.0.1:17778,

I also tested the native Windows JoustMania build, which uses moved_monitor_wait(monitor, false). Controller detection works well. Thanks for working on this!

@thp
thp merged commit 97d97e9 into master Aug 4, 2026
4 checks passed
@thp
thp deleted the moved-polling branch August 4, 2026 12:00
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