Hey Zhi Kang,
Thanks for all the details, the InputProcessor system to detect mouse/gamepad inputs works like a charm.
Though I’m still having issues hidding the software cursor in our menus.
I have some code that looks like this:
SetShowMouseCursor(NewMode == EInputMode::MouseAndKeyboard); if (!ShouldShowMouseCursor()) { FSlateApplication::Get().SetAllUserFocusToGameViewport(EFocusCause::Cleared); FSlateApplication::Get().OnCursorSet(); }
I previously set FInputModeUIOnly.
Yet when ShouldShowMouseCursor() is false, we still have our software cursor visible.
Something I’m missing with the input mode ?
Cheers,