xserver-multidpi/hw/xfree86/common
Peter Hutterer c2d0b3b437 xfree86: store the InputAttributes in the input device.
InputAttributes largely decide which configuration values get merged from
the xorg.conf.d snippets. While they are available in the config backend,
they are not available for any other callers of NewInputDeviceRequest().

Drivers implementing driver-side hotplugging do not have access to these
attributes and cannot have xorg.conf.d snippets specific to dependent
devices. For example, the following case cannot work right now:

Section "InputClass"
        MatchProduct "Wacom"
        Option "PressCurve" "0 0 100 100"
        ...
EndSection

Section "InputClass"
        MatchProduct "Wacom"
        MatchProduct "eraser"
        Option "PressCurve" "10 10 50 50"
        ...
EndSection

The second section is not triggered, as the wacom driver cannot supply the
InputAttributes to NewInputDeviceRequest().

Add the attributes to the IDevRec and merge them into the InputInfoRec to
make them accessible in the driver. This changes the ABI for input drivers.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-05-25 10:06:50 -07:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
compiler.h Add platform compatibility defines for Sun Studio compilers 2009-12-18 10:31:53 -08:00
extramodes Remove some default modes that really shouldn't be in the default set. 2008-06-24 10:40:36 -04:00
fourcc.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am Only link Xorg with libconfig.la 2010-05-17 09:41:16 -07:00
modeline2c.awk Remove some OS/2 leftovers. 2009-04-06 10:58:47 -04:00
scoasm.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
vesamodes Fix standard VESA modes. 2006-11-03 14:06:32 -08:00
vidmodeproc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86.h xfree86: organize and group all pci related stuff inside xf86.h 2010-05-24 19:31:57 +03:00
xf86AutoConfig.c xfree86: move all pci code from auto configurator into a meaningful location 2010-05-24 19:31:57 +03:00
xf86Build.h.in Print the build time as well as the date if we can. 2007-06-04 02:03:44 -04:00
xf86Bus.c xfree86: bus: delete useless xf86FindPrimaryDevice 2010-05-24 19:16:02 +03:00
xf86Bus.h xfree86: bus: remove useless field from EntityRec 2010-05-24 19:17:04 +03:00
xf86cmap.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86cmap.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Config.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86Config.h xfree86: "Staticize" functions in xf86AutoConfig.c 2009-07-24 13:25:42 +03:00
xf86Configure.c xfree86: bus: delete useless xf86FindPrimaryDevice 2010-05-24 19:16:02 +03:00
xf86Cursor.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86DGA.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86DPMS.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86Events.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86fbBus.c xserver: remove RAC/resource handling code. 2009-07-28 15:14:28 +10:00
xf86fbman.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86fbman.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Globals.c config: add libudev input-hotplug backend 2009-12-30 19:05:44 +00:00
xf86Helper.c xfree86: store the InputAttributes in the input device. 2010-05-25 10:06:50 -07:00
xf86Init.c xfree86: remove PCI dependency from InitOutput 2010-05-19 18:34:41 +03:00
xf86InPriv.h xfree86: don't FatalError on "too many input devices". 2008-12-02 15:50:38 +10:00
xf86Mode.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86Module.h include: remove couple of unused structures fields and bump ABI 2010-04-26 14:53:12 +03:00
xf86noBus.c xserver: remove RAC/resource handling code. 2009-07-28 15:14:28 +10:00
xf86Opt.h xfree86: Add option parsing for percent options. 2010-05-18 15:43:51 -07:00
xf86Option.c xfree86: store the InputAttributes in the input device. 2010-05-25 10:06:50 -07:00
xf86pciBus.c xfree86: move all pci code from auto configurator into a meaningful location 2010-05-24 19:31:57 +03:00
xf86pciBus.h xfree86: move all pci code from auto configurator into a meaningful location 2010-05-24 19:31:57 +03:00
xf86PciInfo.h No more "-scanpci" given that we already have it in libpciaccess. 2008-02-25 17:08:07 -03:00
xf86PM.c xf86 ddx: add vga arbiter support. 2009-08-28 11:39:42 +10:00
xf86Priv.h xfree86: bus: delete useless xf86FindPrimaryDevice 2010-05-24 19:16:02 +03:00
xf86Privstr.h Remove ResNoAvoid definition, missed in the RAC removal 2010-05-13 04:20:34 -07:00
xf86RandR.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86sbusBus.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86sbusBus.h Correct wrong symbol reference on sparc. 2008-12-08 22:11:50 -02:00
xf86ShowOpts.c xfree86: Add option parsing for percent options. 2010-05-18 15:43:51 -07:00
xf86str.h xfree86: store the InputAttributes in the input device. 2010-05-25 10:06:50 -07:00
xf86VGAarbiter.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86VGAarbiter.h xfree86: vgaarb: rework wrapping function 2009-09-16 11:04:24 +10:00
xf86VGAarbiterPriv.h unifdef -B -DRENDER to always include RENDER code 2010-04-19 09:26:10 -07:00
xf86VidMode.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86Xinput.c xfree86: store the InputAttributes in the input device. 2010-05-25 10:06:50 -07:00
xf86Xinput.h xfree86: store the InputAttributes in the input device. 2010-05-25 10:06:50 -07:00
xf86xv.c Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
xf86xv.h XFree86: Xv: Add ClipNotify helper 2009-01-05 11:25:57 +02:00
xf86xvmc.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86xvmc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86xvpriv.h XFree86: Xv: Add ClipNotify helper 2009-01-05 11:25:57 +02:00
xisb.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xisb.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xorgHelper.c xfree86: ANSI cleanups 2009-01-11 08:54:11 +01:00
xorgVersion.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00