1INPUT_SET_CAPABILITY(9)         Input Subsystem        INPUT_SET_CAPABILITY(9)
2
3
4

NAME

6       input_set_capability - mark device as capable of a certain event
7

SYNOPSIS

9       void input_set_capability(struct input_dev * dev, unsigned int type,
10                                 unsigned int code);
11

ARGUMENTS

13       dev
14           device that is capable of emitting or accepting event
15
16       type
17           type of the event (EV_KEY, EV_REL, etc...)
18
19       code
20           event code
21

DESCRIPTION

23       In addition to setting up corresponding bit in appropriate capability
24       bitmap the function also adjusts dev->evbit.
25
27Kernel Hackers Manual 3.10         June 2019           INPUT_SET_CAPABILITY(9)
Impressum