summaryrefslogtreecommitdiff
path: root/test/litest-device-logitech-trackball.c
Commit message (Collapse)AuthorAgeFilesLines
* test: switch to a TEST_DEVICE macro for all the litest test devicesPeter Hutterer2017-09-211-10/+2
| | | | | | | | | | | | | | | | The test device initialization code was a bit of duplicated boilerplate and required adding a reference to the devices to the 'devices' list in litest.c. Automate this with a new TEST_DEVICE macro that adds the devices to a custom section in the binary, then loops throught that section to get the device out. This reduces the boilerplate for each test device to just the TEST_MACRO and the LITEST_foo device enum entry. It also now automates the shortname of the device. The device's shortname was standardised in this approach as well, lowercase and dashes only. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Drop HAVE_CONFIG_H ifdefPeter Hutterer2016-12-011-2/+0
| | | | | | | | We have one. Yay. Lucky us. Go forth and celebrate. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
* Add tagging of trackballsPeter Hutterer2016-05-031-1/+1
| | | | | | | | | | Currently unused, but oh, the possibilities... The only thing we have to go on for trackballs at the moment is whether they have "Trackball" in the name string. All others need to be manually tagged. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
* test: prefix all test device files with litest-devicePeter Hutterer2015-07-131-0/+65
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>