InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

[iOS][Android][Keyboard] Keyboard.current.keyboardLayout is always empty

Open renaldasrep opened this issue 8 years ago • 4 comments

Found using d9b7c25

Device: Google Pixel 2

Expected result: On windows standalone it returns a number which represents a layout and the number changes when keyboard layout is changed

renaldasrep avatar Oct 03 '18 13:10 renaldasrep

I guess we could use https://stuff.mit.edu/afs/sipb/project/android/docs/reference/android/view/InputDevice.html#getKeyboardType(), but that will not say what language layout this is

todi1856 avatar Nov 22 '18 14:11 todi1856

What about https://stackoverflow.com/questions/16484007/how-to-get-current-keyboard-language?

Rene-Damm avatar Dec 03 '18 23:12 Rene-Damm

still an issue

renaldasrep avatar Feb 22 '19 13:02 renaldasrep

Closing. Tracked here: https://issuetracker.unity3d.com/issues/ios-android-keyboard-keyboard-dot-current-dot-keyboardlayout-is-always-empty

JiaUnity avatar Apr 09 '19 22:04 JiaUnity