isXander / isXander/Controlify
[Bug] Trigger buttons crossed between two controllers used in separate game instances
@isXander is already working on this.
Since Jul 22, 2023.
- 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
- Plug in controllers 1 and 2
- Run two-player split screen Minecraft in Nucleus Coop, assigning controllers to P1-P2
- 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
- Start Single Player world with P1, Open LAN game
- Join the LAN game with P2 in Multiplayer
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.