| // Copyright 2022 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| { |
| include: [ |
| 'syslog/client.shard.cml', |
| ], |
| program: { |
| runner: 'driver', |
| binary: 'lib/libinput_sample.so', |
| bind: 'meta/bind/input_sample.bindbc', |
| // Identifies the device categories, for compatibility tests. |
| device_categories: [ |
| { category: 'input', subcategory: 'mouse' }, |
| ], |
| }, |
| use: [ |
| { protocol: 'fuchsia.device.fs.Exporter' }, |
| { service: 'fuchsia.driver.compat.Service' }, |
| ], |
| // Provide the input report capability to other components |
| // TODO(fxbug.dev/106665): Route as a service capability from the SDK |
| capabilities: [ |
| { protocol: 'fuchsia.input.report.InputDevice' }, |
| ], |
| expose: [ |
| { |
| protocol: 'fuchsia.input.report.InputDevice', |
| from: 'self', |
| }, |
| ], |
| } |