Re: [PATCH] Input: Support for a less exclusive grab.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Torokhov
Date: Tuesday, October 23, 2007 - 6:21 am

Hi Ryan,

On 9/28/07, Ryan Lortie <desrt@desrt.ca> wrote:

I like the idea of limiting number of events that client wants to be
delivered to it. I think we need to extend it from keybit only to
event bitmask + keybit. This way, if keyboard has a scrollwheel or a
touchpad installed, HAL can still specify EV_KEY + KEY_XXX and ignore
all REL_* and ABS_* events.

Priority/filter idea is different matter. I don't think it is a giood
solution. There will always be an "arms race", new applications would
like to get in front of the queue all the time and it will be hard to
manage. X should just keep console open in raw mode and simply ignore
all events coming from it while using evdev driver. I understand that
X's hotplug support is getting there so you should be able to switch
to pure evdev setup pretty easy.


Exactly. You can't predict all future uses. There will always be
someone wanting to get in front of the line.


To remove any force-feedback effects installed by client that is being
disconnected.


I think I fixed this.


Input core now has prper locking. You may take device's event_lock to
stop event propagation.

-- 
Dmitry
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Sat Jun 9, 1:48 am)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Mon Jun 11, 10:07 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Mon Jun 11, 10:12 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Mon Jun 11, 10:19 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Mon Jun 11, 10:23 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Mon Jun 11, 10:35 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Mon Jun 11, 10:40 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Vojtech Pavlik, (Mon Jul 2, 8:20 am)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Tue Jul 3, 9:45 am)
Re: [PATCH] Input: Support for a less exclusive grab., Vojtech Pavlik, (Tue Jul 3, 3:15 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Fri Sep 28, 8:05 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Tue Oct 23, 6:21 am)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Tue Oct 23, 8:57 am)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Tue Oct 23, 11:10 am)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Tue Oct 23, 6:58 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Tue Oct 23, 8:33 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Wed Oct 24, 8:35 am)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Wed Oct 24, 10:37 pm)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Fri Oct 26, 9:44 am)
Re: [PATCH] Input: Support for a less exclusive grab., Ryan Lortie, (Fri Oct 26, 10:16 am)
Re: [PATCH] Input: Support for a less exclusive grab., Dmitry Torokhov, (Fri Oct 26, 10:29 am)
Re: [PATCH] Input: Support for a less exclusive grab., Zephaniah E. Hull, (Fri Oct 26, 10:58 am)