[libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.

Daniel Stone daniel at fooishbar.org
Mon Jun 1 02:57:31 PDT 2015


Hi Sung-Jin,

On 1 June 2015 at 07:16, Sung-Jin Park <sj76.park at samsung.com> wrote:

>  I'd like to ask how to get keycode(s) from keysym using libxkbcommon API.
> Is there any API in libxkbcommon ?
>

The short answer is, no.

The long answer is, look through the keymap and find every keycode which
produces that keysym, which may be on various layouts (groups) or shift
levels.

If you can share more details of what you actually want to achieve, that
might be helpful.

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150601/42272c1f/attachment.html>


More information about the wayland-devel mailing list