Skip to content

VEMS-ok/sample-react-remote-input

Repository files navigation

Sample react remote input for VEMS getReal3D

This is a sample implementation of a remote input client for the VEMS extensions for getReal3D.

This is a react app that is hosted at https://github.com/VEMS-ok/sample-react-remote-input You can also run this app locally with npm start from the project root directory.

When you load the app, you would want to set the protocol, address and port then connect. If connected successfully you should see the Connection status set to connect.

Currently, the app publishes on the following topics:

  • getReal3D/forwardAxis - Touching/clicking and dragging up and down on the left touchpad (blue rectangle space)
  • getReal3D/strafeAxis - Touching/clicking and dragging left and right on the left touchpad (blue rectangle space)
  • getReal3D/yawAxis - Touching/clicking and dragging up and down on the right touchpad (blue rectangle space)
  • getReal3D/pitchAxis - Touching/clicking and dragging left/right on the right touchpad (blue rectangle space)
  • getReal3D/wandButtonUp - Pressing down on the wand button
  • getReal3D/wandButtonDown - Releasing the wand button

See the documentation of the getRealRemoteInput for the list of topics a client could subscribe to by default. See src/TouchPad.jsx to see the implementation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published