[Scummvm-tracker] [ScummVM :: Bugs] #13138: On-screen keyboard doesn't work on Android Runtime for Chrome OS
ScummVM :: Bugs
trac at scummvm.org
Mon Dec 6 05:35:08 UTC 2021
#13138: On-screen keyboard doesn't work on Android Runtime for Chrome OS
----------------------------------------------+----------------------------
Reporter: mherberg | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Port: Android
Version: | Resolution:
Keywords: scummvm android chromeos keyboard | Game:
----------------------------------------------+----------------------------
Comment (by mduggan):
Not showing the soft keyboard when a hardware keyboard is available is by
design. The code checks if one is available:
https://github.com/scummvm/scummvm/blob/master/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java#L503
However, I see that `isHWKeyboardConnected()` is not quite right for
tablet mode (when you flip the keyboard around to use a Chromebook as a
tablet device). It's only checking for a keyboard existing, not if it is
hidden. When a Chromebook is in tablet mode it should return
`hardKeyboardHidden == HARDKEYBOARDHIDDEN_YES`.
Ideally the soft keyboard button should also be hidden while the hardware
keyboard is usable. I'll try to make a PR to fix both of those
--
Ticket URL: <https://bugs.scummvm.org/ticket/13138#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list