[Y-devel] Key mappings

Maurice van der Pot griffon26 at kfk4ever.com
Thu Feb 26 20:57:53 GMT 2004


On Thu, Feb 26, 2004 at 07:53:43PM +0000, Mark Thomas wrote:
> Having read the rest of this thread, I think the best way is as follows:
> 
> - RAW keyboard interface, where events are triggered by the loaded input
>   module (or anything else, such as an on-screen keyboard).
> 
> - Multiple loaded keymaps, where only one keymap is active at any one
>   time.  The keymaps monitor the RAW interface and generate CHAR events
>   if a match is made.
> 
> - The keymaps can be changed by the windowmanager, so it should
>   intercept keymap change shortcuts and change the keymap appropriately.
>   It can associate particular keymaps with certain windows or widgets,
>   or it can just have one global keymap.

Mark, have you read the thread above this titled "[Y-devel] GUI design docs"?
In my last message to that thread, I describe a way to get consistency 
across applications with respect to common actions.

What I have not thought about yet though is how this works together with
the keymaps discussed in this thread. What if copy is bound to ctrl-c and
the user switches keymaps to something that has no c key?

Maurice.




More information about the Y-devel mailing list









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