Skip to content

Input plugin for the visionOS Xcode simulator to allow control with an external gyro (WIP)

Notifications You must be signed in to change notification settings

JJTech0130/XRGyroControls

Repository files navigation

XRGyroControls

This is a replacement for the default controls used in the VisionOS xrOS Simulator. This will allow you to control the simulator camera with an actual VR headset once it is finished. Right now it is in POC stage and can control the simulator, but doesn't actually take input from another headset.

Installation

  1. Disable SIP
  2. Disable library validation (sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true)
  3. Install the latest Xcode beta, and install the VisionOS Simulator.
  4. Clone the git repo and open it in Xcode
  5. Launch the default schema. It should automatically open the Xcode simulator, you will need to manually select the "XRGyroControlsType" simulator device type and launch it.
  6. You should be able to control the new simulator type over UDP port 9985. A sample JSON client is in example.py for now, it also accepts OpenTrack and @keithahern's messages on the same port (though they are less flexible)

About

Input plugin for the visionOS Xcode simulator to allow control with an external gyro (WIP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published