[Y-devel] keyboard layouts (continued)

Alexey Boyko smartly at gala.net
Mon Mar 1 20:09:47 GMT 2004


> > Its a lot of work,
> Only if you use a lot of keymaps, want shortcuts for a lot of functions and
> want to define them yourself.

So, after installation of Y and selecting what keymaps I will use, I must 
configure shortcuts for selected keymaps?

> Why not simply like this?

Let refer to previous example with typing cyrilic_io with key sequence 'e:'

If I define a shortcut to Ctrl+E, then when I press 'e' character, 'e' will 
not go from Character_Processing_Module, and shortcut will not generate 
Action. (only after another key pressing)

Look. For me it not a problem, all cyrillic chars have an unique key on my 
keyboard, but what to do in China/Japan and other?

>  - What part of the software should be responsible for changing shortcuts?

Predefined? Some system tool. Application specific? Application processes keys 
as usually, and catches shortcuts as now in X.

>    The application can have shortcuts that are not defined system-wide, so
>    at least the application will have to change some of them.
>    * Is consistency a reason to have the application manager all of it,
>      including the system shortcuts? or...
>    * Should the application delegate all shortcut changes to the system?
>    * If it is delegated, should it be invisible to the user or should the
>      user know there is some central place to manage shortcuts?
>    * If there's some central place, then how can that handle application
>      specific shortcuts?
>
>  - Should it be allowed to use a different shortcut for Paste in some
>    application while still keeping the system-wide default for others?
>
>  - How does an application know which keys will be free for use?
>    In a previous message I said the application could send a set of
>    Actions to the system and get back a list of supported actions
>    and associated shortcuts. The trouble with this is that the
>    application will have to figure out the keys that aren't used
>    in the returned set and use those for any application specific
>    shortcuts.

All this is application depended. It get an Action Event, and process known 
actions, or get a key event and processes additional shortcuts in own manner.






More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved