On Fri, Mar 16, 2012 at 05:33:03PM -0300, Tiago Vignatti wrote:
> mtdev library translates all multitouch based devices to the slotted evdev
> protocol. It provides an uniform interface for Weston, which eases mt
> implementation when dealing with a big variety of devices.
>
> Weston on drm now di
On 03/17/2012 09:30 AM, Daniel Stone wrote:
Hi,
On 16 March 2012 20:33, Tiago Vignatti wrote:
@@ -334,7 +337,11 @@ evdev_input_device_data(int fd, uint32_t mask, void *data)
if (!ec->focus)
return 1;
- len = read(fd,&ev, sizeof ev);
+ if (device->mtdev)
+
Hi,
On 16 March 2012 20:33, Tiago Vignatti wrote:
> @@ -334,7 +337,11 @@ evdev_input_device_data(int fd, uint32_t mask, void
> *data)
> if (!ec->focus)
> return 1;
>
> - len = read(fd, &ev, sizeof ev);
> + if (device->mtdev)
> + len = mtdev_get(dev
mtdev library translates all multitouch based devices to the slotted evdev
protocol. It provides an uniform interface for Weston, which eases mt
implementation when dealing with a big variety of devices.
Weston on drm now directly depends on such library.
Signed-off-by: Tiago Vignatti
Reviewed-b