blob: fdab664c39326f0e188e8f3ad9486fe377301154 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* Copyright 2019 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.
*/
/**
* @file
* @brief Mock event handling for MKBP keyboard protocol
*/
#include <stdint.h>
#include "common.h"
#include "mock/mkbp_events_mock.h"
struct mock_ctrl_mkbp_events mock_ctrl_mkbp_events = \
MOCK_CTRL_DEFAULT_MKBP_EVENTS;
int mkbp_send_event(uint8_t event_type)
{
return mock_ctrl_mkbp_events.mkbp_send_event_return;
}
|