blob: 866c58807bfc68b5c399a2bb3cc41474b1392e30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* Copyright (c) 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.
*
* Keyboard protocol interface
*/
#ifndef __CROS_EC_KEYBOARD_PROTOCOL_H
#define __CROS_EC_KEYBOARD_PROTOCOL_H
#include "common.h"
/* Routines common to all protocols */
/**
* Clear the keyboard buffer to host.
*/
void keyboard_clear_buffer(void);
/* Protocol-specific includes */
#ifdef CONFIG_KEYBOARD_PROTOCOL_8042
#include "keyboard_8042.h"
#endif
#ifdef CONFIG_KEYBOARD_PROTOCOL_MKBP
#include "keyboard_mkbp.h"
#endif
#endif /* __CROS_EC_KEYBOARD_PROTOCOL_H */
|