最終更新:2019-03-01 (金) 04:13:33 (1855d)
uapi/linux/uinput.h
http://lxr.free-electrons.com/source/include/uapi/linux/uinput.h
ioctl
UINPUT_IOCTL_BASE? | 'U' | |
UI_DEV_CREATE? | _IO(UINPUT_IOCTL_BASE, 1) | |
UI_DEV_DESTROY? | _IO(UINPUT_IOCTL_BASE, 2) | |
UI_DEV_SETUP | _IOW?(UINPUT_IOCTL_BASE, 3, struct uinput_setup) | uinput 0.5で追加 |
UI_SET_EVBIT? | _IOW?(UINPUT_IOCTL_BASE, 100, int) | |
UI_SET_KEYBIT? | _IOW?(UINPUT_IOCTL_BASE, 101, int) | |
UI_SET_RELBIT? | _IOW?(UINPUT_IOCTL_BASE, 102, int) | |
UI_SET_ABSBIT? | _IOW?(UINPUT_IOCTL_BASE, 103, int) | |
UI_SET_MSCBIT? | _IOW?(UINPUT_IOCTL_BASE, 104, int) | |
UI_SET_LEDBIT? | _IOW?(UINPUT_IOCTL_BASE, 105, int) | |
UI_SET_SNDBIT? | _IOW?(UINPUT_IOCTL_BASE, 106, int) | |
UI_SET_FFBIT? | _IOW?(UINPUT_IOCTL_BASE, 107, int) | |
UI_SET_PHYS? | _IOW?(UINPUT_IOCTL_BASE, 108, char*) | |
UI_SET_SWBIT? | _IOW?(UINPUT_IOCTL_BASE, 109, int) | |
UI_SET_PROPBIT? | _IOW?(UINPUT_IOCTL_BASE, 110, int) | |
UI_BEGIN_FF_UPLOAD? | _IOWR?(UINPUT_IOCTL_BASE, 200, struct uinput_ff_upload) | |
UI_END_FF_UPLOAD? | _IOW?(UINPUT_IOCTL_BASE, 201, struct uinput_ff_upload) | |
UI_BEGIN_FF_ERASE? | _IOWR?(UINPUT_IOCTL_BASE, 202, struct uinput_ff_erase) | |
UI_END_FF_ERASE? | _IOW?(UINPUT_IOCTL_BASE, 203, struct uinput_ff_erase) |
構造体
- uinput_ff_upload?
- uinput_ff_erase?
- uinput_setup - uinput 0.5で追加
- uinput_abs_setup? - uinput 0.5で追加