[Y-devel] keyboard layouts (continued)

Bryce Nichols bryce at bnichols.org
Sun Feb 29 00:35:03 GMT 2004


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

No, let's not limit handling of shift-like and lock-like modifiers to a
special case.  Shifts or lock states should be handled right along with
all other modifiers.  Also, you forgot about a method for composing a
series of key presses.  See my previous e-mail to the list for my
discussion of a possible way to do this.

I do like that you've distinguished press/release events and "typed"
events.

- --Bryce

On Sat, 28 Feb 2004, Alexey Boyko wrote:

>
> The next.
>
> I have thinks what to do with Shift key, because it affects generated
> characters, but describing behavior in keymap file makes it too complicated.
> And I have decide, that keycodes, which reaches key tree must be already
> shifted. For example, keymap module must distinguish key 'a' from key 'A',
> and generate different characters.
>
> So I see following keyboard input infrastructure.
>
>
>                     +-----------------+
>             | Keyboard Module |
>             +-----------------+
>                     |
> +-----------------------+---------------------------------------+
> |                   |                                       |
> |                   V                                       V
> |   +-------------------------------+       +-------------------------------+
> |   | Shortcut Module. Converts     |       | Shift module. Processes       |
> |   | shortcuts like Ctrl+C/Ctrl+V  |       | Shift and Caps Lock keys.     |
> |   | into something like           |       +-------------------------------+
> |   |       YK_Cut/YK_Paste         |                       |
> |   +-------------------------------+                       V
> |                   |                       +-------------------------------+
> |                   |                       | Character map module.         |
> +-------+---------------+                   | Converts key pressing into    |
>     |                                       | characters                    |
>     V                                       +-------------------------------+
> Goes into application                                               |
> as key press/release                                                V
>     events                                  Goes into application as typed
>                                                     characters events.
>
>
> Keyboard module can be different on different platforms. It can be drived by
> it own maps, which can be different on different keyboards, for example
> qwerty/dvorak or maps additional keys on multimedia keyboards.
>
> Shortcut module also may have different maps, and must have way to easy
> modifying by user. May be shortcut maps must be stored for each client
> separately (or better for each connected host)
>
> Character map module must have access to widget data, where it stores input
> context.
>
>
> Am I missing something?
>
>
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: For info see https://quantumlab.net/pine_privacy_guard/

iD8DBQFAQTO4IT7jkoqrwXkRAp4aAJ9PUwDuyUajtF2YbKiz8SoUW/jabACgjV7O
4vm8W/Hiq/MIzAj6ZzTVYjk=
=OVNG
-----END PGP SIGNATURE-----



More information about the Y-devel mailing list









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