Sung-Jin Park
--- Original Message ---
Sender : Daniel Stone
Date : 2015-06-01 18:57 (GMT+09:00)
Title : Re: [libxkbcommon] Question about how to get xkb_keycode_t from
xkb_keysym_t.
Hi Sung-Jin,
On 1 June 2015 at 07:16, Sung-Jin Park wrote:
I'd like to ask how to get ke
Despite the impression you may get from the API, the compositor is able
(and required to implement many designs) to decode keyboard events into
keysyms, using exactly the same xkb code clients would use and thus
arriving at the same answer.
Therefore if there was a key-grab api to the composit
es == 0)
> return 1; /* still succeeded, just don't have any keycodes */
>
> keycodes = malloc(num_keycodes * sizeof(*keycodes));
> num_keycodes = xkb_keymap_keycodes_from_keysym(keymap, keysym, keycodes);
>
> Cheers,
> Daniel
>
>
>> Thanks and regards,
>>
&
keycodes);
Cheers,
Daniel
> Thanks and regards,
>
> Sung-Jin Park
>
>
>
> --- *Original Message* -------
>
> *Sender* : Daniel Stone
>
> *Date* : 2015-06-01 18:57 (GMT+09:00)
>
> *Title* : Re: [libxkbcommon] Question about how to get xkb_keycode_t from
>
Resend not to make this mail scrubbed. Sorry. :)
--- Original Message ---
Sender : 박성진 S5(책임)/책임/Common Platform Lab(S/W센터)/삼성전자
Date : 2015-06-01 20:22 (GMT+09:00)
Title : Re: Re: [libxkbcommon] Question about how to get xkb_keycode_t from
xkb_keysym_t.
Dear Daniel, thanks for your
ssage ---
Sender : Daniel Stone
Date : 2015-06-01 18:57 (GMT+09:00)
Title : Re: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.
Hi Sung-Jin,
On 1 June 2015 at 07:16, Sung-Jin Park <sj76.p...@samsung.com> wrote:
I'd like to ask how to get keycode(s) f
Hi Sung-Jin,
On 1 June 2015 at 07:16, Sung-Jin Park 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,