[PATCH weston v2 1/3] toytoolkit: Allow operation without a keymap

Daniel Stone daniel at fooishbar.org
Fri Jun 21 16:42:40 PDT 2013


On 21 June 2013 23:02, Bill Spitzak <spitzak at gmail.com> wrote:
> If clients use the input method for all the text input, exactly how much is
> left of xkb keyboards? It looks like all this compiling is so that dead keys
> and all the shift states work for producing different characters. That can
> all be done by the input method and thus only the input method has to
> compile xkb, if anybody.

If the only input API you need is the input method API, then you don't
need other input APIs.

wl_keyboard is pretty much for people who need to support non-textual
keyboard input, e.g. hotkeys/media keys and shortcuts.  As long as
those usecases continue to exist - which is forever - we're going to
need wl_keyboard in addition to wl_text.

Cheers,
Daniel

>
> Also RDP delivers events that look much more like keysyms than scan codes.
>
>
> Rob Bradford wrote:
>>
>> From: Matt Roper <matthew.d.roper at intel.com>
>>
>> In preparation for upcoming changes, we want to make sure that apps
>> written with the toy toolkit continue to operate properly if no XKB
>> keymap is received.  If there's no XKB keymap, then we shouldn't
>> try to figure out keyboard modifier states (since we probably don't
>> even have equivalents of PC-style modifiers).
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list