sailfishos-flatpak / main

Documentation and issues
MIT License
24 stars 4 forks source link

Hardware keyboard layout only US english #13

Open dexic79 opened 4 years ago

dexic79 commented 4 years ago

Hello!

I am an admirer of your work! :-) I just want to let you know, that - like with AlienDalvik - there is only an english hardware keyboard layout passed to Flatpak. In SFOS the keyboard works like a charm, in Aliendalvik and Flatpack it doesn't.

Cheers, dexic

rinigus commented 4 years ago

To fix it, we need to know how the keyboard is hooked. I expected that hardware keyboard goes via Maliit and will automatically have Sailfish settings applied.

If it is not the case then the info on how keyboard is hooked and used in Sailfish is needed. Then we need to know how it's expected to be in Wayland, so we could make similar configuration there. It all requires someone going through manuals and config files. As I don't have HW keyboard on device and have many projects already, I am leaving this issue to someone interested in it. Please update here what you find and add notes on how to fix it.

dexic79 commented 4 years ago

Hi rinigus! :-) In the AlienDalvik-Settings, I have found the physical keyboard. Its name is "alien_wayland_keyboard". Leszek (llelectronics) suggests, that it is in the system.img. I will try to find it and its config files.

dexic79 commented 4 years ago

Do you know, hot to unpack /opt/alien/system.img? I have tried unyaffs, unpackbootimg and simg2img doesn't help either.

rinigus commented 4 years ago

Nk, I don't know how to unpack it. Maybe loop device mount will help?

dexic79 commented 4 years ago

At last, I succeeded with sudo unsquashfs system.img. Still haven't found anything, where this behavior comes from, except that there is only one generic keymap and none in X11 xkb. together.jolla.com - Trying to get physical keyboards to work with AlienDalvik and Flatpack There you can find the information so far. I think that this is within SFOS, not within AlienDalvik, although AD gave me the hint to search for the component alien_wayland_keyboard. Would you know, how to find the developers of the SFOS keyboard interface and ask for information?

dexic79 commented 4 years ago

Here's my answer, where to search for: https://jolla.zendesk.com/hc/en-us/articles/201440697-What-Bluetooth-profiles-does-SailfishOS-support- HID 1.0 (Human Interface Device Profile): Allows use of HIDs with Jolla, for example keyboards and mice. SailfishOS supports the American keypad layout only.

As this is based on bluez within mer and this is OSS, one should be able to fix it. :-)