Messages in this thread | | | From | Dmitry Torokhov <> | Subject | Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver] | Date | Tue, 27 Mar 2007 23:08:33 -0400 |
| |
On Tuesday 27 March 2007 17:34, johann deneux wrote: > What about adding a member to ff_effect which would be the number of the motor? > We can't change the layout of ff_effect too much though, so we have to > find unused bits and put them to work. > > For instance, we could replace > > __u16 type; > > by > > __u8 motor; > __u8 type; >
Splitting type field seems to be a good idea.
-- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |