module LinuxInput
Constants
- EVIOCGEFFECTS
- EVIOCGID
- EVIOCGKEYCODE
- EVIOCGKEYCODE_V2
- EVIOCGRAB
- EVIOCGREP
- EVIOCGVERSION
- EVIOCREVOKE
- EVIOCRMFF
- EVIOCSCLOCKID
- EVIOCSFF
- EVIOCSKEYCODE
- EVIOCSKEYCODE_V2
- EVIOCSREP
- INPUT_IOCTL_BASE
- VERSION
Public Class Methods
EVIOCGABS(abs)
click to toggle source
# File lib/linux_input/input.rb, line 33 def EVIOCGABS(abs) Ioctl.IOR(INPUT_IOCTL_BASE, 0x40 + abs, InputAbsinfo.by_value) end
EVIOCGBIT(ev, len)
click to toggle source
# File lib/linux_input/input.rb, line 32 def EVIOCGBIT(ev, len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x20 + ev, len) end
EVIOCGKEY(len)
click to toggle source
# File lib/linux_input/input.rb, line 28 def EVIOCGKEY(len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x18, len) end
EVIOCGLED(len)
click to toggle source
# File lib/linux_input/input.rb, line 29 def EVIOCGLED(len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x19, len) end
EVIOCGMTSLOTS(len)
click to toggle source
# File lib/linux_input/input.rb, line 27 def EVIOCGMTSLOTS(len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x0a, len) end
EVIOCGNAME(len)
click to toggle source
# File lib/linux_input/input.rb, line 23 def EVIOCGNAME(len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x06, len) end
EVIOCGPHYS(len)
click to toggle source
# File lib/linux_input/input.rb, line 24 def EVIOCGPHYS(len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x07, len) end
EVIOCGPROP(len)
click to toggle source
# File lib/linux_input/input.rb, line 26 def EVIOCGPROP(len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x09, len) end
EVIOCGSND(len)
click to toggle source
# File lib/linux_input/input.rb, line 30 def EVIOCGSND(len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x1a, len) end
EVIOCGSW(len)
click to toggle source
# File lib/linux_input/input.rb, line 31 def EVIOCGSW(len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x1b, len) end
EVIOCGUNIQ(len)
click to toggle source
# File lib/linux_input/input.rb, line 25 def EVIOCGUNIQ(len) Ioctl.IOC(Ioctl::IOC_READ, INPUT_IOCTL_BASE, 0x08, len) end
EVIOCSABS(abs)
click to toggle source
# File lib/linux_input/input.rb, line 34 def EVIOCSABS(abs) Ioctl.IOW(INPUT_IOCTL_BASE, 0xc0 + abs, InputAbsinfo.by_value) end