On Sat, 10 Apr 2010, Stephane Chatty wrote: > Added support for the eGalax dual-touch panel, found on the Asus EeePC > T101MT Thanks a lot for the driver! > + case HID_UP_DIGITIZER: > + switch (usage->hid) { > + case HID_DG_TIPSWITCH: > + /* touchscreen emulation */ > + hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); > + return 1; > + case HID_DG_INRANGE: > + case HID_DG_CONFIDENCE: > + case HID_DG_CONTACTCOUNT: > + case HID_DG_CONTACTMAX: > + return -1; > + case HID_DG_CONTACTID: > + hid_map_usage(hi, usage, bit, max, > + EV_ABS, ABS_MT_TRACKING_ID); > + return 1; > + case HID_DG_TIPPRESSURE: > + hid_map_usage(hi, usage, bit, max, > + EV_ABS, ABS_MT_PRESSURE); > + return 1; > + } > + return 0; > + } > + > + /* ignore others (from other reports we won't get anyway) */ >From other reports we won't get what anyway? Otherwise the driver looks OK to me, I'll add the slab.h include as noticed by Christoph (as implicit slab.h inclusion has gone away in mainline already). Thanks, -- Jiri Kosina SUSE Labs, Novell Inc. -- 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