Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Controller Input from a Separate Application Instance #65

Open
BobbyShoe opened this issue May 26, 2019 · 1 comment
Open

Support Controller Input from a Separate Application Instance #65

BobbyShoe opened this issue May 26, 2019 · 1 comment

Comments

@BobbyShoe
Copy link

Do you think it would be possible to support connecting just the controller input for NanoClient from a separate application instance? Possibly what I am thinking is having one application do the streaming of audio and video, then having a separate application instance for each controller input. The current code base appears to only be hard coded to support player 1 in the NanoClient.OpenInputChannelAsync function where controllerIndex is hard coded to zero.

Initial attempts I tried failed in apparently StartGameStreamAsync. It is a little difficult to tell exactly where it fails, because the async calls end up timing out, and a relatively generic timeout error is received.

@tuxuser
Copy link
Member

tuxuser commented May 26, 2019

I dont plan to implement support for multiple controllers in the near future but would be happy to accept a PR for it.

For delivering input events "externally" something like a FIFO or Pipe could be used.

EDIT: Because the change was not trivial, I tried something in branch input_channel. However, looks like it needs a change still to correctly assign Channel in ChannelControl messages.

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

No branches or pull requests

2 participants