diff mbox

[3/3,v2] input - wacom_w8001: Add one finger touch support

Message ID 20101229074220.GB13061@core.coreip.homeip.net (mailing list archive)
State New, archived
Headers show

Commit Message

Dmitry Torokhov Dec. 29, 2010, 7:42 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/touchscreen/wacom_w8001.c b/drivers/input/touchscreen/wacom_w8001.c
index ce8c8e1..01489f7 100644
--- a/drivers/input/touchscreen/wacom_w8001.c
+++ b/drivers/input/touchscreen/wacom_w8001.c
@@ -145,6 +145,7 @@  static void parse_multi_touch(struct w8001 *w8001)
 		}
 	}
 
+	input_mt_report_pointer_emulation(dev, true);
 	input_sync(dev);
 }
 
@@ -420,6 +421,9 @@  static int w8001_setup(struct w8001 *w8001)
 						0, touch.y, 0, 0);
 			input_set_abs_params(dev, ABS_MT_TOOL_TYPE,
 						0, MT_TOOL_MAX, 0, 0);
+
+			__set_bit(BTN_TOOL_DOUBLETAP, dev->keybit);
+
 			break;
 		}
 	}