login
Header Space

 
 

Re: [PATCH] Input: add flags bitfield

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Henrique de Moraes Holschuh <hmh@...>
Cc: <linux-kernel@...>, Richard Purdie <rpurdie@...>
Date: Friday, March 21, 2008 - 4:07 pm

Hi Henrique,

On Sun, Mar 16, 2008 at 05:14:11PM -0300, Henrique de Moraes Holschuh wrote:

I'd rather not apply this patch because it pushes kowledge of existing
input interfaces into device drivers. What we could do instead is add
a 'type' field to the input device structure and then input interfaces
(evdev/mousedev, etc) could have an option of matching either by device
type or by device capabilities or both. Your raw devices could have type
of accelerometer and joydev would bind to devices with type "joystick"
or "unknown" + certain capabilities. Will this work?

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

Messages in current thread:
[PATCH] Input: add flags bitfield, Henrique de Moraes Holschuh..., (Sun Mar 16, 4:14 pm)
Re: [PATCH] Input: add flags bitfield, Dmitry Torokhov, (Fri Mar 21, 4:07 pm)
Re: [PATCH] Input: add flags bitfield, Henrique de Moraes Holschuh..., (Fri Mar 21, 5:56 pm)
Re: [PATCH] Input: add flags bitfield, Henrique de Moraes Holschuh..., (Sat Mar 22, 3:09 am)
Re: [PATCH] Input: add flags bitfield, Dmitry Torokhov, (Sun Mar 23, 9:02 pm)
Re: [PATCH] Input: add flags bitfield, Henrique de Moraes Holschuh..., (Sun Mar 23, 11:25 pm)
speck-geostationary