Force virtual keyboard to open
I have an editable text box in my UMG and I want to force the opening of the virtual keyboard when the game is on PS4 or X1 and the user focuses the text.
At this moment, when it happens, the textbox is enabled, but I have to press X (on PS4) to open the keyboard and write. On PC, I can write from the moment when it is enabled.
There is a way to do that?
Thank you for your reply,
asked Oct 02 '17 at 10:10 AM in Blueprint Scripting
This question is old, but perhaps the solution I found helps somebody else.
VirtualKeyboardTrigger in SEditableText is never set, so it defaults to OnFocusByPointer. In FSlateEditableTextLayout::HandleFocusReceived VirtualKeyboardTrigger is checked together with the input method. I did the lazy solution and just added .VirtualKeyboardTrigger( EVirtualKeyboardTrigger::OnAllFocusEvents) in UEditableText::RebuildWidget(). Now the virtualkeyboards opens when the textbos receives focus. The better solution would be to expose VirtualKeyboardTrigger to blueprint (like VirtualKeyboardType).
answered May 22 '18 at 01:20 PM
Claus R. Blue
Follow this question
Once you sign in you will be able to subscribe for any updates here