[Y-devel] Key mappings
Chris Amshey ychris at amshey.net
Thu Feb 26 19:22:44 GMT 2004
On Thu, Feb 26, 2004 at 06:23:32PM +0100, Rupert Mazzucco wrote:
> What you *really* want is a special key that pops up a menu from
> which you select the keymap you want. What you might also want is
> another special key that displays the current layout, in case you
> forgot where your keys are. The special keys could be replaced
> by easily accessible items in some root menu.
>
> Your Meta+Ctrl+Shift groups may work for you, but just imagine
> you invite a guest over and have to explain how he can find his
> characters. And I'm not talking about a fellow geek who is all
> excited by the occasion to learn some key combinations he will
> never again need in his life.
No, this mistakes ease-of-learning for ease-of-use; being able to
select one of 29 keymaps does not need to be 'obvious', because most
people don't use 29 keymaps, they use one or two (english and native
language, if that is not english, generally speaking.) The default
behaviour should be a single toggling-key between languages, and the
'advanced' behaviour should be chooseable in options because the
keystroke-vs-menu religious war is never going to end.
In any case, the core of Y is not the place for -any- of this. -All-
we need is a good API, the desktop environment (even if it's the one
not yet started that will be included with Y by default) out in
client-world will deal with this. Y itself needs only to provide
things like keymapToggleNext for hotkey cycling,
keymapGetConfiguredKeymapsList for constructing a menu and
keymapSelectKeymap for either 'fancy' key-selection schemes -or- popup
menu schemes. The core of Y could conceivably provide the basic keymap
cycling, if only for ease of testing.
--Chris
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved