answered
2014-11-29 23:45:35 +0200
I have a temporary solution to this problem for french keyboards.
The keymap file used by default is /usr/share/qt5/keymaps/boston.qmap. This is the only qmap file in the directory. I found that the qmap format for keyboard layout is specific to Qt for embedded devices like phones. It can be created from kmap files with a tool in the Qt development framework named kmap2qmap.
So I used a kmap file from my Linux distribution (fr-latin9.kmap) and converted it to a qmap keyboard layout with the kmap2qmap utility provided with the Qt development kit. Unfortunately, the layout came out bad with dead keys not working and the euro character missing. After investigation I found that kmap2qmap was broken and the euro key code missing from Qt. I had to fix the tokenizer in the kmap2qmap tool and replace the euro symbol with the euro unicode in the keymap.
To apply this keyboard layout in your Jolla, download fr-latin9.qmap and use it to overwrite /usr/share/qt5/keymaps/boston.qmap. You may have to activate the developer mode to do this. Now reboot the phone and your french BT keyboard works !
Here is the implemented layout:
# ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ _______
# | Œ «| 1 ·| 2 É| 3 ž| 4 Ž| 5 š| 6 Š| 7 È| 8 ¯| 9 Ç| 0 À| ° ÿ| + Ÿ| <-- |
# | œ »| & '| é ~| " #| ' {| ( [| - || è `| _ \| ç ^| à @| ) ]| = }| |
# ========================================================================
# | |<- | A ä| Z Å| E ¢| R Ç| T Þ| Y Ý| U ü| I ï| O ö| P `| " '| £ ë| , |
# | ->| | a â| z å| e €| r ç| t þ| y ý| u û| i î| o ô| p ¶| ^ ~| $ ê| <-' |
# ===================================================================¬ |
# | | Q Ä| S Ø| D Ë| F ª| G Æ| H Ð| J Ü| K Ï| L Ö| M º| % Ù| µ ¥| |
# | MAJ | q Â| s ø| d Ê| f ±| g æ| h ð| j Û| k Î| l Ô| m ¹| ù ²| * ³| |
# ========================================================================
# | ^ | > Š| W <| X >| C ©| V | B | N | ? º| . ×| / | § | ^ |
# | | | < || w «| x »| c ©| v ®| b ß| n ¬| , ¿| ; ×| : ÷| ! ¡| | |
# ========================================================================
# | | | | | | | | |
# | Ctrl | Con+ | Alt | Space Nobreakspace | AltGr | Con- | Con | Ctrl |
# ¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯
EDIT: new links:
I’ve seen that Bluetooth keyboard layout changing is supported from the settings now, maybe you should give it a try!
I would like to know this as well. I have a foldable perixx keyboard with French layout, and it connects just fine. But I seem to not be able to tell the jolla that this is a French layout...
wcr ( 2014-08-03 22:02:56 +0200 )editsee also https://together.jolla.com/question/51273/bluetooth-keyboard-and-national-alt-characters/
ortylp ( 2014-08-31 12:21:08 +0200 )edit