07/02/2011, 09:41 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Jul 2010
Location: North East
Posts: 125
Likes Received: 0
Thanks: 27
Thanked 23 Times in 14 Posts
|
Been playing around with the emulator image, and I found the location for the keyboard layouts. They are all xml files, located here:
/usr/palm/XT9/dbs/KDBs/ I've been playing around with the XML files to try to create a Dvorak keyboard, but it doesn't appear to change anything at all. Yet, I think these files are what is needed for changing this. Any thoughts? |
07/05/2011, 11:32 AM
|
#2 (permalink) |
|
Member
![]() Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 166 Times in 66 Posts
|
I don't think this is the right file to start with.
I still don't understand exactly this whole "Keyboard type" thing in webOS 3.0, because all keyboard layouts looks exactly the same and the only thing you can do is to choose the table order from the 3 in the list (qwerty, qwerz and azerty). But I did found these files and I think that they are the key to this mystery: /usr/share/qt4/keymaps/*.qmap These are Qt's binary keyboard maps. If there is any way to convert them back to text, I think it would do the job. |
07/05/2011, 12:56 PM
|
#4 (permalink) |
|
Member
![]() Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 166 Times in 66 Posts
|
hmm... That might be the case, but I'm not sure.
I just checked the emulator system and found that the system uses a temporary file named kdb.xml (located in the /tmp directory) for the virtual keyboard. This file is automatically generated every startup by the 2 binary files "LunaSysManager" and "SmartKeyService" (both are in the /usr/bin directory) which means that there is no chance to force the system to load edited file (because the system generates this file due the startup process and load it into the RAM. Any change you'll make after this won't affect the system and will be lost at the next startup). Therefore, I think It's still impossible to create custom keyboard layouts on webOS 3.0 (unless you'll patch these 2 files and dump the qmap files. Another way is to create your own keyboard framework for webOS). You still can convert key pressing with a Java script as the patches for the physical keyboard in webOS 2.1.0 do, but the keyboard look will remain the same. |
07/06/2011, 07:08 AM
|
#5 (permalink) |
|
Member
![]() Join Date: Jul 2010
Location: North East
Posts: 125
Likes Received: 0
Thanks: 27
Thanked 23 Times in 14 Posts
|
hmm. in the beta, the xml files for the 3 layouts were not there, but the qmaps were there. perhaps the xml's will be used in an update. (hopeful, and still brainstorming.)
haven't heard anything new in the dev forums about this... edit: fwiw, that keyboard xml looks exactly like the 3 xmls in the other location Last edited by antijingoist; 07/06/2011 at 07:10 AM. Reason: more info |
07/07/2011, 06:18 AM
|
#9 (permalink) | |
|
Member
![]() Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 166 Times in 66 Posts
|
Quote:
Last edited by isagar2004; 07/07/2011 at 06:52 AM. |
|
07/07/2011, 06:57 AM
|
#11 (permalink) |
|
Member
![]() Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 166 Times in 66 Posts
|
Won't work.
The code links to the qmap configuration. I really don't know what's the point of the xml files (there is a reference in the code to these files but it doesn't really do anything). Yup, it was
|
07/07/2011, 07:02 AM
|
#12 (permalink) |
|
Member
![]() Join Date: Jul 2010
Location: North East
Posts: 125
Likes Received: 0
Thanks: 27
Thanked 23 Times in 14 Posts
|
So, I gotta figure out the qmap.... and that's a bit of a dead end for now......
I hope the xmls are there as a work in progress, that will maybe be how its done in the future. |
08/30/2011, 09:39 PM
|
#13 (permalink) |
|
Member
![]() Join Date: Oct 2008
Posts: 478
Likes Received: 126
Thanks: 45
Thanked 288 Times in 111 Posts
|
Sorry to bump this.
But, I am working on this also. What is happening is basically, the LunaManager is reading the QMap files and generates the temp XML file. (As far as I understand) I found tools that can convert KMap to QMap given by Qt SDK. KMap is the standard Linux keyboard layout that is text based. But, I didn't find anything that could the otherway around. I think one has to use Qt libraries and design a program to read the QMap and modify it. Still looking into it though. will update this once I have reached something! |
09/02/2011, 09:10 PM
|
#17 (permalink) |
|
Member
![]() Join Date: Sep 2011
Posts: 6
Likes Received: 0
Thanks: 2
Thanked 1 Time in 1 Post
|
Wow, I found those instructions for how to change the keyboard layout quite overwhelming. If anyone manages to get the Dvorak layout working for either the on-screen keyboard or especially the Bluetooth keyboard and would be so kind as to make such a solution publicly available, I would be very interested in the fruits of that hard work.
|
09/02/2011, 09:15 PM
|
#18 (permalink) | |
|
Member
![]() Join Date: Jul 2010
Location: North East
Posts: 125
Likes Received: 0
Thanks: 27
Thanked 23 Times in 14 Posts
|
Quote:
I barely have time to even play on the precentral forums, so I wouldn't do it unless I got paid, and I use Dvorak (I just got too much to do, literally). I can't imagine many others would. |
|
09/05/2011, 07:29 AM
|
#20 (permalink) |
|
Member
![]() Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 166 Times in 66 Posts
|
Dvorak layout for the virtual keyboard shouldn't be a problem. I'll try to do it this evening, when I'll have time. The Bluetooth keyboard requires different kind of patching for LunaSysMgr and it requires qmap patching as well, so I don't see myself working on it in the near future.
I've already managed to patch LunaSysMgr to fully support non-Latin languages in the virtual keyboard, so if you're interested on creating keyboard layouts for other languages, you can do it now with full support. I'll release a patch script soon. http://forums.precentral.net/hp-touc...-touchpad.html Last edited by isagar2004; 09/05/2011 at 07:37 AM. |
![]() |
|
| Tags |
| dvorak, keyboard, touchpad |
| Thread Tools | |
| Display Modes | |
|
|



