1 #include <linux/ioctl.h>
2 #include <linux/uinput.h>
7 static const struct ioctl uinput_ioctls
[] = {
21 IOCTL(UI_SET_PROPBIT
),
23 IOCTL(UI_BEGIN_FF_UPLOAD
),
24 IOCTL(UI_END_FF_UPLOAD
),
25 IOCTL(UI_BEGIN_FF_ERASE
),
26 IOCTL(UI_END_FF_ERASE
),
29 static const char *const uinput_devs
[] = {
33 static const struct ioctl_group uinput_grp
= {
36 .devs_cnt
= ARRAY_SIZE(uinput_devs
),
37 .sanitise
= pick_random_ioctl
,
38 .ioctls
= uinput_ioctls
,
39 .ioctls_cnt
= ARRAY_SIZE(uinput_ioctls
),
42 REG_IOCTL_GROUP(uinput_grp
)