blob: 2a3ff954e89c699227d5e74c6f8c29a2d8d3922d (
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
31
|
/*
* include/linux/keydebug.h - platform data structure for keydebug driver
*
* Copyright (C) 2018 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _LINUX_KEYDEBUG_H
#define _LINUX_KEYDEBUG_H
#define KEYDEBUG_NAME "keydebug"
struct keydebug_platform_data {
uint32_t key_down_delay;
uint32_t dbg_fn_delay;
uint32_t *keys_down; /* 0 terminated */
struct platform_device *pdev_child;
struct delayed_work delayed_work;
bool keydebug_requested;
};
#endif /* _LINUX_KEYDEBUG_H */
|