blob: 6def834ba1ff8c7f3505e45a0b1ffb5ff4b1e780 [file] [log] [blame]
// 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;
}) -> ();
};