Add support for physical keyboard
Hello everyone!
When I connect physical keyboard I can not switch layout(nothing just happens). In "samsung keyboard" it possible with Alt-Shift.
I use gestures for switch keybaord in touch mode. (Maybe it usefull information)
Environment information
- Floris Board v0.3.16
- Install Source: F-Droid
- Device: Samsung Galasy A80
- Android: 11
- oneUI 3.1
This is less a bug and more the fact that FlorisBoard ignores the physical keyboard, as my primary focus is building and improving the soft keyboard experience. I will convert this issue into a feature proposal for physical keyboard support thus.
As for the physical keyboard, do you know any other physical keyboard shortcuts that should have an effect in a soft keyboard (maybe by taking your Samsung Keyboard as a reference)?
Samsung keyboard have 3 shortcuts:
- Left Alt + Shift
- Control + Space
- Shift + Space
But on PC I use CapsLock for this, and Control + CapsLock for Caps Lock :)
I'm will be glad if FlorisBoard too have this shortcats(CapsLock).
What exactly does CTRL+SPACE and SHIFT+SPACE do in the Samsung keyboard?
Switch layout.
And may off/onn some shortcut:

Ahh stop, maybe it system settings, no samsung keyboard, and samsung keyboard just support they -_-
By the way, Ctrl + A, Ctrl + C, select via Shift + arrows and another shortcuts is work, not work only switch layout.
@patrickgold ?
@patrickgold ,
I believe every keyboard has to implement its own shortcut for switching input layouts. For example, Google's GBoard allows switching by Ctrl + Space, and completely ignores the dedicated setting on Samsung tablets. Samsung's OneUI provides tight integration with its own soft keyboard. Also on Samsung keyboard folios there's a dedicated language switch key and I'm sure Samsung's soft keyboard listens to its scancode and reacts appropriately. While integration with Samsung OneUI definitely would be nice (as it's probably the most popular tablet vendor on Android), I don't think this should be a priority.
IMHO, the first priority for florisboard in the scope of physical keyboard support — is listening to some scan/key code combination (ctrl+space, following GBoard's choice, for example) and cycling through configured input layouts.