Opened 5 weeks ago

Last modified 5 weeks ago

#15311 new defect

In-App keyboard not available when using bluetooth mouse

Reported by: OliKosch Owned by:
Priority: normal Component: Port: Android
Version: Keywords: usability, external hardware
Cc: Game:

Description

When using the app (tested with v2.8.0 and latest daily build) with a bluetooth mouse one can't enable the in-app
keyboard (e.g. to enter a savegame name). Tapping and holding the input selector does nothing. As soon as the bluetooth connection is disabled, the keyboard becomes selectable again.

Change History (2)

comment:1 by OliKosch, 5 weeks ago

Version: gsoc

comment:2 by antoniou79, 5 weeks ago

I see this too on my device (Android 12, microsoft bluetooth mouse (BLE 5)).

The issue here is that Android wrongly detects the bluetooth mouse as a Hardware Keyboard Input device. I don't know why this is (maybe it's a known bug for Android?).

Googling the issue online I get these results that seem to mention the same thing:
https://r1.community.samsung.com/t5/tablets/on-screen-keyboard-and-bluetooth-mouse/td-p/14665410

https://www.reddit.com/r/SamsungDex/comments/lutt3g/dexandroid_mouse_detected_as_keyboard_input/

https://www.quora.com/How-come-you-cant-use-your-on-screen-keyboard-and-mouse-at-the-same-time-on-Android-Is-there-a-way-to-get-the-on-screen-keyboard-to-pop-up-while-using-a-mouse-on-Android-11

So, then the ScummVM app, thinks that there's a hardware keyboard connected and it won't show the keyboard overlay. The issue of course is not restricted to the ScummVM app.

As of yet, I cannot think of a workaround for this.

The workaround mentioned in the linked google results will not work for ScummVM --it's only for the system's on-screen keyboard which the ScummVM does not use. But, furthermore, you wouldn't want the on-screen keyboard to appear if you actually had a physical keyboard connected as well.

I wonder if this has been submitted to Google as a proper bug ticket for Android.

Last edited 5 weeks ago by antoniou79 (previous) (diff)
Note: See TracTickets for help on using tickets.