diff options
Diffstat (limited to 'zephyr/include/emul/emul_kb_raw.h')
-rw-r--r-- | zephyr/include/emul/emul_kb_raw.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/zephyr/include/emul/emul_kb_raw.h b/zephyr/include/emul/emul_kb_raw.h index ba4ea8e58f..1660ccefd4 100644 --- a/zephyr/include/emul/emul_kb_raw.h +++ b/zephyr/include/emul/emul_kb_raw.h @@ -1,8 +1,10 @@ -/* Copyright 2022 The Chromium OS Authors. All rights reserved. +/* Copyright 2022 The ChromiumOS Authors. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ +#include <stdint.h> + /** * @file * @@ -36,6 +38,13 @@ int emul_kb_raw_set_kbstate(const struct device *dev, uint8_t row, uint8_t col, int pressed); /** + * @brief Resets the keyboard to its initial state. + * + * @param dev Pointer to kb_raw emulator device. + */ +void emul_kb_raw_reset(const struct device *dev); + +/** * @} */ |