Re: How to grab the input event exclusively?

2015-12-21 Thread Lance Bai
Hi Pekka, thanks for your reply. On Mon, Dec 21, 2015 at 3:02 PM, Pekka Paalanen wrote: > On Mon, 21 Dec 2015 14:35:14 + > Lance Bai wrote: > > > Dear All, > > > > I have a question regarding grabbing the key input in weston. > > > > I am run

How to grab the input event exclusively?

2015-12-21 Thread Lance Bai
Dear All, I have a question regarding grabbing the key input in weston. I am running weston-1.8.92 on raspberry pi2(i.e compositor-rpi, launch with weston-launch), and found that the /dev/input/eventX file descriptor is read by both weston and tty, which means the input will be showed on the tty