[Y-devel] Key mappings
Maurice van der Pot griffon26 at kfk4ever.com
Fri Feb 27 19:53:49 GMT 2004
On Fri, Feb 27, 2004 at 06:35:06PM +0000, Mark Thomas wrote:
> Maurice van der Pot wrote:
>
> >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?
>
> The system you describe is not unlike the Actions system that is
> implemented but underused in both Gtk and Qt. Though I hadn't thought
> of it, it's probably a good idea to include a good equivalent.
I am currently writing a small document describing the layers of input
handling as I see them. Once I have described everything sufficiently
I will put it in the Wiki and send the link in a message to the mailing list.
> In any case, that will be entirely separate from keymaps. Presumably
> there is an equivalent shortcut for "copy" on these keyboards, and that
> would work, too.
Keymaps are a separate layer in the input handling in my view, but I'll
describe all of that.
What I am interested in, however, is how people who work daily with
several different keymaps expect things to work. The rest of my reply
will be to a message from Rupert Mazzucco <maz at ap.univie.ac.at>
because his message shows a different view.
> The question is, how many "special keys" do we think
> should be standardised? There is quite a bunch of
> non-alphanumeric keys on every modern keyboard, maybe
> it would be better to use them for real "standards".
I'm not sure what you mean with 'real "standards"', Rupert.
I think that for each type of key there should be a unique
identifying value (what is called a KeySym in X).
> The Crl+X combinations would serve only as shortcuts
> for application menu items and be displayed in the menus.
> As menu items change according to locale, so would the
> combinations displayed there. That means that a keymap
> change should be treated as a locale change, or the menus
> wouldn't get updated ... hmm, interesting insight.
Because the window manager apparently is going to handle the
selection of keymaps for each application, it would be logical
to also have the window manager notify the application of the
change. I think you're assuming the applications already exist
and only update their menus on locale changes.
> Probably the mapping should be so that the actual keys
> that are pressed remain the same. Keyboard shortcuts are
> mostly used for speed by people that can type them "blind".
> They'd be thrown off by changing locations, so that would
> be kind of pointless.
I would really like to hear about this from anyone working with
multiple keymaps. Do you generally expect copy/paste to be mapped
to the same physical keys when you switch keymaps?
If I ask myself this question and I look at the azerty and qwerty
layouts for a moment, I'm pretty sure that if I were able to type
fluently on both of them, I'd expect things to be bound to 'a' or
'q' no matter where they may be moved to by a change in keymap.
Maurice.
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved