Help - Search - Members - Calendar
Full Version: On-screen Keyboard Layout Files
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Sharp ROMs
ztep
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
kurochka
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.
kurochka
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.
Click to view attachment
Click to view 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
ztep
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.
kurochka
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.
maslovsky
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:)
kurochka
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
ztep
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
Frederic Bergeron
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?
ztep
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.
Frederic Bergeron
Thanks a lot ztep for the info.
Jon_J
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. :-)
Meanie
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...
Frederic Bergeron
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.
Frederic Bergeron
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.
Frederic Bergeron
Forget this request.

A friend of mine gave me the tbl files. They were identical to mines. So I thought... Hmmm, maybe I didn't reboot the zaurus after uninstalling the keyboard applet and the spanish keymap is probably still in memory.

That was it. A simple reboot reverted my original keymap.

Silly me! rolleyes.gif
kurochka
QUOTE(Frederic Bergeron @ Jul 24 2007, 05:28 PM)
Forget this request. 

A friend of mine gave me the tbl files.  They were identical to mines.  So I thought...  Hmmm, maybe I didn't reboot the zaurus after uninstalling the keyboard applet and the spanish keymap is probably still in  memory.

That was it.  A simple reboot reverted my original keymap.

Silly me!  rolleyes.gif
*


It's good to hear! I hope you are still working on tomotko smile.gif
brontoZaurus
i cant install th package because it says contains illegal characters, how can i solve it?

No puedo instalar el paquete porque me dice que tiene caracteres ilegales que la aplcacion no puede manejar, alguien sabe como solucionarlo?
QUOTE(ztep @ Jan 4 2007, 12:12 PM) *
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

Jon_J
The forum "converts" dashes '-' to underscores '_'
If you downloaded the file from this forum, try renaming:
spanish_keymap_1.0.0_1_arm.ipk
to
spanish-keymap_1.0.0_1_arm.ipk

QUOTE(brontoZaurus @ Mar 6 2009, 12:34 PM) *
i cant install th package because it says contains illegal characters, how can i solve it?

No puedo instalar el paquete porque me dice que tiene caracteres ilegales que la aplcacion no puede manejar, alguien sabe como solucionarlo?
QUOTE(ztep @ Jan 4 2007, 12:12 PM) *
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

brontoZaurus
Thanks for the answer, ill try it as soon as posible and report results, thanks man!!

QUOTE(Jon_J @ Mar 8 2009, 06:46 PM) *
The forum "converts" dashes '-' to underscores '_'
If you downloaded the file from this forum, try renaming:
spanish_keymap_1.0.0_1_arm.ipk
to
spanish-keymap_1.0.0_1_arm.ipk

QUOTE(brontoZaurus @ Mar 6 2009, 12:34 PM) *
i cant install th package because it says contains illegal characters, how can i solve it?

No puedo instalar el paquete porque me dice que tiene caracteres ilegales que la aplcacion no puede manejar, alguien sabe como solucionarlo?
QUOTE(ztep @ Jan 4 2007, 12:12 PM) *
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



This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.