Re: [PATCH] Support for the eGalax dual-touch panel

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

 



Am Samstag, den 10.04.2010, 16:43 +0200 schrieb Stephane Chatty:
> Added support for the eGalax dual-touch panel, found on the Asus EeePC T101MT

> diff -rupN a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c

> +#include <linux/device.h>
> +#include <linux/hid.h>
> +#include <linux/module.h>
> +#include <linux/usb.h>

add #include <linux/slab.h>

> +	if (!td->valid) {
> +		/*
> +		 * touchscreen emulation: if the first finger is invalid
> +		 * and there previously was finger activity, this is a release
> +		 */ 
whitespace

> +	ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
> +	if (ret)
> +		goto end;
> +
> +	report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[5]; 
whitespace



--
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