File Index
Files and directories
Sign in
FILE

sh_keysc.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/input/sh_keysc.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __SH_KEYSC_H__
 3#define __SH_KEYSC_H__
 4
 5#define SH_KEYSC_MAXKEYS 64
 6
 7struct sh_keysc_info {
 8	enum { SH_KEYSC_MODE_1, SH_KEYSC_MODE_2, SH_KEYSC_MODE_3,
 9	       SH_KEYSC_MODE_4, SH_KEYSC_MODE_5, SH_KEYSC_MODE_6 } mode;
10	int scan_timing; /* 0 -> 7, see KYCR1, SCN[2:0] */
11	int delay;
12	int kycr2_delay;
13	int keycodes[SH_KEYSC_MAXKEYS]; /* KEYIN * KEYOUT */
14};
15
16#endif /* __SH_KEYSC_H__ */
~/ Read-only file preview.