summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo in NEWSPeter Hutterer2016-06-171-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.21libwacom-0.21Peter Hutterer2016-06-172-2/+7
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Add ISDv4 0x114 (Lenovo ThinkPad Tablet 10 - 1st gen)Jason Gerecke2016-06-171-0/+14
| | | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* layouts: Fix some stacking issues in EKR layoutCarlos Garnacho2016-06-101-49/+49
| | | | | | | | | | | | When buttons are themed with a fill color: - The button P leader is drawn below the Q button - The button N is drawn above its own leader - The button A leader is drawn below the B button Reorder things a bit so this is not an issue. Signed-off-by: Carlos Garnacho <carlosg@gnome.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* layouts: Center the EKR layout on the documentCarlos Garnacho2016-06-101-2/+2
| | | | | | | | | | | | | | | | | | | The gnome OSD uses the document size in order to display the SVG, this is usually desirable as pad buttons must be placed relative to their real location in the tablet. In the EKR case, the layout sits somewhere in between in the document, not even centered horizontally or vertically, so applying the same sizing logic that's usually desirable for integrated pads comes out with the EKR layout sitting in an equally seemingly random place in the screen. Changing the document size to fit the layout better results in the OSD layout being nicely centered, and using the maximum space available. Signed-off-by: Carlos Garnacho <carlosg@gnome.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* layouts: change the EKR button Q/R alignmentsPeter Hutterer2016-06-101-149/+145
| | | | | | | | | Bring the Q button in line with the left set, the R button in line with the right set so that clients only need to worry about horizontal layouts rather than vertical layouts as well. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Carlos Garnacho <carlosg@gnome.org>
* data: Update layouts for Intuos tabletsJason Gerecke2016-06-094-74/+66
| | | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: Add udev rules quirk for Wireless Accessory KitJason Gerecke2016-06-091-0/+17
| | | | | | | | | | | Although the kernel modifies the PID of devices connected to the system through Wacom's Wireless Accessory Kit to match that of the actual tablet, it does not look like udev is aware of this change and instead matches on the VID/PID of the kit's dongle. To ensure devices connected this way are properly tagged, add general-purpose matches for the kit. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Add the MTE-450 "Bamboo"Jason Gerecke2016-06-092-0/+200
| | | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.20libwacom-0.20Peter Hutterer2016-06-082-2/+6
|
* data: add makefile hook to verify all files are in gitPeter Hutterer2016-06-063-3/+21
| | | | | | | | | | Use a trick to verify git is there. configure.ac falls back to /usr/bin/false if git is missing from the path, so any git command will fail. Since we check whether we're in a git directory first (to handle tarballs) this will fail with /usr/bin/false and that code-path is not met. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
* data: check for missing or unreferenced svg filesPeter Hutterer2016-06-063-2/+22
| | | | | | | | | | | Oh shell-fu, don't leave me now. In data/, check for any svg files that are listed as Layout but don't exist. In data/layout, check for any existing file that's not listed in the tablet files. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
* data: Add "One by Wacom" medium and smallJason Gerecke2016-06-032-0/+46
| | | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: fix Layout for Intuos S PT2Peter Hutterer2016-06-011-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* layouts: fix the anchors of some svg button labelsBenjamin Tissoires2016-05-319-20/+20
| | | | | | | | | If g-s-d is to rely on the actual anchor position and orientation of the labels, we need to make sure our labels are correct. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Ping Cheng <pingc@wacom.com>
* ek-remote: fix the buttons declarationBenjamin Tissoires2016-05-311-3/+3
| | | | | | | | | | | | | | The ASCII art had a glitch. The buttons are not left/right. They are all grouped into the same logical group. Note that g-s-d now needs to be updated to not count on the button flags to place the label, but actually rely on the SVG position which is correct. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Ping Cheng <pingc@wacom.com>
* Fixes for the Wacom ExpressKey Remote SVGBenjamin Tissoires2016-05-311-315/+394
| | | | | | | | | | The SVG has been squared a bit and aligned properly. g-s-d still needs fixes to rely on the actual anchors of the SVG, but this will come later. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Ping Cheng <pingc@wacom.com>
* libwacom 0.19libwacom-0.19Peter Hutterer2016-04-262-2/+8
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Add data for ISDv4 0x504aCarlos Garnacho2016-04-221-0/+14
| | | | | | | This device will be found in Lenovo Yoga 460 Signed-off-by: Carlos Garnacho <carlosg@gnome.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: add a quirk for the HUION Consumer Control device in the udev rulesPeter Hutterer2016-04-151-0/+12
| | | | | | | | | | | These devices have the same VID/PID as the tablet devices but are effectively keyboards. Labelling them as tablets causes a libinput crash (fixed in libinput with 1.2.1-5-g5d904b6). https://bugzilla.redhat.com/show_bug.cgi?id=1314955 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Ping Cheng <pingc@wacom.com>
* Add .data files for DTK-1651Ping Cheng2016-04-142-0/+178
| | | | | | | svg file was created by our in-house SVG expert, Jason Gerecke. Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.18libwacom-0.18Jason Gerecke2016-01-062-2/+16
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* data: add missing Bamboo third-generation (0xdc, 0xdd, 0xdf)Jason Gerecke2015-12-175-0/+332
| | | | | | | SVGs copied from existing third-generation 0xde tablet. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: add all Bamboo second-generation (0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb)Jason Gerecke2015-12-1712-0/+889
| | | | | | | | SVGs copied from existing first-generation tablets (physical button layout is identical between both generations). Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: add first-generation Bamboo pen medium (0xd5)Jason Gerecke2015-12-171-0/+23
| | | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Enforce naming scheme on Bamboo tablet and SVG filesJason Gerecke2015-12-1711-10/+10
| | | | | | | | | We'll be adding a lot of Bamboo tablets shortly, so to prevent collisions and visually group the tablet files, rename the existing Bamboos to use a common naming scheme. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: Minor tweaks/updates/renames to Bamboo tabletsJason Gerecke2015-12-1711-22/+24
| | | | | | | | Makes a number of small tweaks to the Bamboo data including renaming the tablets to better match their marketing names. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.17libwacom-0.17Peter Hutterer2015-12-072-2/+8
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add support for the ExpressKey RemoteAaron Skomra2015-12-017-3/+479
| | | | | Signed-off-by: Aaron Skomra <aaron.skomra@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* added Wacom Cintiq Companion 2 (DTH-1310) tablet and svg fileFriedrich Beckmann2015-11-302-0/+323
| | | | | Signed-off-by: Friedrich Beckmann <friedrich.beckmann@gmx.de> Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* libwacom 0.16libwacom-0.16Peter Hutterer2015-11-132-2/+6
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add .data files for Intuos 2 seriesPing Cheng2015-11-0510-1/+341
| | | | | | | | | A new stylus id, 0x8e2, is added to libwacom.stylus since stylus for this series reports data in old Intuos format, which support tool serial number and tool ID. Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add .data files for Intuos seriesPing Cheng2015-11-057-4/+112
| | | | | | | | All svg files are created based on intuos-m-p.svg. People with Inkscape experience can fine-tune the layouts if necessay. Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.15libwacom-0.15Peter Hutterer2015-07-082-2/+7
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: add ISDv4 0x4800Jason Gerecke2015-06-171-0/+12
| | | | | | | | Adds the 056a:4800 (WCOM4800) AES sensor found on the Dell Venue 10 5050 Android tablet. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Support devices connected over I2CJason Gerecke2015-06-173-2/+12
| | | | | | | | | Add a new WBUSTYPE_I2C and other supporting changes to allow libwacom to recognize a tablet definition which has "i2c" for the bus (instead of e.g. "usb"). Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Interpret PRODUCT bus ID as hexadecimalJason Gerecke2015-06-171-1/+1
| | | | | | | | The bus ID returned from udev in the PRODUCT attribute is a hexadecimal value, not decimal. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Only call g_type_init() for glib < 2.36Peter Hutterer2015-06-022-0/+7
| | | | | | Call is deprecated Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Set error to NULL if vasprintf failsPeter Hutterer2015-06-021-1/+2
| | | | | | | The contents of the pointer are undefined when vasprintf fails. NULL is the least confusing result here. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: assert on asprintf failurePeter Hutterer2015-06-021-4/+4
| | | | | | | When asprintf returns -1, the pointer is undefined. Assert on failure, mostly to shut up coverity. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libwacom 0.14libwacom-0.14Peter Hutterer2015-06-022-2/+8
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Plug a memory leak in update_matchPeter Hutterer2015-05-261-2/+3
| | | | | | | match.name is strdup'd() and needs to be freed on exit. If we use the match, libwacom_copy_match() will strdup again anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: match on ATTRS, not ENV to apply to the uinput event node directlyPeter Hutterer2015-05-071-1/+2
| | | | | | | | | | | ENV{PRODUCT} is set only on the /sys/class/input/inputXX node, not on the event node itself. Thus, we never set the properties on the device node itself. Match on ATTRS{id/vendor} and {id/product} instead, this way we can apply the various ID_INPUT_ tags directly on the node. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: assign ID_INPUT_* to uinput devices tooPeter Hutterer2015-05-071-16/+26
| | | | | Reported-by: Reynolds, Doug" <doug.reynolds@hp.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: split match string generation offPeter Hutterer2015-05-071-11/+22
| | | | | | | | | No functional changes. We need to assign the custom ID_INPUT_* tags to uinput devices so it's easiest to generate a specific match string and append all the custom tags to it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: print a marker before the uinput rules startPeter Hutterer2015-05-071-0/+1
| | | | | | Just to make it easier to locate Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: the model name of Cintiq 21UX is DTZ-2100Ping Cheng2015-04-271-1/+1
| | | | | | | Just to correct the device model name. Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: cintiq 22hdt supports touchPing Cheng2015-04-221-1/+1
| | | | | Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* data: add cintiq 13hdt tabletPing Cheng2015-04-221-0/+43
| | | | | Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: don't label integrated tablets as touchpadsPeter Hutterer2015-04-211-2/+6
| | | | | | | If it's display- or system-integrated it can only be a touchscreen. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Tested-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>