Unexpected-Keyboard
Unexpected-Keyboard copied to clipboard
Support foldables
It helps a lot that landscape mode can be adjusted separately, but original landscape and unfolded are two very different screen sizes and aspect ratios. If I set it up for unfolded to be usable (eg. 30%), then landscape becomes almost unusable.
Basically having two different values for global keyboard settings (similar to one-handed mode; landscape, landscape-oh + portrait, portrait-oh) that could be switched as a key on keyboard would do the job i think (if fold detection isn't easy currently).
Could be also related to floating mode - but for users who don't use it, a separate key would help (to only switch the config, e.g. portait on unfolded phone with case or make it easy for one-handed use).
+1 for this. Gboard offers a split keyboard layout on the larger screen, which is very useful for two-handed use.
I thought this could be solved by supporting variable spacing between keys (not sure if Unexpected Keyboard has this), but note the G and V keys are repeated on both sides of the split. Can a custom layout have variants by screen size? Or can a key be auto-hidden on smaller screens?
You can change spacing between keys. You can't make a custom layout conditional. At this point, the best solution is a separate custom layout for use when unfolded—but Unexpected won't switch to it automatically.