Purpose of Keyboard Layout

View: New views
3 Messages — Rating Filter:   Alert me  

Purpose of Keyboard Layout

by Dushara :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

This may be a silly question (sorry about that).

I want to define a Sinhala keyboard layout so that when I enter keys
in a US keyboard, it will generate KeyEvent with Unicode values as the
KeyCode. Before modifying scim_keyboard_layout_data.h and
scim_event.h, I tried the following experiment:

I have a English/US keyboard and selected the French layout. I assumed
this would translate the keys I type (e.g. swap a & q), but doesn't
look like it.

How exactly does the Keyboard Layout configuration item work in SCIM
(what does it do)?

Am I on the wrong track?

Thanks in advance.

Dushara

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Scim-devel mailing list
Scim-devel@...
https://lists.sourceforge.net/lists/listinfo/scim-devel

Re: Purpose of Keyboard Layout

by Suzuki K P-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are you trying to add something like a new  scim IM module ? May be
could add it as a scim-table engine. You could define your table(by
referring to the existing tables in the scim-tables) and build it as
part of the scim-tables.

Thanks

Suzuki

On Tue, May 6, 2008 at 4:13 AM, nidujay <nidujay@...> wrote:

> Hi all,
>
>  This may be a silly question (sorry about that).
>
>  I want to define a Sinhala keyboard layout so that when I enter keys
>  in a US keyboard, it will generate KeyEvent with Unicode values as the
>  KeyCode. Before modifying scim_keyboard_layout_data.h and
>  scim_event.h, I tried the following experiment:
>
>  I have a English/US keyboard and selected the French layout. I assumed
>  this would translate the keys I type (e.g. swap a & q), but doesn't
>  look like it.
>
>  How exactly does the Keyboard Layout configuration item work in SCIM
>  (what does it do)?
>
>  Am I on the wrong track?
>
>  Thanks in advance.
>
>  Dushara
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  Scim-devel mailing list
>  Scim-devel@...
>  https://lists.sourceforge.net/lists/listinfo/scim-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Scim-devel mailing list
Scim-devel@...
https://lists.sourceforge.net/lists/listinfo/scim-devel

Re: Purpose of Keyboard Layout

by Dushara :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Suzuki,

No, what I'm trying to do is get the layout to send translated key
events to the IMEngine (which I've already written, but using the US
English layout).

Thanks,
Dushara

On 06/05/2008, Suzuki K P <suzuki.kp@...> wrote:

> Are you trying to add something like a new  scim IM module ? May be
>  could add it as a scim-table engine. You could define your table(by
>  referring to the existing tables in the scim-tables) and build it as
>  part of the scim-tables.
>
>  Thanks
>
>  Suzuki
>
>
>  On Tue, May 6, 2008 at 4:13 AM, nidujay <nidujay@...> wrote:
>  > Hi all,
>  >
>  >  This may be a silly question (sorry about that).
>  >
>  >  I want to define a Sinhala keyboard layout so that when I enter keys
>  >  in a US keyboard, it will generate KeyEvent with Unicode values as the
>  >  KeyCode. Before modifying scim_keyboard_layout_data.h and
>  >  scim_event.h, I tried the following experiment:
>  >
>  >  I have a English/US keyboard and selected the French layout. I assumed
>  >  this would translate the keys I type (e.g. swap a & q), but doesn't
>  >  look like it.
>  >
>  >  How exactly does the Keyboard Layout configuration item work in SCIM
>  >  (what does it do)?
>  >
>  >  Am I on the wrong track?
>  >
>  >  Thanks in advance.
>  >
>  >  Dushara
>  >
>
> >  -------------------------------------------------------------------------
>  >  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  >  Don't miss this year's exciting event. There's still time to save $100.
>  >  Use priority code J8TL2D2.
>  >  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  >  _______________________________________________
>  >  Scim-devel mailing list
>  >  Scim-devel@...
>  >  https://lists.sourceforge.net/lists/listinfo/scim-devel
>  >
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  Scim-devel mailing list
>  Scim-devel@...
>  https://lists.sourceforge.net/lists/listinfo/scim-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Scim-devel mailing list
Scim-devel@...
https://lists.sourceforge.net/lists/listinfo/scim-devel