summaryrefslogtreecommitdiff
path: root/test/litest-device-wacom-intuos3-pad.c
AgeCommit message (Collapse)AuthorFilesLines
2017-09-21test: switch to a TEST_DEVICE macro for all the litest test devicesPeter Hutterer1-11/+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>
2016-12-01Fix the license for a bunch of tablet test devicesPeter Hutterer1-16/+17
In bc9f16b40e23a1d25c105a4207b97d65253f0d98 the license was updated from MIT X11 to MIT Expat, see that commit for details. These devices came in from the tablet-support branch which didn't get updated, any new tablet device that used those as templated thus copied the license. Fix this, make the license text the same as all other files. 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>
2016-12-01Drop HAVE_CONFIG_H ifdefPeter Hutterer1-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>
2016-04-18test: tablet pad testsPeter Hutterer1-0/+117
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Carlos Garnacho <carlosg@gnome.org>