Currently Xorg uses hal's fdi files to decide what configuration options are applied to automatically added input devices. This is sub-optimal since it requires users to use a new and different configuration store than xorg.conf. The InputClass section attempts to provide a system similar to hal where configuration can be applied to all devices with certain attributes. For now, devices can be matched to: * A substring of the product name via a MatchProduct entry * A substring of the vendir name via a MatchVendor entry * A pathname pattern of the device file via a MatchDevicePath entry * A device type via boolean entries for MatchIsKeyboard, MatchIsPointer, MatchIsJoystick, MatchIsTablet, MatchIsTouchpad and MatchIsTouchscreen See the INPUTCLASS section in xorg.conf(5) for more details. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
49 lines
759 B
Makefile
49 lines
759 B
Makefile
if INSTALL_LIBXF86CONFIG
|
|
noinst_LTLIBRARIES = libxf86config_internal.la
|
|
lib_LIBRARIES = libxf86config.a
|
|
LIBHEADERS = \
|
|
xf86Optrec.h \
|
|
xf86Parser.h
|
|
else
|
|
noinst_LTLIBRARIES = libxf86config_internal.la
|
|
endif
|
|
|
|
INTERNAL_SOURCES= \
|
|
Device.c \
|
|
Files.c \
|
|
Flags.c \
|
|
Input.c \
|
|
InputClass.c \
|
|
Layout.c \
|
|
Module.c \
|
|
Video.c \
|
|
Monitor.c \
|
|
Pointer.c \
|
|
Screen.c \
|
|
Vendor.c \
|
|
read.c \
|
|
scan.c \
|
|
write.c \
|
|
DRI.c \
|
|
Extensions.c
|
|
|
|
libxf86config_internal_la_SOURCES = \
|
|
$(INTERNAL_SOURCES)
|
|
|
|
libxf86config_a_SOURCES = \
|
|
$(INTERNAL_SOURCES)
|
|
libxf86config_a_CFLAGS = $(AM_CFLAGS)
|
|
|
|
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
|
|
EXTRA_DIST = \
|
|
Configint.h \
|
|
configProcs.h \
|
|
xf86Optrec.h \
|
|
xf86Parser.h \
|
|
xf86tokens.h
|
|
|
|
sdk_HEADERS = \
|
|
xf86Parser.h \
|
|
xf86Optrec.h
|