FCoreDelegates::OnControllerConnectionChange
- Device : Xbox Controller <-> Android
- Connection Type : Bluetooth
I want to receive Connect / Disconnect Controller event.
Wired Connect / Disconnect event work well.
And Wireless Connect event work well too.
But Wireless Disconnect event not working.
How can I receive Wireless controller disconnect event?
And I also use
auto genericApplication = FSlateApplication::Get().GetPlatformApplication();
if (genericApplication.Get() != nullptr && genericApplication->IsGamepadAttached())
{
return true;
}
return false;
But this logic has same problem.