| // 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. |
| |
| // This shard provides UI support for recovering devices with screens. |
| { |
| capabilities: [ |
| { |
| protocol: [ "fuchsia.ui.app.ViewProvider" ], |
| }, |
| ], |
| use: [ |
| { |
| directory: "dev-class-display-coordinator", |
| rights: [ "r*" ], |
| path: "/dev/class/display-coordinator", |
| }, |
| { |
| directory: "dev-class-input", |
| rights: [ "r*" ], |
| path: "/dev/class/input", |
| }, |
| { |
| directory: "dev-class-input-report", |
| rights: [ "r*" ], |
| path: "/dev/class/input-report", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ "fuchsia.ui.app.ViewProvider" ], |
| from: "self", |
| to: "parent", |
| }, |
| ], |
| config: { |
| display_rotation: { type: "uint16" }, |
| }, |
| } |