Re: [PATCH 2/2] Input: synaptics - initialize pointer emulation usage

2013-02-15 Thread Dmitry Torokhov
On Fri, Feb 15, 2013 at 08:36:21PM +0100, Henrik Rydberg wrote: > To properly setup event parameters for emulated events, pass > the appropriate flag to the slot initialization function. Also, > all MT-related events should be setup before initialization. > > Incidentally, this solves the issue

Re: [PATCH 2/2] Input: synaptics - initialize pointer emulation usage

2013-02-15 Thread Henrik Rydberg
> > @@ -1247,11 +1247,11 @@ static void set_input_params(struct input_dev *dev, > > struct synaptics_data *priv) > > input_set_abs_params(dev, ABS_PRESSURE, 0, 255, 0, 0); > > > > if (SYN_CAP_IMAGE_SENSOR(priv->ext_cap_0c)) { > > - input_mt_init_slots(dev, 2, 0); > >

Re: [PATCH 2/2] Input: synaptics - initialize pointer emulation usage

2013-02-15 Thread Daniel Kurtz
On Fri, Feb 15, 2013 at 11:36 AM, Henrik Rydberg wrote: > To properly setup event parameters for emulated events, pass > the appropriate flag to the slot initialization function. Also, > all MT-related events should be setup before initialization. > > Incidentally, this solves the issue of doubly

[PATCH 2/2] Input: synaptics - initialize pointer emulation usage

2013-02-15 Thread Henrik Rydberg
To properly setup event parameters for emulated events, pass the appropriate flag to the slot initialization function. Also, all MT-related events should be setup before initialization. Incidentally, this solves the issue of doubly filtered pointer events. Reported-by: Daniel Kurtz

[PATCH 2/2] Input: synaptics - initialize pointer emulation usage

2013-02-15 Thread Henrik Rydberg
To properly setup event parameters for emulated events, pass the appropriate flag to the slot initialization function. Also, all MT-related events should be setup before initialization. Incidentally, this solves the issue of doubly filtered pointer events. Reported-by: Daniel Kurtz

Re: [PATCH 2/2] Input: synaptics - initialize pointer emulation usage

2013-02-15 Thread Daniel Kurtz
On Fri, Feb 15, 2013 at 11:36 AM, Henrik Rydberg rydb...@euromail.se wrote: To properly setup event parameters for emulated events, pass the appropriate flag to the slot initialization function. Also, all MT-related events should be setup before initialization. Incidentally, this solves the

Re: [PATCH 2/2] Input: synaptics - initialize pointer emulation usage

2013-02-15 Thread Henrik Rydberg
@@ -1247,11 +1247,11 @@ static void set_input_params(struct input_dev *dev, struct synaptics_data *priv) input_set_abs_params(dev, ABS_PRESSURE, 0, 255, 0, 0); if (SYN_CAP_IMAGE_SENSOR(priv-ext_cap_0c)) { - input_mt_init_slots(dev, 2, 0);

Re: [PATCH 2/2] Input: synaptics - initialize pointer emulation usage

2013-02-15 Thread Dmitry Torokhov
On Fri, Feb 15, 2013 at 08:36:21PM +0100, Henrik Rydberg wrote: To properly setup event parameters for emulated events, pass the appropriate flag to the slot initialization function. Also, all MT-related events should be setup before initialization. Incidentally, this solves the issue of