summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuihong Luo <huisinro@google.com>2019-09-04 13:11:33 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-09-04 13:11:33 -0700
commitb0dbbd586ad2896edbbe188ab00bd36963730498 (patch)
tree259254ae17d7480f7f49cdd8cdc04f8ccc61f134
parent8b6258938b349790c3e6e1cba8a878cfa691ae23 (diff)
parentef6abc60a3dba578b29ab0ce79f63203fe49290b (diff)
downloadgoldfish-temp_140451723.tar.gz
Merge "Input devices for physical display emulation"temp_140451723
am: ef6abc60a3 Change-Id: Ie73b25ddf10e1f61f67b9e1c80da1c8bc4efa9a3
-rw-r--r--input-mt/virtio_input_multi_touch_1.idc7
-rw-r--r--input-mt/virtio_input_multi_touch_2.idc12
-rw-r--r--input-mt/virtio_input_multi_touch_3.idc12
-rw-r--r--input-mt/virtio_input_multi_touch_4.idc12
-rw-r--r--input-mt/virtio_input_multi_touch_5.idc12
5 files changed, 55 insertions, 0 deletions
diff --git a/input-mt/virtio_input_multi_touch_1.idc b/input-mt/virtio_input_multi_touch_1.idc
new file mode 100644
index 00000000..f740c047
--- /dev/null
+++ b/input-mt/virtio_input_multi_touch_1.idc
@@ -0,0 +1,7 @@
+device.internal = 1
+
+touch.deviceType = touchScreen
+touch.orientationAware = 1
+
+cursor.mode = navigation
+cursor.orientationAware = 1
diff --git a/input-mt/virtio_input_multi_touch_2.idc b/input-mt/virtio_input_multi_touch_2.idc
new file mode 100644
index 00000000..548d5b0e
--- /dev/null
+++ b/input-mt/virtio_input_multi_touch_2.idc
@@ -0,0 +1,12 @@
+device.internal = 1
+
+touch.deviceType = touchScreen
+touch.orientationAware = 1
+
+cursor.mode = navigation
+cursor.orientationAware = 1
+
+# This displayID matches the unique ID of the virtual display created for Emulator.
+# This will indicate to input flinger than it should link this input device
+# with the virtual display.
+touch.displayId = local:1
diff --git a/input-mt/virtio_input_multi_touch_3.idc b/input-mt/virtio_input_multi_touch_3.idc
new file mode 100644
index 00000000..d255d5fa
--- /dev/null
+++ b/input-mt/virtio_input_multi_touch_3.idc
@@ -0,0 +1,12 @@
+device.internal = 1
+
+touch.deviceType = touchScreen
+touch.orientationAware = 1
+
+cursor.mode = navigation
+cursor.orientationAware = 1
+
+# This displayID matches the unique ID of the virtual display created for Emulator.
+# This will indicate to input flinger than it should link this input device
+# with the virtual display.
+touch.displayId = local:2
diff --git a/input-mt/virtio_input_multi_touch_4.idc b/input-mt/virtio_input_multi_touch_4.idc
new file mode 100644
index 00000000..33302f5b
--- /dev/null
+++ b/input-mt/virtio_input_multi_touch_4.idc
@@ -0,0 +1,12 @@
+device.internal = 1
+
+touch.deviceType = touchScreen
+touch.orientationAware = 1
+
+cursor.mode = navigation
+cursor.orientationAware = 1
+
+# This displayID matches the unique ID of the virtual display created for Emulator.
+# This will indicate to input flinger than it should link this input device
+# with the virtual display.
+touch.displayId = local:3
diff --git a/input-mt/virtio_input_multi_touch_5.idc b/input-mt/virtio_input_multi_touch_5.idc
new file mode 100644
index 00000000..e489bb1f
--- /dev/null
+++ b/input-mt/virtio_input_multi_touch_5.idc
@@ -0,0 +1,12 @@
+device.internal = 1
+
+touch.deviceType = touchScreen
+touch.orientationAware = 1
+
+cursor.mode = navigation
+cursor.orientationAware = 1
+
+# This displayID matches the unique ID of the virtual display created for Emulator.
+# This will indicate to input flinger than it should link this input device
+# with the virtual display.
+touch.displayId = local:4