| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
| |
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jason Gerecke <killertofu@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
| |
Signed-off-by: Aaron Skomra <aaron.skomra@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
| |
Signed-off-by: Friedrich Beckmann <friedrich.beckmann@gmx.de>
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Call is deprecated
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Reported-by: Reynolds, Doug" <doug.reynolds@hp.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Just to make it easier to locate
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
| |
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
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>
|