diff options
Diffstat (limited to 'include/keyboard_mkbp.h')
-rw-r--r-- | include/keyboard_mkbp.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/keyboard_mkbp.h b/include/keyboard_mkbp.h deleted file mode 100644 index 3d153d63b5..0000000000 --- a/include/keyboard_mkbp.h +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright 2013 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - * - * MKBP keyboard protocol - */ - -#ifndef __CROS_EC_KEYBOARD_MKBP_H -#define __CROS_EC_KEYBOARD_MKBP_H - -#include "common.h" -#include "keyboard_config.h" - -/** - * Add keyboard state into FIFO - * - * @return EC_SUCCESS if entry added, EC_ERROR_OVERFLOW if FIFO is full - */ -int mkbp_keyboard_add(const uint8_t *buffp); - -/** - * Send KEY_BATTERY keystroke. - */ -#ifdef CONFIG_KEYBOARD_PROTOCOL_MKBP -void keyboard_send_battery_key(void); -#else -static inline void keyboard_send_battery_key(void) { } -#endif - -#endif /* __CROS_EC_KEYBOARD_MKBP_H */ |