isXander / isXander/Controlify

[Bug] Trigger buttons crossed between two controllers used in separate game instances

Open
#117 1 comment 0 reactions 1 assignee View on GitHub

@isXander is already working on this.

Since Jul 22, 2023.

bug
Dominant language
Java
Stars
341
Forks
97
Avg merge
1h
Merged PRs (30d)
1

Description

Current Behaviour

I'm running two simultaneous, equally modded java game instances (under Nucleus Coop, to simulate split screen), each with its own separate controller (both XInput Gamepad GLFW). Player 1 runs a single player game, Player 2 joins through multiplayer over LAN (emulated in the same machine). This setup worked well in previous game runs using Midnight Controls instead of Controlify. No other controller mods are being run in the current instances.

After selecting which controller is used by each player, input seems at first to work well in both game instances, but if P2 attacks (RT) that triggers the attack function in both game instances simultaneously, P1 and P2. Also, once RT buttons get entangled, left stick in P1 controller often stops working.

Expected Behaviour

Right Trigger in P2 game instance triggers attack in P2 game only, and it does not affect P1 controller function.

Screenshots

No response

Reproduction Steps
  1. Plug in controllers 1 and 2
  2. Run two-player split screen Minecraft in Nucleus Coop, assigning controllers to P1-P2
  3. Once the two game instances are running in the selected display layout, confirm that controller 1 is selected in Controlify settings for P1, and controller 2 for P2
  4. Start Single Player world with P1, Open LAN game
  5. Join the LAN game with P2 in Multiplayer
  6. Test controllers in game with both instances, starting with P2 Right Trigger
Logs

No response

Mod Version

1.4.4 + 1.20.1

Controller

EasySMX Wired Controller, Thrustmaster GP XID Pro Edition

Bluetooth
  • Yes
Operating System

Windows

ARM
  • Yes
Additional Information

Edit: I have tried unplugging and plugging again the controller in game, problem persists - or gets worse.

Just to make sure...
  • I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
  • I have made sure there are no other issues describing the same problem on the issue tracker.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.