OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> On-screen Keyboard Layout Files, How to write new ones?
ztep
post Nov 2 2005, 03:57 AM
Post #1





Group: Members
Posts: 80
Joined: 30-March 05
Member No.: 6,751



Hi,

I want to write my own on-screen keyboard layout, but I don't understand completely the format of the files under /home/zaurus/Applications/cyrillica. Is there a document explaining its format?

There is a section [screen] that has the characters show in each row of the keyboard without and with the shift key pressed. That's ok.

I don't understand the next to sections: [keyboard] and [keyboard-fn]. Can someone explain its use?

Other questions: Can I use 'Ctrl' and 'Alt' modifiers to generate especial characters (I was thinking on usign Alt-a to á, etc)? how?

Thanks for all
Go to the top of the page
 
+Quote Post
kurochka
post Nov 10 2005, 07:48 AM
Post #2





Group: Members
Posts: 303
Joined: 6-February 04
Member No.: 1,740



QUOTE(ztep @ Nov 2 2005, 03:57 AM)
Hi,

I want to write my own on-screen keyboard layout, but I don't understand completely the format of the files under /home/zaurus/Applications/cyrillica. Is there a document explaining its format?

There is a section [screen] that has the characters show in each row of the keyboard without and with the shift key pressed. That's ok.

I don't understand the next to sections: [keyboard] and [keyboard-fn]. Can someone explain its use?

Other questions: Can I use 'Ctrl' and 'Alt' modifiers to generate especial characters (I was thinking on usign Alt-a to á, etc)? how?

Thanks for all
*


Here is some info:
http://www.oesf.org/forums/index.php?showtopic=11063

Please report your progress. Also you can send your files when you finish them to Anton Maslovsky. He may include your new layout into the Cacko.
Go to the top of the page
 
+Quote Post
kurochka
post Nov 11 2005, 08:36 AM
Post #3





Group: Members
Posts: 303
Joined: 6-February 04
Member No.: 1,740



Making a new layout based on an existing one was pretty painless.
Here are the files for a Ukrainian layout (flag and the layout itself).

File ukrainian.txt should be renamed ukrainian (txt was added in order to attach this to the post) and then it should be placed in
/home/zaurus/Applications/cyrillica

The flag should be renamed "ukrainian.png" and placed somewhere and symlinked to /home/QtPalmtop/pics/cyrillica and /home/QtPalmtop/pics144/cyrillica

Cheers.
Attached File  ukrainian.png ( 158bytes ) Number of downloads: 4

[attachment=1195:attachment]

CODE
[label]
UA

#This is a Ukrainian layout for Cyrillica
#Version 0.1 based on russian-jcuken
#At the moment there are still bugs for
#a keyboard layout connected to a USB port
#but these bugs are present in other layouts too

[screen]

#this is based on the order of keys on the keyboard
#small    big
0x491    0x490    ґ
'1'    '!'
'2'    '"'
'3'    0x27
'4'    ';'
'5'    '%'
'6'    ':'
'7'    '?'
'8'    '*'
'9'    '('
'0'    ')'
'-'    '_'
'='    '+'

0x439    0x419    й
0x446    0x426    ц
0x443    0x423    у
0x43a    0x41a    к
0x435    0x415    е
0x43d    0x41d    н
0x433    0x413    г
0x448    0x428    ш
0x449    0x429    щ
0x437    0x417    з
0x445    0x425    х
0x457    0x407    ї
'\'    '/'

0x444    0x424    ф
0x456    0x406    і
0x432    0x412    в
0x430    0x410    а
0x43f    0x41f    п
0x440    0x420    р
0x43e    0x41e    о
0x43b    0x41b    л
0x434    0x414    д
0x436    0x416    ж
0x454    0x404    є

0x44f    0x42f    я
0x447    0x427    ч
0x441    0x421    с
0x43c    0x41c    м
0x438    0x418    и
0x442    0x422    т
0x44c    0x42c    ь
0x431    0x411    б
0x44e    0x42e    ю
'.'    ','
0    0

[keyboard]

'1'    '!'    '1'
'2'    '"'    '2'
'3'    0x27    '3'
'4'    ';'    '4'
'5'    ':'    '5'
'6'    ','    '6'
'7'    '.'    '7'
'8'    '('    '8'
'9'    ')'    '9'
'0'    '?'    '0'

'Q'    0x419    0x439
'W'    0x426    0x446
'E'    0x423    0x443
'R'    0x41a    0x43a
'T'    0x415    0x435
'Y'    0x41d    0x43d
'U'    0x413    0x433
'I'    0x428    0x448
'O'    0x429    0x449
'P'    0x417    0x437

'A'    0x424    0x444
'S'    0x406    0x456
'D'    0x412    0x432
'F'    0x410    0x430
'G'    0x41f    0x43f
'H'    0x420    0x440
'J'    0x41e    0x43e
'K'    0x41b    0x43b
'L'    0x414    0x434

'Z'    0x42f    0x44f
'X'    0x427    0x447
'C'    0x421    0x441
'V'    0x41c    0x43c
'B'    0x418    0x438
'N'    0x422    0x442
'M'    0x42c    0x44c

#0x1049    0x425    0x445
#0x1044    0x407    0x0457
'-'    0x404    0x454
','    0x411    0x431
'.'    0x42e    0x44e
'/'    0x411    0x411
'?'    0x42e    0x42e

0    0    0

[keyboard-fn]

#'@'    0x404    0x454
'<'    0x416    0x436
#'>'    0x401    0x451

'>'    0x425    0x445

0x2014    0x419    0x439    q
#0x005e    0x426    0x446    w
#0x003d    0x401    0x451    e
#0x002b    0x41a    0x43a    r
#0x005b    0x415    0x435    t
#0x005d    0x41d    0x43d    y
0x00a2    0x490    0x491    u
0x00a3    0x428    0x448    i
0x2015    0x429    0x449    o
0x2016    0x417    0x437    p
    
0x2017    0x424    0x444    a
0x2018    0x406    0x456    s
0x00a5    0x412    0x432    d
#0x005c    0x410    0x430    f
#0x003b    0x41f    0x43f    g
#0x003a    0x420    0x440    h
#0x002a    0x41e    0x43e    j
#0x2022    0x41b    0x43b    k
#0x007c    0x414    0x434    l
    
#0x005a    0    0    z
#0x0058    0    0    x
#0x0043    0    0    c
#0x0056    0    0    v
0x005f    0x418    0x438    b
0x2019    0x422    0x442    n
#0x201a    0x42c    0x44c    m

0x201a    0x407    0x457
#0x1049    0x42c    0x44c
#0x1044    0x407    0x457

0    0    0
Go to the top of the page
 
+Quote Post
ztep
post Nov 11 2005, 01:34 PM
Post #4





Group: Members
Posts: 80
Joined: 30-March 05
Member No.: 6,751



QUOTE(kurochka @ Nov 10 2005, 05:48 PM)
Here is some info:
http://www.oesf.org/forums/index.php?showtopic=11063

Please report your progress.  Also you can send your files when you finish them to Anton Maslovsky.  He may include your new layout into the Cacko.
*


Thanks for the link.
I have been searching in the forums, but I didn't found that thread.

Now I understand all the section and I have created a layout with the correct Fn+key combinations for the spanish characters.

But I want to do the same for the on-screen keyboard. How can control the alt+key and ctrl+key combinations?

Thanks.
Go to the top of the page
 
+Quote Post
kurochka
post Nov 11 2005, 02:09 PM
Post #5





Group: Members
Posts: 303
Joined: 6-February 04
Member No.: 1,740



QUOTE(ztep @ Nov 11 2005, 01:34 PM)
QUOTE(kurochka @ Nov 10 2005, 05:48 PM)
Here is some info:
http://www.oesf.org/forums/index.php?showtopic=11063

Please report your progress.  Also you can send your files when you finish them to Anton Maslovsky.  He may include your new layout into the Cacko.
*


Thanks for the link.
I have been searching in the forums, but I didn't found that thread.

Now I understand all the section and I have created a layout with the correct Fn+key combinations for the spanish characters.

But I want to do the same for the on-screen keyboard. How can control the alt+key and ctrl+key combinations?

Thanks.
*




I didn't have that need and have no idea how to assign Ctr and Alt combinations to onscreen keys. Would be interesting to know though.
Go to the top of the page
 
+Quote Post
maslovsky
post Nov 15 2005, 01:50 PM
Post #6





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



You can only assign Fn + <character> combinations and only for hardware keyboard.

And don't forget to post your layout here when it's ready:)
Go to the top of the page
 
+Quote Post
kurochka
post Nov 7 2006, 06:29 PM
Post #7





Group: Members
Posts: 303
Joined: 6-February 04
Member No.: 1,740



QUOTE(maslovsky @ Nov 15 2005, 01:50 PM)
You can only assign Fn + <character> combinations and only for hardware keyboard.

And don't forget to post your layout here when it's ready:)
*


Maslovsky, have you seen Greek layout for cyrillica posted here?

http://www.oesf.org/forums/index.php?showtopic=18385
Go to the top of the page
 
+Quote Post
ztep
post Jan 4 2007, 03:12 AM
Post #8





Group: Members
Posts: 80
Joined: 30-March 05
Member No.: 6,751



QUOTE(maslovsky @ Nov 15 2005, 11:50 PM)
And don't forget to post your layout here when it's ready:)


Sorry for the big delay. Here it is my layout for spanish keyboard, the Fn + key conbinations included for spanish special characters are:

Fn + a =
Fn + e =
Fn + i =
Fn + o =
Fn + u =
Fn + n =

Fn + A =
Fn + E =
Fn + I =
Fn + O =
Fn + U =
Fn + N =

Fn + 0 = '=' (added because Fn + e/E = '=' by default)

Best regards,
ztep
Attached File(s)
Attached File  spanish_keymap_1.0.0_1_arm.ipk ( 1.55K ) Number of downloads: 43
 
Go to the top of the page
 
+Quote Post
Frederic Bergero...
post Feb 7 2007, 06:44 PM
Post #9





Group: Members
Posts: 149
Joined: 25-February 06
From: Nagoya, Japan
Member No.: 9,232



As I don't want to screw up my zaurus, I better ask first.

I'm using SL-C1000 Zaurus with the default Sharp ROM. Will the package work with such a setting? And what am I to expect? I mean how will it look like? Will I have an icon in the task bar allowing me to change the keyboard settings from English, Spanish and Japanese ou will the key mappings be set for all the languages so I can input Spanish accents anytime? Will I still be able to input japanese?
Go to the top of the page
 
+Quote Post
ztep
post Feb 11 2007, 03:18 AM
Post #10





Group: Members
Posts: 80
Joined: 30-March 05
Member No.: 6,751



QUOTE(Frederic Bergeron @ Feb 8 2007, 04:44 AM)
As I don't want to screw up my zaurus, I better ask first.

I'm using SL-C1000 Zaurus with the default Sharp ROM.  Will the package work with such a setting?  And what am I to expect?  I mean how will it look like?  Will I have an icon in the task bar allowing me to change the keyboard settings from English, Spanish and Japanese ou will the key mappings be set for all the languages so I can input Spanish accents anytime?  Will I still be able to input japanese?

As far as I know, it ony works on cacko ROM. There is a settings app that allows you to chosse between the keyboards profiles. If you select 2 or more, the selected country flag is shown on the taskbar.
You can click on the flag to switch between the selected keyboard layouts.
You can only use a keyboard layout each time, so you must switch to the spanish layout to use accents or the spanish on-screen keyboard.
Go to the top of the page
 
+Quote Post
Frederic Bergero...
post Feb 11 2007, 05:11 PM
Post #11





Group: Members
Posts: 149
Joined: 25-February 06
From: Nagoya, Japan
Member No.: 9,232



Thanks a lot ztep for the info.
Go to the top of the page
 
+Quote Post
Jon_J
post Feb 11 2007, 09:35 PM
Post #12





Group: Members
Posts: 1,843
Joined: 31-December 05
From: Illinois USA
Member No.: 8,821



Yeah, I always wondered how to get my country's flag on the taskbar.
I've had this C3100 for over a year, and I'm still learning new things. I didn't know this until now. :-)
Go to the top of the page
 
+Quote Post
Meanie
post Feb 11 2007, 10:00 PM
Post #13





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Jon_J @ Feb 12 2007, 03:35 PM)
Yeah, I always wondered how to get my country's flag on the taskbar.
I've had this C3100 for over a year, and I'm still learning new things. I didn't know this until now. :-)
*


I got the Aussie flag on mine! no US or UK flag but a true blue aussie flag :0
its true that that keyboard app was originally developed for Cacko, but it can be installed on Sharp ROM also. see my distro page...
Go to the top of the page
 
+Quote Post
Frederic Bergero...
post Jul 15 2007, 01:48 AM
Post #14





Group: Members
Posts: 149
Joined: 25-February 06
From: Nagoya, Japan
Member No.: 9,232



I gave a try to the keyboard applet but it didn't work very well. For some reasons, I ended up with a Spanish keyboard mapping after uninstalling the application. I would like to revert to my original keyboard mapping. I'm using Sharp's original ROM on SL-C1000. Most of the discussions about keymap relate to Cacko or other ROMs. Anyone would know which file contains the keymap definitions? Even better, does anyone have the original version of the file so I can restore it.
Go to the top of the page
 
+Quote Post
Frederic Bergero...
post Jul 23 2007, 02:19 AM
Post #15





Group: Members
Posts: 149
Joined: 25-February 06
From: Nagoya, Japan
Member No.: 9,232



Could anyone using SL-C1000 with Sharp's ROM send me a copy of these 3 files :

/home/QtPalmtop/etc/holdkey.tbl
/home/QtPalmtop/etc/keysymbolstbl
/home/QtPalmtop/etc/keycode.tbl

I think I have altered them somehow and I would like to restore them to their initial state.

Thanks.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th April 2014 - 10:11 AM