mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-25 07:00:07 +01:00
Relative devices don't provide a physical resolution to the host. For things like pointer acceleration, the physical amount of movement is better as baseline than the movement in device units. Alas, many devices don't come with any information at all, so the users have to guess. Help that guesswork by providing a tool that does the calculations for them. This tool measures the device units covered, then prints the frequency and an lookup table for various resolutions (in dpi) to match to the physical movement of the device. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
16 lines
534 B
Makefile
16 lines
534 B
Makefile
noinst_PROGRAMS = libevdev-events
|
|
bin_PROGRAMS = \
|
|
touchpad-edge-detector \
|
|
mouse-dpi-tool
|
|
|
|
AM_CPPFLAGS = $(GCC_CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/libevdev
|
|
libevdev_ldadd = $(top_builddir)/libevdev/libevdev.la
|
|
|
|
libevdev_events_SOURCES = libevdev-events.c
|
|
libevdev_events_LDADD = $(libevdev_ldadd)
|
|
|
|
touchpad_edge_detector_SOURCES = touchpad-edge-detector.c
|
|
touchpad_edge_detector_LDADD = $(libevdev_ldadd)
|
|
|
|
mouse_dpi_tool_SOURCES = mouse-dpi-tool.c
|
|
mouse_dpi_tool_LDADD = $(libevdev_ldadd)
|