summaryrefslogtreecommitdiff
path: root/test/litest-device-huion-pentablet.c
AgeCommit message (Collapse)AuthorFilesLines
2018-06-08Switch from udev property parsing to the quirks systemPeter Hutterer1-10/+5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-09-21test: switch to a TEST_DEVICE macro for all the litest test devicesPeter Hutterer1-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>
2017-09-20tablet: add a quirk for the HUION PenTablet that doesn't send proximity out ↵Peter Hutterer1-4/+11
events Could be fixed in the kernel, but these tablets are effectively abandoned and fixing them is a one-by-one issue. Let's put the infrastructure in place to have this fixed once for this type of device and move on. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Yay-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
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-01-11test: fix a bunch of tablet tests for pressure threshold introductionPeter Hutterer1-0/+1
Preparation work for a pressure threshold where we can't just send a BTN_TOUCH and expect it to trigger the tip event. So the event sequence now needs to resemble the right order so the threshold will be triggered. In some cases requires processing an axis event before the tip event. That behavior will be changed in a follow-up commit. It also requires that all tablets set ABS_PRESSURE on proximity in. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Jason Gerecke <jason.gerecke@wacom.com>
2015-12-14test: set default axis values for all tablet devicesPeter Hutterer1-0/+14
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-12-11test: add the HUION PenTablet devicePeter Hutterer1-0/+98
Tablet with pressure and proximity but no distance axis. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>