Ok so before I get started I just want to say I know very little about C++, especially in context of Unreal, and I am upset that I even NEED to use it for what seems to me should be a pretty simple and easy thing to check. Thank you in advance for your patience.
Long story short, I’m working on a 2-player local multiplayer game and by default, It seems I can either assign gamepad to player 1, or skip assigning gamepad to player 1. Since I only have one gamepad that seems to work with Unreal Engine, I’ve been doing all my testing with Skip Player 1 set to true. However, since many people DO have 2 gamepads and should be able to use them both if they wish, I’d like to be able to check and see if there’s a second gamepad plugged in and if so, deactivate Skip Player 1, or if that’s a bad idea, reassign the gamepads.
I’ve looked through a lot of solutions online, but I am really not even sure what I’m supposed to be looking FOR. I’ve gathered that perhaps I’m supposed to use FCoreDelegates::OnControllerConnectionChange, but for what? I do not know for sure.
Any advice would be appreciated.