[Y-devel] keyboard layouts (continued)

Bryce Nichols bryce at bnichols.org
Sun Feb 29 19:39:21 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't see it as being handled in a separate "decision tree".  I guess
this is because my idea of the input handling is to have a single state
machine.  The events that drive the state machine are low-level key
events: presses and releases.  Modifiers should be at logical level (part
of the state) and not necessarily tied directly to the physical state of
any one key.

It's not so much that there's any imminent need for modifiers to be
triggered by key sequences.  Rather, it is important to avoid special
cases in the input method.  If I can trigger some unicode character with a
key sequence, I should be able to trigger a modifier with a key sequence
too.

Here's a possible use.  Let's say we decide to make a modifier, MOD6,
represent japanese kanji input.  It might be nice if mashing a few
home-row keys could toggle MOD6.  Of course, it would be totally
configurable.  Maybe someone would want F12 to be the sequence.  Or
SHIFT-F12.

Oh, and I have this binary keyboard that has only 2 keys.  I need a way to
enter the equivalent of CAPS-LOCK, so I don't have to type an extra bit
for setting the case of letters each time.

- --Bryce

On Sun, 29 Feb 2004, Maurice van der Pot wrote:

> On Sun, Feb 29, 2004 at 01:38:20PM -0500, Bryce Nichols wrote:
> > In fact, it should be possible for a modifier to be
> > activated by a key sequence rather than a single key press.
>
> This is a new requirement; I haven't seen this on the list before.
> Would we want a modifier to be implemented as a key sequence instead
> of a single key?
>
> I suppose it is not that difficult. Instead of having a single decision
> tree for character output, you'd have another one for modifiers that
> has most of its leafs (shift, ctrl, etc) at a depth of 1.
>
> But I would like to see the use of this. Do you have a good example
> of how this could be useful? (Please don't give the example of having
> meta-modifiers ;) )
>
> Maurice.
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: For info see https://quantumlab.net/pine_privacy_guard/

iD4DBQFAQj/sIT7jkoqrwXkRAucoAJ9F3TL+P2pWX0F8BQxJNkb0HTPxnQCY14kx
l+O2knwn4mi1LXfsJymwtQ==
=Xq0p
-----END PGP SIGNATURE-----



More information about the Y-devel mailing list









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