How do you detect a second gamepad for splitscreen?
I'm building a local splitscreen multiplayer (which is completely optional), and it's kinda stupid to just create a second PlayerController without actually checking there's a second gamepad connected/receiving some input from second gamepad.
Everything Blueprints have to offer is just not enough to solve this (a pretty simple) task, so what do I do? Write my own C++ extension?
I've found the solution that works for now and I'm posting an explanation here for everyone to use it and build upon.
Another thing - editor is completely unreliable when testing this. First of all, the event fires for every controller plugged on the game launch, so you can actually launch splitscreen right on or safely tie
Don't forget to call
I'm still working on exposing input events from second gamepad without creating
(You should also check out
Follow this question
Once you sign in you will be able to subscribe for any updates here