Hello, I’ve implemented cusom CommonAnalogCursor following this post in Community Tutorial: Common UI Plugin - Keyboard Navigation and while navigating UI with keyboard now correctly triggers changes in style, when I push an activable widget with a default focus target, that target won’t receive confirm action (e.g. space or enter).
E.g. I have a vertical menu with some buttons, I first have to press down and up to focus the first menu button and only then it will receive the confirm input.
At first, I’ve thought that it’s because the button isn’t targetted by the analog cursor, so I tried something in lines of
void FMyCommonAnalogCursor::SnapCursorToWidget(UWidget* Widget)
{
if (IsValid(Widget))
{
SetNormalizedCursorPosition(Widget->GetRenderTransformPivot());
bKeyboardNavigationOn = true;
HandleInputMethodChanged(ECommonInputType::Gamepad);
}
}
which correctly highlights the widget I give it (in my case first menu button), but it still won’t receive the confirm input and I still have to navigate down and up to focus it properly. Just to add, I’m calling this from my activable widget NativeOnActivated
I would be super thankfull for any advice