Re: Preferred way for a multitouch driver?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Florian Echtler writes:

> Hello everyone,
>
> I've just bought a Lenovo S10-3t convertible netbook, and now I'm
> experimenting with the "multitouch" screen (dual-touch, rather). It's
> being recognized as a HID device, and using hid-device-dump, I can
> nicely read the reports of both fingers. There's also some hacks
> floating around which use xf86-input-hidtouch, but AFAICT that doesn't
> do any kind of multitouch.
>
> From lurking here on the list, I've gathered that the evdev interface
> by now fully supports all kinds of multitouch events, so I guess the
> preferred way would be a hiddev-to-evdev bridge of some kind, right?

You don't need that -- HID drivers already generate evdev events.

> Can somebody point me into the right direction, e.g. to some other
> driver which also works that way?

You can find them by grepping for ABS_MT_ in the drivers/hid/ directory.
hid-3m-pct, hid-magicmouse, hid-mosart, hid-ntrig, hid-quanta and
hid-stratum all generate multitouch events.  Most of them use standard
HID report descriptors; however, hid-magicmouse has to translate input
reports that don't have published descriptors.  Depending on how the
screen behaves, you'll probably want to look more at the other drivers
than hid-magicmouse.

Michael Poole
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux