Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
uinput.h File Reference
#include <linux/types.h>
#include <linux/input.h>

Go to the source code of this file.

Data Structures

struct  uinput_ff_upload
 
struct  uinput_ff_erase
 
struct  uinput_user_dev
 

Macros

#define UINPUT_VERSION   3
 
#define UINPUT_IOCTL_BASE   'U'
 
#define UI_DEV_CREATE   _IO(UINPUT_IOCTL_BASE, 1)
 
#define UI_DEV_DESTROY   _IO(UINPUT_IOCTL_BASE, 2)
 
#define UI_SET_EVBIT   _IOW(UINPUT_IOCTL_BASE, 100, int)
 
#define UI_SET_KEYBIT   _IOW(UINPUT_IOCTL_BASE, 101, int)
 
#define UI_SET_RELBIT   _IOW(UINPUT_IOCTL_BASE, 102, int)
 
#define UI_SET_ABSBIT   _IOW(UINPUT_IOCTL_BASE, 103, int)
 
#define UI_SET_MSCBIT   _IOW(UINPUT_IOCTL_BASE, 104, int)
 
#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_SWBIT   _IOW(UINPUT_IOCTL_BASE, 109, int)
 
#define UI_SET_PROPBIT   _IOW(UINPUT_IOCTL_BASE, 110, int)
 
#define UI_BEGIN_FF_UPLOAD   _IOWR(UINPUT_IOCTL_BASE, 200, struct uinput_ff_upload)
 
#define UI_END_FF_UPLOAD   _IOW(UINPUT_IOCTL_BASE, 201, struct uinput_ff_upload)
 
#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 EV_UINPUT   0x0101
 
#define UI_FF_UPLOAD   1
 
#define UI_FF_ERASE   2
 
#define UINPUT_MAX_NAME_SIZE   80
 

Macro Definition Documentation

#define EV_UINPUT   0x0101

Definition at line 123 of file uinput.h.

#define UI_BEGIN_FF_ERASE   _IOWR(UINPUT_IOCTL_BASE, 202, struct uinput_ff_erase)

Definition at line 73 of file uinput.h.

#define UI_BEGIN_FF_UPLOAD   _IOWR(UINPUT_IOCTL_BASE, 200, struct uinput_ff_upload)

Definition at line 71 of file uinput.h.

#define UI_DEV_CREATE   _IO(UINPUT_IOCTL_BASE, 1)

Definition at line 56 of file uinput.h.

#define UI_DEV_DESTROY   _IO(UINPUT_IOCTL_BASE, 2)

Definition at line 57 of file uinput.h.

#define UI_END_FF_ERASE   _IOW(UINPUT_IOCTL_BASE, 203, struct uinput_ff_erase)

Definition at line 74 of file uinput.h.

#define UI_END_FF_UPLOAD   _IOW(UINPUT_IOCTL_BASE, 201, struct uinput_ff_upload)

Definition at line 72 of file uinput.h.

#define UI_FF_ERASE   2

Definition at line 125 of file uinput.h.

#define UI_FF_UPLOAD   1

Definition at line 124 of file uinput.h.

#define UI_SET_ABSBIT   _IOW(UINPUT_IOCTL_BASE, 103, int)

Definition at line 62 of file uinput.h.

#define UI_SET_EVBIT   _IOW(UINPUT_IOCTL_BASE, 100, int)

Definition at line 59 of file uinput.h.

#define UI_SET_FFBIT   _IOW(UINPUT_IOCTL_BASE, 107, int)

Definition at line 66 of file uinput.h.

#define UI_SET_KEYBIT   _IOW(UINPUT_IOCTL_BASE, 101, int)

Definition at line 60 of file uinput.h.

#define UI_SET_LEDBIT   _IOW(UINPUT_IOCTL_BASE, 105, int)

Definition at line 64 of file uinput.h.

#define UI_SET_MSCBIT   _IOW(UINPUT_IOCTL_BASE, 104, int)

Definition at line 63 of file uinput.h.

#define UI_SET_PHYS   _IOW(UINPUT_IOCTL_BASE, 108, char*)

Definition at line 67 of file uinput.h.

#define UI_SET_PROPBIT   _IOW(UINPUT_IOCTL_BASE, 110, int)

Definition at line 69 of file uinput.h.

#define UI_SET_RELBIT   _IOW(UINPUT_IOCTL_BASE, 102, int)

Definition at line 61 of file uinput.h.

#define UI_SET_SNDBIT   _IOW(UINPUT_IOCTL_BASE, 106, int)

Definition at line 65 of file uinput.h.

#define UI_SET_SWBIT   _IOW(UINPUT_IOCTL_BASE, 109, int)

Definition at line 68 of file uinput.h.

#define UINPUT_IOCTL_BASE   'U'

Definition at line 55 of file uinput.h.

#define UINPUT_MAX_NAME_SIZE   80

Definition at line 127 of file uinput.h.

#define UINPUT_VERSION   3

Definition at line 38 of file uinput.h.