[Dev] HW key event grabbing on Tizen Wayland

Wang, Yan yan.wang at intel.com
Tue Aug 12 08:54:12 GMT 2014

Thanks for your clarifying.
It seems HW key binding should be non-fixed for different platform.
And for Wayland/Weston, may it be better to add related code to Weston shell of Tizen Wayland?

Yan Wang

From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of Carsten Haitzler
Sent: Tuesday, August 12, 2014 4:42 PM
To: dev at lists.tizen.org
Subject: Re: [Dev] HW key event grabbing on Tizen Wayland

On 08/12/2014 05:38 PM, 박성진 wrote:

Hi, Wang, Yan,

libinput is a library to handle input devices and it'll be used for a display server like Xserver and wayland compositors.

Wayland clients will get input events through GUI toolkits from wayland compositors.

Regarding utilx library, the key definitions in it had been made for mobile profile on X based window system.

This kind of key definitions won't be made in wayland because the key list will be different from H/Ws and

the list of keys must not be hard-coded. :)

We're going to propose a new protocol for wayland clients

to make a request for H/W key event and to get the key event from wayland compositor.

basically ... keyrouter for wl. :) (be able to "grab" keys or  have them routed intelligently based on app prefs and/or its focused or other states etc.)

Thanks and regards,
Sung-Jin Park

------- Original Message -------
Sender : Wang, Yan<yan.wang at intel.com><mailto:yan.wang at intel.com>
Date   : 2014-08-12 17:08 (GMT+09:00)
Title  : [Dev] HW key event grabbing on Tizen Wayland

Hi, All,
  Today I checked HW key event grabbing on Tizen. In Tizen X (mobile), libslp-utilx package could do this. (E.g. KEY_MENU/POWER/VOLUME_UP/VOLLUME_DOWN/CAMERA...) But how about in Wayland?
  In Wayland/Weston upstream, I think libinput could do it because I could see KEY_VOLUME_UP/DOWN, KEY_POWER, KEY_BACK, KEY_MENU, ... in it. Is it right?
  libinput hasn't been migrated to Tizen Wayland Common/IVI repos so far. Will it be available on Tizen in the future?

Yan Wang
Dev mailing list
Dev at lists.tizen.org<mailto:Dev at lists.tizen.org>
<p> </p><p> </p>


Dev mailing list

Dev at lists.tizen.org<mailto:Dev at lists.tizen.org>



The above message is intended solely for the named addressee and may

contain trade secret, industrial technology or privileged and

confidential information otherwise protected under applicable law

including the Unfair Competition Prevention and Trade Secret Protection

Act. Any unauthorized dissemination, distribution, copying or use of the

information contained in this communication is strictly prohibited. If

you have received this communication in error, please notify the sender

by email and delete this communication immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20140812/acfb0a8d/attachment.html>

More information about the Dev mailing list