1STRUCT KEY_ENTRY(9)             Input Subsystem            STRUCT KEY_ENTRY(9)
2
3
4

NAME

6       struct_key_entry - keymap entry for use in sparse keymap
7

SYNOPSIS

9       struct key_entry {
10         int type;
11         u32 code;
12         union {unnamed_union};
13       };
14

MEMBERS

16       type
17           Type of the key entry (KE_KEY, KE_SW, KE_VSW, KE_END); drivers are
18           allowed to extend the list with their own private definitions.
19
20       code
21           Device-specific data identifying the button/switch
22
23       {unnamed_union}
24           anonymous
25

DESCRIPTION

27       This structure defines an entry in a sparse keymap used by some input
28       devices for which traditional table-based approach is not suitable.
29
31Kernel Hackers Manual 2.6.       November 2011             STRUCT KEY_ENTRY(9)
Impressum