Author Topic: On-screen Keyboard Layout Files  (Read 24271 times)

ztep

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
On-screen Keyboard Layout Files
« on: November 02, 2005, 06:57:55 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

kurochka

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
On-screen Keyboard Layout Files
« Reply #1 on: November 10, 2005, 10:48:18 am »
Quote
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
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Here is some info:
[a href=\"https://www.oesf.org/forums/index.php?showtopic=11063]https://www.oesf.org/forums/index.php?showtopic=11063[/url]

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.
« Last Edit: November 11, 2005, 12:03:41 pm by kurochka »
SL-C3100 (from PriceJapan.com): modified Sharp Rom (couldn't make Japanese input work in Cacko Rom)

ex-SL-C3000; ex-SL-5600; ex-Simpad

kurochka

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
On-screen Keyboard Layout Files
« Reply #2 on: November 11, 2005, 11:36:31 am »
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.
 [ Invalid Attachment ]
 [ Invalid Attachment ]

Code: [Select]
[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
« Last Edit: May 02, 2007, 11:59:52 am by kurochka »
SL-C3100 (from PriceJapan.com): modified Sharp Rom (couldn't make Japanese input work in Cacko Rom)

ex-SL-C3000; ex-SL-5600; ex-Simpad

ztep

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
On-screen Keyboard Layout Files
« Reply #3 on: November 11, 2005, 04:34:00 pm »
Quote
Here is some info:
https://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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103134\"][{POST_SNAPBACK}][/a][/div]

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

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
On-screen Keyboard Layout Files
« Reply #4 on: November 11, 2005, 05:09:06 pm »
Quote
Quote
Here is some info:
https://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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103134\"][{POST_SNAPBACK}][/a][/div]

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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103375\"][{POST_SNAPBACK}][/a][/div]


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.
SL-C3100 (from PriceJapan.com): modified Sharp Rom (couldn't make Japanese input work in Cacko Rom)

ex-SL-C3000; ex-SL-5600; ex-Simpad

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
On-screen Keyboard Layout Files
« Reply #5 on: November 15, 2005, 04:50:18 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:)

kurochka

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
On-screen Keyboard Layout Files
« Reply #6 on: November 07, 2006, 09:29:02 pm »
Quote
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:)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

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

[a href=\"https://www.oesf.org/forums/index.php?showtopic=18385]https://www.oesf.org/forums/index.php?showtopic=18385[/url]
SL-C3100 (from PriceJapan.com): modified Sharp Rom (couldn't make Japanese input work in Cacko Rom)

ex-SL-C3000; ex-SL-5600; ex-Simpad

ztep

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
On-screen Keyboard Layout Files
« Reply #7 on: January 04, 2007, 06:12:47 am »
Quote
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

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
On-screen Keyboard Layout Files
« Reply #8 on: February 07, 2007, 09:44:07 pm »
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?
toMOTko Flashcard Project
SL-C1000 Sharp ROM

ztep

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
On-screen Keyboard Layout Files
« Reply #9 on: February 11, 2007, 06:18:55 am »
Quote
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

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
On-screen Keyboard Layout Files
« Reply #10 on: February 11, 2007, 08:11:49 pm »
Thanks a lot ztep for the info.
toMOTko Flashcard Project
SL-C1000 Sharp ROM

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
On-screen Keyboard Layout Files
« Reply #11 on: February 12, 2007, 12:35:52 am »
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. :-)
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
On-screen Keyboard Layout Files
« Reply #12 on: February 12, 2007, 01:00:29 am »
Quote
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. :-)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153858\"][{POST_SNAPBACK}][/a][/div]

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...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Frederic Bergeron

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
On-screen Keyboard Layout Files
« Reply #13 on: July 15, 2007, 05:48:23 am »
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.
toMOTko Flashcard Project
SL-C1000 Sharp ROM

Frederic Bergeron

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://
On-screen Keyboard Layout Files
« Reply #14 on: July 23, 2007, 06:19:07 am »
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.
toMOTko Flashcard Project
SL-C1000 Sharp ROM