ExtZGholson
Topic Author
Posts: 17
Joined: 12 Mar 2021, 01:24

Open virtual keyboard on Switch when tapping a textbox

20 Oct 2021, 23:54

Hello,

We are looking at opening the software keyboard when the player taps on the textbox on the Nintendo Switch. As of right now, it just sets focus to the textbox. We were thinking about faking an Accept button pressed on the element but maybe we have a better idea before we do that?

Thank you,
Zane

Tags:
 
User avatar
sfernandez
Site Admin
Posts: 2422
Joined: 22 Dec 2011, 19:20

Re: Open virtual keyboard on Switch when tapping a textbox

21 Oct 2021, 11:30

Hello, are you using our application framework displays or do you have your own integration?

In the latest case, the IntegrationAPI header provides a callback that gets called when software keyboard should be shown/hidden. You should register your callback and implement the logic to show/hide the software keyboard. You can use our NXDisplay::OpenSoftwareKeyboard() method as reference.

Once that is in place, the callback will be called when the user taps on an unfocused TextBox.

Perhaps what you are trying to do is to show the keyboard when tapping a TextBox that already has the focus but it is not engaged (got the focus from the pad). Could that be the case? In that situation Noesis is not calling the software keyboard callback, maybe that is not correct, could you please report it in our bugtracker?
 
ExtZGholson
Topic Author
Posts: 17
Joined: 12 Mar 2021, 01:24

Re: Open virtual keyboard on Switch when tapping a textbox

21 Oct 2021, 17:25

Which version was this implemented in? As of 3.1.1-10745 we are not seeing the textbox opening the software keyboard. However, we are able to open it if we press the 'A' (Accept) button.
 
User avatar
sfernandez
Site Admin
Posts: 2422
Joined: 22 Dec 2011, 19:20

Re: Open virtual keyboard on Switch when tapping a textbox

22 Oct 2021, 12:00

It should work as I explained since 3.0, so if it is failing for you with the latest version we need to review it.
Could you please create a ticket in our bugtracker?
 
ExtZGholson
Topic Author
Posts: 17
Joined: 12 Mar 2021, 01:24

Re: Open virtual keyboard on Switch when tapping a textbox

25 Oct 2021, 23:56

Thank you, we have created a ticket with our situation. ID - 0002159

Who is online

Users browsing this forum: No registered users and 1 guest