Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Gamepad indices clash with multiple peers #164

Closed
Belchy06 opened this issue Mar 20, 2023 · 1 comment · Fixed by #165
Closed

Gamepad indices clash with multiple peers #164

Belchy06 opened this issue Mar 20, 2023 · 1 comment · Fixed by #165

Comments

@Belchy06
Copy link
Collaborator

Belchy06 commented Mar 20, 2023

Problem

When multiple peers are connected, each peer's controllers will increment from 0.

This means that if player 0 has 2 gamepads, they'll be assigned index 0 and index 1 and when player 1 connects with two gamepads of its own, they'll also be assigned index 0 and index 1 as illustrated below:

Blank diagram (1)

The clashing of these gamepads prevents use cases such as local multiplayer (co-op) experiences.

@Belchy06 Belchy06 linked a pull request Mar 20, 2023 that will close this issue
@lukehb
Copy link
Contributor

lukehb commented Mar 20, 2023

Nice image, can we get this added to the PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants