| // Copyright 2021 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 library contains the APIs used to manage and distribute user's |
| /// preferences related to keymap choice. |
| /// |
| /// This library is an experimental companion to `fuchsia.input.keymap`. |
| library fuchsia.input.keymap; |
| |
| using fuchsia.input; |
| |
| /// Mutator interface to the keymap configuration. |
| @discoverable |
| protocol Configuration { |
| /// Set a keymap by ID. |
| /// If a keymap has never been set before, "US_QWERTY" is the assumed default. |
| SetLayout(struct { |
| keymap fuchsia.input.KeymapId; |
| }) -> (); |
| }; |