googlevr / gvr-unity-sdk

Google VR SDK for Unity
http://developers.google.com/vr/unity/
Other
2.71k stars 1.09k forks source link

Feature request to choose which locale or mode GVRKeyboard shows as #953

Open Moncader opened 6 years ago

Moncader commented 6 years ago

In Japan, most devices have their default language set to Japanese, and therefore the default keyboard the pops up is of course the Japanese locale.

In most circumstances this is the desired behaviour. However in the case where for example, you want the user to input a password or request users to input only ASCII characters (a common thing in Japan), you can't with the current API.

I'd like to request the ability to select which locale to show the keyboard with on demand. Or if that is difficult, act like Android's TextView and support a inputMode with more options other than Numeric like there is currently. (Password and such) to start the keyboard off in ASCII mode.

If it's decided to implement this, before it is actually implemented, is there some native or otherwise hidden API we can call to force a given locale on keyboard showing?

rusmaxham commented 6 years ago

Thanks for the feature request. We will look into it.