OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module arc; | |
6 | |
7 interface InputInstance { | |
8 // Registers a virtual input device on the container side. | |
9 // |name| is the device name, like "Chrome OS Keyboard". | |
10 // |device_type| is the device type, like "keyboard". | |
11 // The virtual device will be reading 'struct input_event's from |fd|. The | |
12 // ownership of |fd| will be transferred to the receiver, so the sender must | |
13 // not close it. | |
14 RegisterInputDevice(string name, | |
15 string device_type, | |
16 handle fd); | |
17 }; | |
OLD | NEW |