On Wed, Feb 02, 2011 at 03:34:18PM +1000, Peter Hutterer wrote: > Since the server has little choice (or even knowledge) of the actual device > node used by the driver, this property is merely provided for > standardisation. It is up to the driver to set it to the appropriate value, > usually a device node in the form of /dev/input/event0 or similar. > > Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> > --- > Xi/xiproperty.c | 2 +- > include/xserver-properties.h | 3 +++ > 2 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c > index 17835e2..87177ff 100644 > --- a/Xi/xiproperty.c > +++ b/Xi/xiproperty.c > @@ -179,7 +179,7 @@ static struct dev_properties > {0, BTN_LABEL_PROP_BTN_GEAR_DOWN}, > {0, BTN_LABEL_PROP_BTN_GEAR_UP}, > > - {0, XI_PROP_TRANSFORM} > + {0, XI_PROP_DEVICE_NODE}
merge gone wrong. this should of course just add the XI_PROP_DEVICE_NODE property, not remove the transformation property. amended locally. Cheers, Peter > }; > > static long XIPropHandlerID = 1; > diff --git a/include/xserver-properties.h b/include/xserver-properties.h > index c6259ae..a49291b 100644 > --- a/include/xserver-properties.h > +++ b/include/xserver-properties.h > @@ -42,6 +42,9 @@ > * [c6 c7 c8] [1] */ > #define XI_PROP_TRANSFORM "Coordinate Transformation Matrix" > > +/* STRING. Device node path of device */ > +#define XI_PROP_DEVICE_NODE "Device Node" > + > /* Pointer acceleration properties */ > /* INTEGER of any format */ > #define ACCEL_PROP_PROFILE_NUMBER "Device Accel Profile" > -- > 1.7.3.5 > _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel