Avoid “'ReverseConvertProc' defined but not used” warning. Move this function next to its unique caller (AceCadPreInit), and only declare/define it when the input ABI is strictly less than 12. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Cyril Brulebois <kibi@debian.org>
config: simplify configuration regarding sysfs headers and library. Replace deprecated AC_HEADER_CHECK with AC_CHECK_HEADERS AC_CHECK_LIB ensures sysfs library is present and adds -lsysfs AC_CHECK_HEADERS verifies sysfs and linux input headers are present Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Initial support for device autodetection. When the "Device" option is missing or set to "auto-dev" the acecad module will attempt autodetection of the correct device. Currently, it will probe all /dev/input/eventX nodes until one is found that reports a device name that begins with "ACECAD".