summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add Coverity integration to .travis.ymlcoverityJason Gerecke2018-01-041-2/+18
| | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* data: Add missing Graphire tabletsJason Gerecke2018-01-042-0/+56
| | | | | | https://github.com/linuxwacom/libwacom/issues/3 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* data: Add Lenovo Miix 720Jason Gerecke2018-01-041-0/+14
| | | | | | https://github.com/linuxwacom/libwacom/issues/11 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* data: Add Lenovo ThinkPad X1 Yoga 2nd-generationJason Gerecke2018-01-041-0/+14
| | | | | | https://github.com/linuxwacom/libwacom/issues/10 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* data: Add Lenovo Yoga 920Jason Gerecke2018-01-041-0/+14
| | | | | | https://github.com/linuxwacom/libwacom/issues/4 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* data: Add ThinkPad Yoga 370Jason Gerecke2018-01-041-0/+14
| | | | | | https://github.com/linuxwacom/libwacom/issues/7 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* data: Add several ISDv4 tablet definitionsJason Gerecke2018-01-043-0/+42
| | | | | | | | | | | Adds support for the following tablets: * Lenovo Yoga 720 15" * Lenovo Yoga 720 13" * Lenovo Yoga 260 (0x5090) https://github.com/linuxwacom/libwacom/issues/8 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* Add .data files for Cintiq Pro 24 and 32Jason Gerecke2017-12-193-0/+134
| | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* libwacom 0.27libwacom-0.27Peter Hutterer2017-12-082-2/+11
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: add XP-Pen Star 03 tabletakktor2017-11-152-0/+188
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add Travis-CI integrationJason Gerecke2017-11-141-0/+16
| | | | | | | | | | | Adds a .travis.yml file which allows the Travis-CI service to build and test the project. This should ensure we're immediately warned of potential issues even if someone forgets to run the test suite before pushing. The build is performed with "-Wall -Wextra -Werror" (with only a handful of currently-necessary exceptions) on both GCC and Clang. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add new stylus type "3D" for the new "Pro Pen 3D"Jason Gerecke2017-11-094-2/+6
| | | | | | | | | The new "Pro Pen 3D" is sufficiently different from the other pen types that it deserves new type. This makes it easier for userspace to provide appropriate UI and suggested button assignments. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add Pro Pen 3DJason Gerecke2017-11-099-8/+16
| | | | | | | | | | The Wacom Pro Pen 3D includes a third barrel switch which is intended to be particularly useful in applications where one frequency uses pan, zoom, and rotate to navigate around a scene or model. The pen is compatible with the MobileStudio Pro, 2nd-gen Intuos Pro, and Cintiq Pro. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add new 'EvdevCodes' key to the Buttons sectionJason Gerecke2017-11-0824-0/+1018
| | | | | | | | | | | | | The button number to evdev code mapping is non-predictable on some tablets and needs to be hardcoded in the device files. Some heuristics is employed here so we don't have to add it to all files, only the ones that fall out of the heuristics for a specific class. The Huion 610 Pro currently warns about unknown mappings. This requires someone with that device to fix it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Add Dell Canvas 27Benjamin Tissoires2017-11-081-0/+37
| | | | | | | | | The touchscreen part is not from Wacom, so we need to teach libwacom and libinput that both are part of the same device group for them to do touch arbitration. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Mark 2nd-gen non-professional "Intuos" devices (CTH-X90) as "Bamboo" classJason Gerecke2017-10-034-4/+4
| | | | | | | | | | These devices are much more similar to the Bamboo line of devices than to the original professional "Intuos" devices (GD-XXXX) that are nearly 20 years old at this point. The 1st-gen non-professional "Intuos" devices (CTH-X80) are also marked as "Bamboo" class, FWIW. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Add ISDv4 4831 (Dell XPS 13 9365)Jason Gerecke2017-09-141-0/+14
| | | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.26libwacom-0.26Peter Hutterer2017-08-252-2/+8
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Add more ISDv4 devicesJason Gerecke2017-08-256-0/+84
| | | | | | | | | | | Dell Venue 8 Pro 5855 (0x4809 and 0x4824) HP EliteBook x360 1030 G2 (0x481a) Dell XPS 12 9250 (0x4822) Dell Latitude 5285 (0x484c) Lenovo ThinkPad T550 (0x5010) Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Add .tablet file for DTH-1152Aaron Armstrong Skomra2017-07-141-0/+23
| | | | | Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Add .tablet files for Wireless Intuos Pro second generationAaron Armstrong Skomra2017-06-015-6/+140
| | | | | | | | Also correct width and height for intuos-pro-2-l.tablet, cintiq-pro-13.tablet and cintiq-pro-16.tablet. Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.25libwacom-0.25Peter Hutterer2017-05-112-2/+8
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add isdv4-4814 tablet descriptionHein-Pieter van Braam2017-05-111-0/+14
| | | | | | | This device was found on a HP Elite x2 1012 G1. It is a copy of the previously existing 4800 definition. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Fix compiler warning about possibly truncated file namePeter Hutterer2017-05-101-2/+2
| | | | | | | | | | | | list-local-devices.c:98:35: warning: ā€˜%sā€™ directive output may be truncated writing up to 255 bytes into a region of size 52 [-Wformat-truncation=] snprintf(fname, 63, "/dev/input/%s", namelist[i]->d_name); Can't happen here, but rather than disable a potentially useful warning just up the path to the max size. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* data: Add USB Graphire tabletJason Gerecke2017-04-181-0/+28
| | | | | | | https://github.com/linuxwacom/wacom-hid-descriptors/issues/3 Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: add multiple missing ISDv4 devicesJason Gerecke2017-03-1011-0/+165
| | | | | | | | | | | | | | | | | | | | Adds the following devices which are present in the wacom-hid-descriptors database but not libwacom: * E2 (HP Pavillion dv6) * 104 (Cube i7 Stylus) * 10E (Fujitsu Lifebook T732) * 117 (Panasonic Toughbook CF-C2) * 124 (Fujitsu ARROWS Tab QH55/M) * 5013 (Toshiba dynabook KIRA L93/39M) * 5014 (Lenovo ThinkPad Helix 2) * 503E (Lenovo ThinkPad X1 Yoga) * 503F (Lenovo ThinkPad Yoga X1) * 5048 (Lenovo ThinkPad Yoga 260) * 5044 (Lenovo ThinkPad Yoga 260) Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: add support for Cintiq Pro 13 & 16Aaron Armstrong Skomra2017-03-022-0/+90
| | | | | | | These devices have no buttons, hence no .svg files. Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.24libwacom-0.24Aaron Armstrong Skomra2017-02-142-2/+7
| | | | Signed-off-by: Aaron Armstrong Skomra <skomra@gmail.com>
* data: Add support for the second generation Intuos ProAaron Armstrong Skomra2017-02-014-0/+780
| | | | | Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.23libwacom-0.23Peter Hutterer2017-01-202-2/+7
|
* data: Add data and SVG files for MobileStudio ProJason Gerecke2016-11-155-3/+745
| | | | | | | | | | | | | | Note that the MobileStudio Pro introduces a new "Pro Pen" which supports 8K pressure levels. The ID of this pen is identical to that of a (less featureful) pen used by the Intuos2, so we have to slightly modify the existing entry. Ideally, we would have some way to define multiple pens which share the same IDs (which apparently, according to the technical experts, are not guaranteed unique outside of a hardware generation). Such a change will require serious design and planning that are outside of the immediate scope of this patch. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: add ISDV4 5040 (Lenovo X1 Yoga)Robert de Rooy2016-11-111-0/+17
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: set the 22HD(T) to allow for touch strip modesPeter Hutterer2016-11-112-0/+4
| | | | | | | | | | | | | | | | | There is no physical LED to show the current mode, but the tablet was clearly intended to be used that way [1] and we already reserve two buttons as mode switch buttons anyway. Declare it correctly and let the userspace stack worry about displaying mode switches (it's already responsible for changing LEDs anyway). [1] "The ambidextrous design of the Cintiq 22HD touch features a pair of rear-mounted Touch Strips, along with accompanying Touch Strip Toggle buttons. Each controls up to four application-specific functions, such as brush size, zooming, scrolling and on-screen canvas rotation." https://buywacom.com.au/cintiq-22hd-touch.html Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Ping Cheng <pingc@wacom.com>
* Handle error case of missing parentPeter Hutterer2016-08-161-0/+2
| | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Ping Cheng <pingc@wacom.com>.
* libwacom 0.22libwacom-0.22Peter Hutterer2016-07-202-2/+7
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Merge branch 'wip/paired-devices-v2'Peter Hutterer2016-07-1814-62/+184
|\
| * Add libwacom_get_paired_device()Peter Hutterer2016-07-0714-1/+87
| | | | | | | | | | | | | | | | | | | | | | | | On some devices we have a different PID for the touch device which makes grouping the two devices harder in userspace. Provide a call to fetch those. The call is identical to the DeviceMatch approach but only one ID is allowed for the PairedID. It would get more difficult if we have an NxM match to paired ID, in that case it's likely best to have separate data files. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Tested-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
| * Rework libwacom_udpate_match() to take a WacomMatch pointerPeter Hutterer2016-07-073-23/+36
| | | | | | | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Tested-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
| * Split parsing a match string out into a helper functionPeter Hutterer2016-07-071-15/+27
| | | | | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
| * Move printing and freeing a WacomMatch into helper functionsPeter Hutterer2016-07-072-26/+34
| | | | | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
| * Ignore tablet files without a DeviceMatch linePeter Hutterer2016-07-071-1/+4
| | | | | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* | data: enable modes on the ExpressKey RemoteBenjamin Tissoires2016-07-151-2/+2
|/ | | | | | | | | | | | | | | | | | | While it's true modes are read-only and it doesn't change a bit on X.org, under wayland, we need to have the number of modes and the toggle key. The first change in X.org is that now g-s-d calls gsd-wacom-led-helper to try to set the LED, but this just fails and no one cares actually. The second change is that now the OSD shows modes and might be out of sync with the actual mode in use. It's not a big issue as right now g-c-c doesn't show anything for the EKR so users who are actually using the OSD played with dconf and are not beginners. Given that g-c-c needs fixes for the EKR, we can also make sure g-s-d updates the mode according to what the hardware provides. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Fix a couple of whitespace indentation issuesPeter Hutterer2016-07-071-6/+6
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: Display name of tablet in show-svg-image titlebarJason Gerecke2016-06-221-0/+1
| | | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Standardize location of buttons on Intuos tabletsJason Gerecke2016-06-222-4/+2
| | | | | | | | | | The medium pen-only Intuos (first and second-gen) tablets have their button location set to left/right while all the other devices in the same family have their button location as "top". This patch standardizes the postion so all devices in the family have their buttons on "top". Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: Fix show-svg-image to work with current rsvgJason Gerecke2016-06-221-2/+9
| | | | | | | | | As described in the gtk+ project's commit 7b4f82c, the rsvg loader apparently now restricts what external files it will load from an SVG. As a workaround, the data can be embedded in a data: URI. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Correct SVGs for 2nd-gen consumer "Intuos" devicesJason Gerecke2016-06-224-122/+86
| | | | | | | | | The SVGs for the 2nd-gen consumer "Intuos" devices appear to have been just copy/pasted from the first generation, despite differences in appearance. This updates the SVGs to appear correctly. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: Strengthen buttons_have_direction checkJason Gerecke2016-06-221-3/+3
| | | | | | | | | The buttons_have_direction check currently only checks if /any/ tablet button has its direction set. We strengthen this check so that it returns true only if /all/ buttons have a direction set. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: Require reversible tablets to have left/right buttonsJason Gerecke2016-06-221-0/+26
| | | | | | | | | | | | | | | | The "reversible" flag is supposed to indicate if a device can be rotated 180 degrees for left-handed use. A number of tablets currently set this flag even though they only have buttons along the top, which makes no sense -- rotating the tablet (though possible) gains a left-handed user absolutely nothing. This updates the device tests to require that reversible tablets have buttons on the left or right. The no-button case is specifically ignored to allow several tablets in a family of reversible tablets to continue to pass. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Clear "reversible" flag on several tabletsJason Gerecke2016-06-229-9/+9
| | | | | | | | | | The first- and second-generation consumer "Intuos" tablets have all their buttons and USB pigtail along the top edge of the tablet. This isn't really a reversible layout (though I suppose if one was determined enough...) so disable the flag. This also applies to the 0fg Bamboo. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>