diff options
Diffstat (limited to 'libc/kernel/uapi/linux/uinput.h')
-rw-r--r-- | libc/kernel/uapi/linux/uinput.h | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/libc/kernel/uapi/linux/uinput.h b/libc/kernel/uapi/linux/uinput.h index 6ad0334..845affc 100644 --- a/libc/kernel/uapi/linux/uinput.h +++ b/libc/kernel/uapi/linux/uinput.h @@ -21,19 +21,19 @@ #include <linux/types.h> #include <linux/input.h> /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define UINPUT_VERSION 3 +#define UINPUT_VERSION 4 struct uinput_ff_upload { - __u32 request_id; - __s32 retval; + __u32 request_id; + __s32 retval; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct ff_effect effect; - struct ff_effect old; + struct ff_effect effect; + struct ff_effect old; }; struct uinput_ff_erase { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u32 request_id; - __s32 retval; - __u32 effect_id; + __u32 request_id; + __s32 retval; + __u32 effect_id; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define UINPUT_IOCTL_BASE 'U' @@ -49,7 +49,7 @@ struct uinput_ff_erase { #define UI_SET_LEDBIT _IOW(UINPUT_IOCTL_BASE, 105, int) #define UI_SET_SNDBIT _IOW(UINPUT_IOCTL_BASE, 106, int) #define UI_SET_FFBIT _IOW(UINPUT_IOCTL_BASE, 107, int) -#define UI_SET_PHYS _IOW(UINPUT_IOCTL_BASE, 108, char*) +#define UI_SET_PHYS _IOW(UINPUT_IOCTL_BASE, 108, char *) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define UI_SET_SWBIT _IOW(UINPUT_IOCTL_BASE, 109, int) #define UI_SET_PROPBIT _IOW(UINPUT_IOCTL_BASE, 110, int) @@ -58,21 +58,23 @@ struct uinput_ff_erase { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define UI_BEGIN_FF_ERASE _IOWR(UINPUT_IOCTL_BASE, 202, struct uinput_ff_erase) #define UI_END_FF_ERASE _IOW(UINPUT_IOCTL_BASE, 203, struct uinput_ff_erase) +#define UI_GET_SYSNAME(len) _IOC(_IOC_READ, UINPUT_IOCTL_BASE, 300, len) +#define UI_GET_VERSION _IOR(UINPUT_IOCTL_BASE, 301, unsigned int) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EV_UINPUT 0x0101 #define UI_FF_UPLOAD 1 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define UI_FF_ERASE 2 #define UINPUT_MAX_NAME_SIZE 80 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct uinput_user_dev { - char name[UINPUT_MAX_NAME_SIZE]; + char name[UINPUT_MAX_NAME_SIZE]; + struct input_id id; + __u32 ff_effects_max; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - struct input_id id; - __u32 ff_effects_max; - __s32 absmax[ABS_CNT]; - __s32 absmin[ABS_CNT]; + __s32 absmax[ABS_CNT]; + __s32 absmin[ABS_CNT]; + __s32 absfuzz[ABS_CNT]; + __s32 absflat[ABS_CNT]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __s32 absfuzz[ABS_CNT]; - __s32 absflat[ABS_CNT]; }; #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |