mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
Each hidpp10 device should have a udev property named either RATBAG_HIDPP10_DPI or RATBAG_HIDPP10_DPI_LIST. These properties ensure that we know the mapping between the raw value of the dpi reported by the mouse and the actual value. Older devices (using the scheme 1 or 2 of hidpp10_get_current_resolution) have to use the DPI_LIST to be able to map 0x80+. Newer devices (using scheme 3) use the DPI setting with min, max, step. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
lib_LTLIBRARIES = libratbag.la
|
|
noinst_LTLIBRARIES = libhidpp.la \
|
|
libutil.la
|
|
|
|
include_HEADERS = \
|
|
libratbag.h
|
|
|
|
libratbag_la_SOURCES = \
|
|
driver-etekcity.c \
|
|
driver-hidpp20.c \
|
|
driver-hidpp10.c \
|
|
driver-roccat.c \
|
|
driver-test.c \
|
|
libratbag.c \
|
|
libratbag.h \
|
|
libratbag-hidraw.c \
|
|
libratbag-hidraw.h \
|
|
libratbag-private.h \
|
|
libratbag-test.c \
|
|
libratbag-test.h
|
|
|
|
libratbag_la_LIBADD = \
|
|
libhidpp.la \
|
|
libutil.la \
|
|
$(LIBUDEV_LIBS) $(LIBEVDEV_LIBS)
|
|
|
|
libratbag_la_CFLAGS = -I$(top_srcdir)/include \
|
|
$(LIBUDEV_CFLAGS) \
|
|
$(LIBEVDEV_CFLAGS) \
|
|
$(GCC_CFLAGS)
|
|
EXTRA_libratbag_la_DEPENDENCIES = $(srcdir)/libratbag.sym
|
|
|
|
libratbag_la_LDFLAGS = -version-info $(LIBRATBAG_LT_VERSION) -shared \
|
|
-Wl,--version-script=$(srcdir)/libratbag.sym
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = libratbag.pc
|
|
|
|
AM_CFLAGS = $(GCC_CFLAGS)
|
|
|
|
DISTCLEANFILES = libratbag-version.h
|
|
EXTRA_DIST = libratbag-version.h.in libratbag.sym
|
|
|
|
# The hidpp libraries are static libraries only for in-tree tools. No API
|
|
# stability is guaranteed here.
|
|
libhidpp_la_SOURCES = \
|
|
hidpp-generic.h \
|
|
hidpp-generic.c \
|
|
hidpp10.h \
|
|
hidpp10.c \
|
|
hidpp20.h \
|
|
hidpp20.c
|
|
libhidpp_la_LDFLAGS = -lm
|
|
libutil_la_SOURCES = \
|
|
libratbag-util.c \
|
|
libratbag-util.h
|
|
libutil_la_LIBADD = $(LIBUDEV_LIBS)
|