- ExtZGholson
- Posts: 22
- Joined:
Open virtual keyboard on Switch when tapping a textbox
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
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
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: Open virtual keyboard on Switch when tapping a textbox
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?
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
- Posts: 22
- Joined:
Re: Open virtual keyboard on Switch when tapping a textbox
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.
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: Open virtual keyboard on Switch when tapping a textbox
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?
Could you please create a ticket in our bugtracker?
- ExtZGholson
- Posts: 22
- Joined:
Re: Open virtual keyboard on Switch when tapping a textbox
Thank you, we have created a ticket with our situation. ID - 0002159
Who is online
Users browsing this forum: No registered users and 3 guests