OSDN Git Service

Move virtual touchpad IDC file to be shared across devices.
authorKevin Schoedel <kpschoedel@google.com>
Thu, 25 May 2017 19:59:19 +0000 (15:59 -0400)
committerKevin Schoedel <kpschoedel@google.com>
Thu, 25 May 2017 19:59:19 +0000 (15:59 -0400)
Bug: 62066423
Test: observe IDC appears in targets
Change-Id: Ic990cccbcf8f4f7862ff0a9a59fa76a90800f339

services/vr/virtual_touchpad/idc/vr-virtual-touchpad-1.idc [new file with mode: 0644]

diff --git a/services/vr/virtual_touchpad/idc/vr-virtual-touchpad-1.idc b/services/vr/virtual_touchpad/idc/vr-virtual-touchpad-1.idc
new file mode 100644 (file)
index 0000000..3728ef0
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright (C) 2017 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# Virtual touchpad for the VR virtual display
+device.internal = 1
+
+touch.deviceType = touchScreen
+
+# This displayID matches the unique ID of the virtual display created for VR.
+# This will indicate to input flinger than it should link this input device
+# with the virtual display.
+touch.displayId = virtual:android:277f1a09-b88d-4d1e-8716-796f114d080b