On Thu, Jul 09, 2015 at 08:06:28AM +0200, Andreas Pokorny wrote:
> Hi,
>
>
> On Wed, Jul 8, 2015 at 1:03 AM, Peter Hutterer
> wrote:
>
> > > +double
> > > +evdev_device_transform_touch_point_to_mm(struct evdev_device *device,
> > > + int32_t axis_value,
> >
Hi,
On Wed, Jul 8, 2015 at 1:03 AM, Peter Hutterer
wrote:
> > +double
> > +evdev_device_transform_touch_point_to_mm(struct evdev_device *device,
> > + int32_t axis_value,
> > + double axis_angle)
>
> oh dear. I just spent
Some model-specific information isn't available through udev properties. This
callout is used to query the device directly and set a property that we can
then match on for the hwdb entries.
This is geared for Elantech and ALPS touchpads where the firmware version is
the interesting bit. The udev r
On Wed, Jul 08, 2015 at 02:34:43PM +0200, Hans de Goede wrote:
> Hi,
>
> On 01-07-15 08:08, Peter Hutterer wrote:
> >Only firmware v4 (and probably whatever comes in the future) have resolution
> >set, for the first couple of touchpads we need size hints. Add a callout that
> >looks at the propert
All your objections sounds like you are confusing the implementation with
the abstraction that the client program sees. A few examples:
On Wed, Jul 8, 2015 at 4:47 AM, Daniel Stone wrote:
> Yes this also creates
> > multiple C structures in the server, to keep track of the actual client
> > comm
The documentation for the wl_registry global object is partially
incorrect. It stated that clients can use wl_display_sync immediately
after calling wl_display.get_registry however this is misleading. If a
client calls wl_display_sync without first setting up a registry
listener, then clients will
On Tue, 23 Jun 2015 18:19:38 -0700
"Jon A. Cruz" wrote:
>
> Oh I forgot an item on the placement of comments.
>
>
> On 06/23/2015 04:31 PM, Jon A. Cruz wrote:
> >
> > Minor doxygen note: the explicit "\brief" is not needed, and the brief
> > description should end with a '.' to allow the auto
Hi,
On 08-07-15 15:11, Hans de Goede wrote:
Hi,
On 08-07-15 08:56, Peter Hutterer wrote:
The touchpads currently all send a default value of 30 for ABS_PRESSURE. For
some tests we want to have a custom pressure but changing all tests isn't
sensible. So hook each device up to send a default val
Hi,
On 08-07-15 08:56, Peter Hutterer wrote:
The touchpads currently all send a default value of 30 for ABS_PRESSURE. For
some tests we want to have a custom pressure but changing all tests isn't
sensible. So hook each device up to send a default value of 30 if it isn't
overridden in the test it
Hi,
On 06-07-15 06:34, Peter Hutterer wrote:
Watching a colleague try clickfinger right-click after enabling it the first
time showed that the vertical distance is too small. Increase it to 30mm
instead.
Increase the allowed spread between fingers to 40x30mm, but check if one of
the fingers is
Hi,
On 06-07-15 06:26, Peter Hutterer wrote:
No functional changes, just so we can group those helpers together.
Signed-off-by: Peter Hutterer
The entire series LGTM:
Reviewed-by: Hans de Goede
Regards,
Hans
---
test/touchpad.c | 26 +-
1 file changed, 13 in
Hi,
On 01-07-15 08:08, Peter Hutterer wrote:
Now that we have all devices init a fixed resolution we don't need code to
handle custom cases anymore.
Signed-off-by: Peter Hutterer
LGTM: Reviewed-by: Hans de Goede
Regards,
Hans
---
src/evdev-mt-touchpad-buttons.c | 65 ++---
Hi,
On 01-07-15 08:08, Peter Hutterer wrote:
The previous approach of using the axis ranges and approximating parameters
based on the x/y axis range clutters up the code and is generally unreliable.
If we look at Synaptics touchpads, the resolution ranges from 42 to 130 while
the axes stay the s
Hi,
On 01-07-15 08:08, Peter Hutterer wrote:
Signed-off-by: Peter Hutterer
LGTM: Reviewed-by: Hans de Goede
Regards,
Hans
---
udev/90-libinput-model-quirks.hwdb | 1 +
1 file changed, 1 insertion(+)
diff --git a/udev/90-libinput-model-quirks.hwdb
b/udev/90-libinput-model-quirks.hwdb
Hi,
On 01-07-15 08:08, Peter Hutterer wrote:
Signed-off-by: Peter Hutterer
LGTM: Reviewed-by: Hans de Goede
Regards,
Hans
---
udev/90-libinput-model-quirks.hwdb | 4
udev/libinput-model-quirks.c | 20
2 files changed, 24 insertions(+)
diff --git a/ud
Hi,
On 01-07-15 08:08, Peter Hutterer wrote:
Only firmware v4 (and probably whatever comes in the future) have resolution
set, for the first couple of touchpads we need size hints. Add a callout that
looks at the properties on the touchpad and decides the firmware version.
The udev/hwdb is two-
Hi,
On 01-07-15 08:08, Peter Hutterer wrote:
Touchpads, notably Elantech, ALPS and bcm5974 don't provide x/y resolution
until recent generations.
Add a new property, LIBINPUT_ATTR_SIZE_HINT, that provides size information to
libinput. Note that this property *does not* override true resolution v
Hi,
On 01-07-15 08:08, Peter Hutterer wrote:
Signed-off-by: Peter Hutterer
LGTM: Reviewed-by: Hans de Goede
Regards,
Hans
---
src/libinput-util.c | 30 ++
src/libinput-util.h | 2 ++
test/misc.c | 47 +
Hi,
On 01-07-15 08:08, Peter Hutterer wrote:
The only two callers passed in the fake resolution anyway, so we don't need
extra parameters here.
We don't allow devices with only x or y resolution set, either both or none.
And we can use libevdev_set_abs_resolution() rather than handling absinfo
s
Hi,
On 01-07-15 08:08, Peter Hutterer wrote:
udev requires callout binaries to sit in /lib/udev or otherwise provide an
absolute path. The test suite should work without installing everything first,
so create two rule files - one to install, one with the path to the
$builddir/test
Signed-off-by
Hi,
On 7 July 2015 at 21:15, Bill Spitzak wrote:
> On Mon, Jul 6, 2015 at 11:53 PM, Pekka Paalanen wrote:
>> Multiple "handles" to the same underlying server-side object from
>> completely asynchronous contexts (different processes). I can't see
>> that ending well at all, considering that *noth
On 7 July 2015 at 19:48, Bill Spitzak wrote:
> On Tue, Jul 7, 2015 at 11:11 AM, Daniel Stone wrote:
>> More correctly, they are never called (which would happen on receipt
>> of a server event) because it only ever binds wl_output v1, where the
>> done/scale events were added in v2, so the server
Hi,
On 8 July 2015 at 09:55, Giulio Camuffo wrote:
> @@ -1552,10 +1558,7 @@ notify_touch(struct weston_seat *seat, uint32_t time,
> int touch_id,
> if (touch->num_tp == 1) {
> ev = weston_compositor_pick_view(ec, x, y, &sx, &sy);
>
This makes it consistent with the pointer grab, which also gets
global coordinates and not surface relative ones, and allows to
easily filter out gestures based on compositor global hotspots.
---
desktop-shell/shell.c | 14 ++
src/data-device.c | 2 +-
src/input.c | 20 +
On Wed, Jul 01, 2015 at 05:56:13PM +0300, Pekka Paalanen wrote:
> From: Pekka Paalanen
>
> An experimental (hence the 'z' prefix) linux_dmabuf Wayland protocol
> extension for creating dmabuf-based wl_buffers in a generic manner.
>
> This does not include proper dmabuf metadata negotiation becau
25 matches
Mail list logo