Module: Vigilem::Evdev::System::Input

Extended by:
FFI::Library, IOCTL, Macros
Includes:
IOCTL, AbsoluteAxes, AutorepeatValues, DeviceProperties, EventTypes, ForceFeedBack, IDs, KeysAndButtons, LEDs, MTTOOLTypes, Macros, MiscEvents, RelativeAxes, Sounds, SwitchEvents, SynchronizationEvents
Included in:
Device, Device
Defined in:
lib/vigilem/evdev/system/input.rb,
lib/vigilem/evdev/system/input/input_event.rb

Overview

TODO:

the formatting of this file is off

TODO:

some of the items can be changed to FFI

TODO:

consider the possibility of switching to RubyInline? - @see IOCTL.rb

Defined Under Namespace

Modules: AbsoluteAxes, AutorepeatValues, DeviceProperties, EventTypes, ForceFeedBack, IDs, KeysAndButtons, LEDs, MTTOOLTypes, Macros, MiscEvents, RelativeAxes, Sounds, SwitchEvents, SynchronizationEvents Classes: FFEffect, FFEnvelope, FFPeriodicEffect, FFReplay, FFTrigger, InputEvent

Constant Summary

Constants included from ForceFeedBack

ForceFeedBack::FF_AUTOCENTER, ForceFeedBack::FF_CNT, ForceFeedBack::FF_CONSTANT, ForceFeedBack::FF_CUSTOM, ForceFeedBack::FF_DAMPER, ForceFeedBack::FF_EFFECT_MAX, ForceFeedBack::FF_EFFECT_MIN, ForceFeedBack::FF_FRICTION, ForceFeedBack::FF_GAIN, ForceFeedBack::FF_INERTIA, ForceFeedBack::FF_MAX, ForceFeedBack::FF_PERIODIC, ForceFeedBack::FF_RAMP, ForceFeedBack::FF_RUMBLE, ForceFeedBack::FF_SAW_DOWN, ForceFeedBack::FF_SAW_UP, ForceFeedBack::FF_SINE, ForceFeedBack::FF_SPRING, ForceFeedBack::FF_SQUARE, ForceFeedBack::FF_STATUS_MAX, ForceFeedBack::FF_STATUS_PLAYING, ForceFeedBack::FF_STATUS_STOPPED, ForceFeedBack::FF_TRIANGLE, ForceFeedBack::FF_WAVEFORM_MAX, ForceFeedBack::FF_WAVEFORM_MIN

Constants included from MTTOOLTypes

MTTOOLTypes::MT_TOOL_FINGER, MTTOOLTypes::MT_TOOL_MAX, MTTOOLTypes::MT_TOOL_PEN

Constants included from IDs

IDs::BUS_ADB, IDs::BUS_AMIGA, IDs::BUS_ATARI, IDs::BUS_BLUETOOTH, IDs::BUS_GAMEPORT, IDs::BUS_GSC, IDs::BUS_HIL, IDs::BUS_HOST, IDs::BUS_I2C, IDs::BUS_I8042, IDs::BUS_ISA, IDs::BUS_ISAPNP, IDs::BUS_PARPORT, IDs::BUS_PCI, IDs::BUS_RS232, IDs::BUS_SPI, IDs::BUS_USB, IDs::BUS_VIRTUAL, IDs::BUS_XTKBD, IDs::ID_BUS, IDs::ID_PRODUCT, IDs::ID_VENDOR, IDs::ID_VERSION

Constants included from Sounds

Sounds::SND_BELL, Sounds::SND_CLICK, Sounds::SND_CNT, Sounds::SND_MAX, Sounds::SND_TONE

Constants included from AutorepeatValues

AutorepeatValues::REP_CNT, AutorepeatValues::REP_DELAY, AutorepeatValues::REP_MAX, AutorepeatValues::REP_PERIOD

Constants included from LEDs

LEDs::LED_CAPSL, LEDs::LED_CHARGING, LEDs::LED_CNT, LEDs::LED_COMPOSE, LEDs::LED_KANA, LEDs::LED_MAIL, LEDs::LED_MAX, LEDs::LED_MISC, LEDs::LED_MUTE, LEDs::LED_NUML, LEDs::LED_SCROLLL, LEDs::LED_SLEEP, LEDs::LED_SUSPEND

Constants included from MiscEvents

MiscEvents::MSC_CNT, MiscEvents::MSC_GESTURE, MiscEvents::MSC_MAX, MiscEvents::MSC_PULSELED, MiscEvents::MSC_RAW, MiscEvents::MSC_SCAN, MiscEvents::MSC_SERIAL, MiscEvents::MSC_TIMESTAMP

Constants included from SwitchEvents

SwitchEvents::SW_CAMERA_LENS_COVER, SwitchEvents::SW_CNT, SwitchEvents::SW_DOCK, SwitchEvents::SW_FRONT_PROXIMITY, SwitchEvents::SW_HEADPHONE_INSERT, SwitchEvents::SW_JACK_PHYSICAL_INSERT, SwitchEvents::SW_KEYPAD_SLIDE, SwitchEvents::SW_LID, SwitchEvents::SW_LINEIN_INSERT, SwitchEvents::SW_LINEOUT_INSERT, SwitchEvents::SW_MAX, SwitchEvents::SW_MICROPHONE_INSERT, SwitchEvents::SW_MUTE_DEVICE, SwitchEvents::SW_RADIO, SwitchEvents::SW_RFKILL_ALL, SwitchEvents::SW_ROTATE_LOCK, SwitchEvents::SW_TABLET_MODE, SwitchEvents::SW_VIDEOOUT_INSERT

Constants included from AbsoluteAxes

AbsoluteAxes::ABS_BRAKE, AbsoluteAxes::ABS_CNT, AbsoluteAxes::ABS_DISTANCE, AbsoluteAxes::ABS_GAS, AbsoluteAxes::ABS_HAT0X, AbsoluteAxes::ABS_HAT0Y, AbsoluteAxes::ABS_HAT1X, AbsoluteAxes::ABS_HAT1Y, AbsoluteAxes::ABS_HAT2X, AbsoluteAxes::ABS_HAT2Y, AbsoluteAxes::ABS_HAT3X, AbsoluteAxes::ABS_HAT3Y, AbsoluteAxes::ABS_MAX, AbsoluteAxes::ABS_MISC, AbsoluteAxes::ABS_MT_BLOB_ID, AbsoluteAxes::ABS_MT_DISTANCE, AbsoluteAxes::ABS_MT_ORIENTATION, AbsoluteAxes::ABS_MT_POSITION_X, AbsoluteAxes::ABS_MT_POSITION_Y, AbsoluteAxes::ABS_MT_PRESSURE, AbsoluteAxes::ABS_MT_SLOT, AbsoluteAxes::ABS_MT_TOOL_TYPE, AbsoluteAxes::ABS_MT_TOOL_X, AbsoluteAxes::ABS_MT_TOOL_Y, AbsoluteAxes::ABS_MT_TOUCH_MAJOR, AbsoluteAxes::ABS_MT_TOUCH_MINOR, AbsoluteAxes::ABS_MT_TRACKING_ID, AbsoluteAxes::ABS_MT_WIDTH_MAJOR, AbsoluteAxes::ABS_MT_WIDTH_MINOR, AbsoluteAxes::ABS_PRESSURE, AbsoluteAxes::ABS_RUDDER, AbsoluteAxes::ABS_RX, AbsoluteAxes::ABS_RY, AbsoluteAxes::ABS_RZ, AbsoluteAxes::ABS_THROTTLE, AbsoluteAxes::ABS_TILT_X, AbsoluteAxes::ABS_TILT_Y, AbsoluteAxes::ABS_TOOL_WIDTH, AbsoluteAxes::ABS_VOLUME, AbsoluteAxes::ABS_WHEEL, AbsoluteAxes::ABS_X, AbsoluteAxes::ABS_Y, AbsoluteAxes::ABS_Z

Constants included from RelativeAxes

RelativeAxes::REL_CNT, RelativeAxes::REL_DIAL, RelativeAxes::REL_HWHEEL, RelativeAxes::REL_MAX, RelativeAxes::REL_MISC, RelativeAxes::REL_RX, RelativeAxes::REL_RY, RelativeAxes::REL_RZ, RelativeAxes::REL_WHEEL, RelativeAxes::REL_X, RelativeAxes::REL_Y, RelativeAxes::REL_Z

Constants included from KeysAndButtons

KeysAndButtons::BTN_0, KeysAndButtons::BTN_1, KeysAndButtons::BTN_2, KeysAndButtons::BTN_3, KeysAndButtons::BTN_4, KeysAndButtons::BTN_5, KeysAndButtons::BTN_6, KeysAndButtons::BTN_7, KeysAndButtons::BTN_8, KeysAndButtons::BTN_9, KeysAndButtons::BTN_A, KeysAndButtons::BTN_B, KeysAndButtons::BTN_BACK, KeysAndButtons::BTN_BASE, KeysAndButtons::BTN_BASE2, KeysAndButtons::BTN_BASE3, KeysAndButtons::BTN_BASE4, KeysAndButtons::BTN_BASE5, KeysAndButtons::BTN_BASE6, KeysAndButtons::BTN_C, KeysAndButtons::BTN_DEAD, KeysAndButtons::BTN_DIGI, KeysAndButtons::BTN_DPAD_DOWN, KeysAndButtons::BTN_DPAD_LEFT, KeysAndButtons::BTN_DPAD_RIGHT, KeysAndButtons::BTN_DPAD_UP, KeysAndButtons::BTN_EAST, KeysAndButtons::BTN_EXTRA, KeysAndButtons::BTN_FORWARD, KeysAndButtons::BTN_GAMEPAD, KeysAndButtons::BTN_GEAR_DOWN, KeysAndButtons::BTN_GEAR_UP, KeysAndButtons::BTN_JOYSTICK, KeysAndButtons::BTN_LEFT, KeysAndButtons::BTN_MIDDLE, KeysAndButtons::BTN_MISC, KeysAndButtons::BTN_MODE, KeysAndButtons::BTN_MOUSE, KeysAndButtons::BTN_NORTH, KeysAndButtons::BTN_PINKIE, KeysAndButtons::BTN_RIGHT, KeysAndButtons::BTN_SELECT, KeysAndButtons::BTN_SIDE, KeysAndButtons::BTN_SOUTH, KeysAndButtons::BTN_START, KeysAndButtons::BTN_STYLUS, KeysAndButtons::BTN_STYLUS2, KeysAndButtons::BTN_TASK, KeysAndButtons::BTN_THUMB, KeysAndButtons::BTN_THUMB2, KeysAndButtons::BTN_THUMBL, KeysAndButtons::BTN_THUMBR, KeysAndButtons::BTN_TL, KeysAndButtons::BTN_TL2, KeysAndButtons::BTN_TOOL_AIRBRUSH, KeysAndButtons::BTN_TOOL_BRUSH, KeysAndButtons::BTN_TOOL_DOUBLETAP, KeysAndButtons::BTN_TOOL_FINGER, KeysAndButtons::BTN_TOOL_LENS, KeysAndButtons::BTN_TOOL_MOUSE, KeysAndButtons::BTN_TOOL_PEN, KeysAndButtons::BTN_TOOL_PENCIL, KeysAndButtons::BTN_TOOL_QUADTAP, KeysAndButtons::BTN_TOOL_QUINTTAP, KeysAndButtons::BTN_TOOL_RUBBER, KeysAndButtons::BTN_TOOL_TRIPLETAP, KeysAndButtons::BTN_TOP, KeysAndButtons::BTN_TOP2, KeysAndButtons::BTN_TOUCH, KeysAndButtons::BTN_TR, KeysAndButtons::BTN_TR2, KeysAndButtons::BTN_TRIGGER, KeysAndButtons::BTN_TRIGGER_HAPPY, KeysAndButtons::BTN_TRIGGER_HAPPY1, KeysAndButtons::BTN_TRIGGER_HAPPY10, KeysAndButtons::BTN_TRIGGER_HAPPY11, KeysAndButtons::BTN_TRIGGER_HAPPY12, KeysAndButtons::BTN_TRIGGER_HAPPY13, KeysAndButtons::BTN_TRIGGER_HAPPY14, KeysAndButtons::BTN_TRIGGER_HAPPY15, KeysAndButtons::BTN_TRIGGER_HAPPY16, KeysAndButtons::BTN_TRIGGER_HAPPY17, KeysAndButtons::BTN_TRIGGER_HAPPY18, KeysAndButtons::BTN_TRIGGER_HAPPY19, KeysAndButtons::BTN_TRIGGER_HAPPY2, KeysAndButtons::BTN_TRIGGER_HAPPY20, KeysAndButtons::BTN_TRIGGER_HAPPY21, KeysAndButtons::BTN_TRIGGER_HAPPY22, KeysAndButtons::BTN_TRIGGER_HAPPY23, KeysAndButtons::BTN_TRIGGER_HAPPY24, KeysAndButtons::BTN_TRIGGER_HAPPY25, KeysAndButtons::BTN_TRIGGER_HAPPY26, KeysAndButtons::BTN_TRIGGER_HAPPY27, KeysAndButtons::BTN_TRIGGER_HAPPY28, KeysAndButtons::BTN_TRIGGER_HAPPY29, KeysAndButtons::BTN_TRIGGER_HAPPY3, KeysAndButtons::BTN_TRIGGER_HAPPY30, KeysAndButtons::BTN_TRIGGER_HAPPY31, KeysAndButtons::BTN_TRIGGER_HAPPY32, KeysAndButtons::BTN_TRIGGER_HAPPY33, KeysAndButtons::BTN_TRIGGER_HAPPY34, KeysAndButtons::BTN_TRIGGER_HAPPY35, KeysAndButtons::BTN_TRIGGER_HAPPY36, KeysAndButtons::BTN_TRIGGER_HAPPY37, KeysAndButtons::BTN_TRIGGER_HAPPY38, KeysAndButtons::BTN_TRIGGER_HAPPY39, KeysAndButtons::BTN_TRIGGER_HAPPY4, KeysAndButtons::BTN_TRIGGER_HAPPY40, KeysAndButtons::BTN_TRIGGER_HAPPY5, KeysAndButtons::BTN_TRIGGER_HAPPY6, KeysAndButtons::BTN_TRIGGER_HAPPY7, KeysAndButtons::BTN_TRIGGER_HAPPY8, KeysAndButtons::BTN_TRIGGER_HAPPY9, KeysAndButtons::BTN_WEST, KeysAndButtons::BTN_WHEEL, KeysAndButtons::BTN_X, KeysAndButtons::BTN_Y, KeysAndButtons::BTN_Z, KeysAndButtons::KEY_0, KeysAndButtons::KEY_1, KeysAndButtons::KEY_102ND, KeysAndButtons::KEY_10CHANNELSDOWN, KeysAndButtons::KEY_10CHANNELSUP, KeysAndButtons::KEY_2, KeysAndButtons::KEY_3, KeysAndButtons::KEY_4, KeysAndButtons::KEY_5, KeysAndButtons::KEY_6, KeysAndButtons::KEY_7, KeysAndButtons::KEY_8, KeysAndButtons::KEY_9, KeysAndButtons::KEY_A, KeysAndButtons::KEY_AB, KeysAndButtons::KEY_ADDRESSBOOK, KeysAndButtons::KEY_AGAIN, KeysAndButtons::KEY_ALS_TOGGLE, KeysAndButtons::KEY_ALTERASE, KeysAndButtons::KEY_ANGLE, KeysAndButtons::KEY_APOSTROPHE, KeysAndButtons::KEY_APPSELECT, KeysAndButtons::KEY_ARCHIVE, KeysAndButtons::KEY_ATTENDANT_OFF, KeysAndButtons::KEY_ATTENDANT_ON, KeysAndButtons::KEY_ATTENDANT_TOGGLE, KeysAndButtons::KEY_AUDIO, KeysAndButtons::KEY_AUX, KeysAndButtons::KEY_B, KeysAndButtons::KEY_BACK, KeysAndButtons::KEY_BACKSLASH, KeysAndButtons::KEY_BACKSPACE, KeysAndButtons::KEY_BASSBOOST, KeysAndButtons::KEY_BATTERY, KeysAndButtons::KEY_BLUE, KeysAndButtons::KEY_BLUETOOTH, KeysAndButtons::KEY_BOOKMARKS, KeysAndButtons::KEY_BREAK, KeysAndButtons::KEY_BRIGHTNESSDOWN, KeysAndButtons::KEY_BRIGHTNESSUP, KeysAndButtons::KEY_BRIGHTNESS_AUTO, KeysAndButtons::KEY_BRIGHTNESS_CYCLE, KeysAndButtons::KEY_BRIGHTNESS_MAX, KeysAndButtons::KEY_BRIGHTNESS_MIN, KeysAndButtons::KEY_BRIGHTNESS_TOGGLE, KeysAndButtons::KEY_BRIGHTNESS_ZERO, KeysAndButtons::KEY_BRL_DOT1, KeysAndButtons::KEY_BRL_DOT10, KeysAndButtons::KEY_BRL_DOT2, KeysAndButtons::KEY_BRL_DOT3, KeysAndButtons::KEY_BRL_DOT4, KeysAndButtons::KEY_BRL_DOT5, KeysAndButtons::KEY_BRL_DOT6, KeysAndButtons::KEY_BRL_DOT7, KeysAndButtons::KEY_BRL_DOT8, KeysAndButtons::KEY_BRL_DOT9, KeysAndButtons::KEY_BUTTONCONFIG, KeysAndButtons::KEY_C, KeysAndButtons::KEY_CALC, KeysAndButtons::KEY_CALENDAR, KeysAndButtons::KEY_CAMERA, KeysAndButtons::KEY_CAMERA_DOWN, KeysAndButtons::KEY_CAMERA_FOCUS, KeysAndButtons::KEY_CAMERA_LEFT, KeysAndButtons::KEY_CAMERA_RIGHT, KeysAndButtons::KEY_CAMERA_UP, KeysAndButtons::KEY_CAMERA_ZOOMIN, KeysAndButtons::KEY_CAMERA_ZOOMOUT, KeysAndButtons::KEY_CANCEL, KeysAndButtons::KEY_CAPSLOCK, KeysAndButtons::KEY_CD, KeysAndButtons::KEY_CHANNEL, KeysAndButtons::KEY_CHANNELDOWN, KeysAndButtons::KEY_CHANNELUP, KeysAndButtons::KEY_CHAT, KeysAndButtons::KEY_CLEAR, KeysAndButtons::KEY_CLOSE, KeysAndButtons::KEY_CLOSECD, KeysAndButtons::KEY_CNT, KeysAndButtons::KEY_COFFEE, KeysAndButtons::KEY_COMMA, KeysAndButtons::KEY_COMPOSE, KeysAndButtons::KEY_COMPUTER, KeysAndButtons::KEY_CONFIG, KeysAndButtons::KEY_CONNECT, KeysAndButtons::KEY_CONTEXT_MENU, KeysAndButtons::KEY_CONTROLPANEL, KeysAndButtons::KEY_COPY, KeysAndButtons::KEY_CUT, KeysAndButtons::KEY_CYCLEWINDOWS, KeysAndButtons::KEY_D, KeysAndButtons::KEY_DASHBOARD, KeysAndButtons::KEY_DATABASE, KeysAndButtons::KEY_DELETE, KeysAndButtons::KEY_DELETEFILE, KeysAndButtons::KEY_DEL_EOL, KeysAndButtons::KEY_DEL_EOS, KeysAndButtons::KEY_DEL_LINE, KeysAndButtons::KEY_DIGITS, KeysAndButtons::KEY_DIRECTION, KeysAndButtons::KEY_DIRECTORY, KeysAndButtons::KEY_DISPLAYTOGGLE, KeysAndButtons::KEY_DISPLAY_OFF, KeysAndButtons::KEY_DOCUMENTS, KeysAndButtons::KEY_DOLLAR, KeysAndButtons::KEY_DOT, KeysAndButtons::KEY_DOWN, KeysAndButtons::KEY_DVD, KeysAndButtons::KEY_E, KeysAndButtons::KEY_EDIT, KeysAndButtons::KEY_EDITOR, KeysAndButtons::KEY_EJECTCD, KeysAndButtons::KEY_EJECTCLOSECD, KeysAndButtons::KEY_EMAIL, KeysAndButtons::KEY_END, KeysAndButtons::KEY_ENTER, KeysAndButtons::KEY_EPG, KeysAndButtons::KEY_EQUAL, KeysAndButtons::KEY_ESC, KeysAndButtons::KEY_EURO, KeysAndButtons::KEY_EXIT, KeysAndButtons::KEY_F, KeysAndButtons::KEY_F1, KeysAndButtons::KEY_F10, KeysAndButtons::KEY_F11, KeysAndButtons::KEY_F12, KeysAndButtons::KEY_F13, KeysAndButtons::KEY_F14, KeysAndButtons::KEY_F15, KeysAndButtons::KEY_F16, KeysAndButtons::KEY_F17, KeysAndButtons::KEY_F18, KeysAndButtons::KEY_F19, KeysAndButtons::KEY_F2, KeysAndButtons::KEY_F20, KeysAndButtons::KEY_F21, KeysAndButtons::KEY_F22, KeysAndButtons::KEY_F23, KeysAndButtons::KEY_F24, KeysAndButtons::KEY_F3, KeysAndButtons::KEY_F4, KeysAndButtons::KEY_F5, KeysAndButtons::KEY_F6, KeysAndButtons::KEY_F7, KeysAndButtons::KEY_F8, KeysAndButtons::KEY_F9, KeysAndButtons::KEY_FASTFORWARD, KeysAndButtons::KEY_FAVORITES, KeysAndButtons::KEY_FILE, KeysAndButtons::KEY_FINANCE, KeysAndButtons::KEY_FIND, KeysAndButtons::KEY_FIRST, KeysAndButtons::KEY_FN, KeysAndButtons::KEY_FN_1, KeysAndButtons::KEY_FN_2, KeysAndButtons::KEY_FN_B, KeysAndButtons::KEY_FN_D, KeysAndButtons::KEY_FN_E, KeysAndButtons::KEY_FN_ESC, KeysAndButtons::KEY_FN_F, KeysAndButtons::KEY_FN_F1, KeysAndButtons::KEY_FN_F10, KeysAndButtons::KEY_FN_F11, KeysAndButtons::KEY_FN_F12, KeysAndButtons::KEY_FN_F2, KeysAndButtons::KEY_FN_F3, KeysAndButtons::KEY_FN_F4, KeysAndButtons::KEY_FN_F5, KeysAndButtons::KEY_FN_F6, KeysAndButtons::KEY_FN_F7, KeysAndButtons::KEY_FN_F8, KeysAndButtons::KEY_FN_F9, KeysAndButtons::KEY_FN_S, KeysAndButtons::KEY_FORWARD, KeysAndButtons::KEY_FORWARDMAIL, KeysAndButtons::KEY_FRAMEBACK, KeysAndButtons::KEY_FRAMEFORWARD, KeysAndButtons::KEY_FRONT, KeysAndButtons::KEY_G, KeysAndButtons::KEY_GAMES, KeysAndButtons::KEY_GOTO, KeysAndButtons::KEY_GRAPHICSEDITOR, KeysAndButtons::KEY_GRAVE, KeysAndButtons::KEY_GREEN, KeysAndButtons::KEY_H, KeysAndButtons::KEY_HANGEUL, KeysAndButtons::KEY_HANGUEL, KeysAndButtons::KEY_HANJA, KeysAndButtons::KEY_HELP, KeysAndButtons::KEY_HENKAN, KeysAndButtons::KEY_HIRAGANA, KeysAndButtons::KEY_HOME, KeysAndButtons::KEY_HOMEPAGE, KeysAndButtons::KEY_HP, KeysAndButtons::KEY_I, KeysAndButtons::KEY_IMAGES, KeysAndButtons::KEY_INFO, KeysAndButtons::KEY_INSERT, KeysAndButtons::KEY_INS_LINE, KeysAndButtons::KEY_ISO, KeysAndButtons::KEY_J, KeysAndButtons::KEY_JOURNAL, KeysAndButtons::KEY_K, KeysAndButtons::KEY_KATAKANA, KeysAndButtons::KEY_KATAKANAHIRAGANA, KeysAndButtons::KEY_KBDILLUMDOWN, KeysAndButtons::KEY_KBDILLUMTOGGLE, KeysAndButtons::KEY_KBDILLUMUP, KeysAndButtons::KEY_KBDINPUTASSIST_ACCEPT, KeysAndButtons::KEY_KBDINPUTASSIST_CANCEL, KeysAndButtons::KEY_KBDINPUTASSIST_NEXT, KeysAndButtons::KEY_KBDINPUTASSIST_NEXTGROUP, KeysAndButtons::KEY_KBDINPUTASSIST_PREV, KeysAndButtons::KEY_KBDINPUTASSIST_PREVGROUP, KeysAndButtons::KEY_KEYBOARD, KeysAndButtons::KEY_KP0, KeysAndButtons::KEY_KP1, KeysAndButtons::KEY_KP2, KeysAndButtons::KEY_KP3, KeysAndButtons::KEY_KP4, KeysAndButtons::KEY_KP5, KeysAndButtons::KEY_KP6, KeysAndButtons::KEY_KP7, KeysAndButtons::KEY_KP8, KeysAndButtons::KEY_KP9, KeysAndButtons::KEY_KPASTERISK, KeysAndButtons::KEY_KPCOMMA, KeysAndButtons::KEY_KPDOT, KeysAndButtons::KEY_KPENTER, KeysAndButtons::KEY_KPEQUAL, KeysAndButtons::KEY_KPJPCOMMA, KeysAndButtons::KEY_KPLEFTPAREN, KeysAndButtons::KEY_KPMINUS, KeysAndButtons::KEY_KPPLUS, KeysAndButtons::KEY_KPPLUSMINUS, KeysAndButtons::KEY_KPRIGHTPAREN, KeysAndButtons::KEY_KPSLASH, KeysAndButtons::KEY_L, KeysAndButtons::KEY_LANGUAGE, KeysAndButtons::KEY_LAST, KeysAndButtons::KEY_LEFT, KeysAndButtons::KEY_LEFTALT, KeysAndButtons::KEY_LEFTBRACE, KeysAndButtons::KEY_LEFTCTRL, KeysAndButtons::KEY_LEFTMETA, KeysAndButtons::KEY_LEFTSHIFT, KeysAndButtons::KEY_LIGHTS_TOGGLE, KeysAndButtons::KEY_LINEFEED, KeysAndButtons::KEY_LIST, KeysAndButtons::KEY_LOGOFF, KeysAndButtons::KEY_M, KeysAndButtons::KEY_MACRO, KeysAndButtons::KEY_MAIL, KeysAndButtons::KEY_MAX, KeysAndButtons::KEY_MEDIA, KeysAndButtons::KEY_MEDIA_REPEAT, KeysAndButtons::KEY_MEMO, KeysAndButtons::KEY_MENU, KeysAndButtons::KEY_MESSENGER, KeysAndButtons::KEY_MHP, KeysAndButtons::KEY_MICMUTE, KeysAndButtons::KEY_MINUS, KeysAndButtons::KEY_MIN_INTERESTING, KeysAndButtons::KEY_MODE, KeysAndButtons::KEY_MOVE, KeysAndButtons::KEY_MP3, KeysAndButtons::KEY_MSDOS, KeysAndButtons::KEY_MUHENKAN, KeysAndButtons::KEY_MUTE, KeysAndButtons::KEY_N, KeysAndButtons::KEY_NEW, KeysAndButtons::KEY_NEWS, KeysAndButtons::KEY_NEXT, KeysAndButtons::KEY_NEXTSONG, KeysAndButtons::KEY_NUMERIC_0, KeysAndButtons::KEY_NUMERIC_1, KeysAndButtons::KEY_NUMERIC_2, KeysAndButtons::KEY_NUMERIC_3, KeysAndButtons::KEY_NUMERIC_4, KeysAndButtons::KEY_NUMERIC_5, KeysAndButtons::KEY_NUMERIC_6, KeysAndButtons::KEY_NUMERIC_7, KeysAndButtons::KEY_NUMERIC_8, KeysAndButtons::KEY_NUMERIC_9, KeysAndButtons::KEY_NUMERIC_POUND, KeysAndButtons::KEY_NUMERIC_STAR, KeysAndButtons::KEY_NUMLOCK, KeysAndButtons::KEY_O, KeysAndButtons::KEY_OK, KeysAndButtons::KEY_OPEN, KeysAndButtons::KEY_OPTION, KeysAndButtons::KEY_P, KeysAndButtons::KEY_PAGEDOWN, KeysAndButtons::KEY_PAGEUP, KeysAndButtons::KEY_PASTE, KeysAndButtons::KEY_PAUSE, KeysAndButtons::KEY_PAUSECD, KeysAndButtons::KEY_PC, KeysAndButtons::KEY_PHONE, KeysAndButtons::KEY_PLAY, KeysAndButtons::KEY_PLAYCD, KeysAndButtons::KEY_PLAYER, KeysAndButtons::KEY_PLAYPAUSE, KeysAndButtons::KEY_POWER, KeysAndButtons::KEY_POWER2, KeysAndButtons::KEY_PRESENTATION, KeysAndButtons::KEY_PREVIOUS, KeysAndButtons::KEY_PREVIOUSSONG, KeysAndButtons::KEY_PRINT, KeysAndButtons::KEY_PROG1, KeysAndButtons::KEY_PROG2, KeysAndButtons::KEY_PROG3, KeysAndButtons::KEY_PROG4, KeysAndButtons::KEY_PROGRAM, KeysAndButtons::KEY_PROPS, KeysAndButtons::KEY_PVR, KeysAndButtons::KEY_Q, KeysAndButtons::KEY_QUESTION, KeysAndButtons::KEY_R, KeysAndButtons::KEY_RADIO, KeysAndButtons::KEY_RECORD, KeysAndButtons::KEY_RED, KeysAndButtons::KEY_REDO, KeysAndButtons::KEY_REFRESH, KeysAndButtons::KEY_REPLY, KeysAndButtons::KEY_RESERVED, KeysAndButtons::KEY_RESTART, KeysAndButtons::KEY_REWIND, KeysAndButtons::KEY_RFKILL, KeysAndButtons::KEY_RIGHT, KeysAndButtons::KEY_RIGHTALT, KeysAndButtons::KEY_RIGHTBRACE, KeysAndButtons::KEY_RIGHTCTRL, KeysAndButtons::KEY_RIGHTMETA, KeysAndButtons::KEY_RIGHTSHIFT, KeysAndButtons::KEY_RO, KeysAndButtons::KEY_S, KeysAndButtons::KEY_SAT, KeysAndButtons::KEY_SAT2, KeysAndButtons::KEY_SAVE, KeysAndButtons::KEY_SCALE, KeysAndButtons::KEY_SCREEN, KeysAndButtons::KEY_SCREENLOCK, KeysAndButtons::KEY_SCREENSAVER, KeysAndButtons::KEY_SCROLLDOWN, KeysAndButtons::KEY_SCROLLLOCK, KeysAndButtons::KEY_SCROLLUP, KeysAndButtons::KEY_SEARCH, KeysAndButtons::KEY_SELECT, KeysAndButtons::KEY_SEMICOLON, KeysAndButtons::KEY_SEND, KeysAndButtons::KEY_SENDFILE, KeysAndButtons::KEY_SETUP, KeysAndButtons::KEY_SHOP, KeysAndButtons::KEY_SHUFFLE, KeysAndButtons::KEY_SLASH, KeysAndButtons::KEY_SLEEP, KeysAndButtons::KEY_SLOW, KeysAndButtons::KEY_SOUND, KeysAndButtons::KEY_SPACE, KeysAndButtons::KEY_SPELLCHECK, KeysAndButtons::KEY_SPORT, KeysAndButtons::KEY_SPREADSHEET, KeysAndButtons::KEY_STOP, KeysAndButtons::KEY_STOPCD, KeysAndButtons::KEY_SUBTITLE, KeysAndButtons::KEY_SUSPEND, KeysAndButtons::KEY_SWITCHVIDEOMODE, KeysAndButtons::KEY_SYSRQ, KeysAndButtons::KEY_T, KeysAndButtons::KEY_TAB, KeysAndButtons::KEY_TAPE, KeysAndButtons::KEY_TASKMANAGER, KeysAndButtons::KEY_TEEN, KeysAndButtons::KEY_TEXT, KeysAndButtons::KEY_TIME, KeysAndButtons::KEY_TITLE, KeysAndButtons::KEY_TOUCHPAD_OFF, KeysAndButtons::KEY_TOUCHPAD_ON, KeysAndButtons::KEY_TOUCHPAD_TOGGLE, KeysAndButtons::KEY_TUNER, KeysAndButtons::KEY_TV, KeysAndButtons::KEY_TV2, KeysAndButtons::KEY_TWEN, KeysAndButtons::KEY_U, KeysAndButtons::KEY_UNDO, KeysAndButtons::KEY_UNKNOWN, KeysAndButtons::KEY_UP, KeysAndButtons::KEY_UWB, KeysAndButtons::KEY_V, KeysAndButtons::KEY_VCR, KeysAndButtons::KEY_VCR2, KeysAndButtons::KEY_VENDOR, KeysAndButtons::KEY_VIDEO, KeysAndButtons::KEY_VIDEOPHONE, KeysAndButtons::KEY_VIDEO_NEXT, KeysAndButtons::KEY_VIDEO_PREV, KeysAndButtons::KEY_VOICECOMMAND, KeysAndButtons::KEY_VOICEMAIL, KeysAndButtons::KEY_VOLUMEDOWN, KeysAndButtons::KEY_VOLUMEUP, KeysAndButtons::KEY_W, KeysAndButtons::KEY_WAKEUP, KeysAndButtons::KEY_WIMAX, KeysAndButtons::KEY_WLAN, KeysAndButtons::KEY_WORDPROCESSOR, KeysAndButtons::KEY_WPS_BUTTON, KeysAndButtons::KEY_WWAN, KeysAndButtons::KEY_WWW, KeysAndButtons::KEY_X, KeysAndButtons::KEY_XFER, KeysAndButtons::KEY_Y, KeysAndButtons::KEY_YELLOW, KeysAndButtons::KEY_YEN, KeysAndButtons::KEY_Z, KeysAndButtons::KEY_ZENKAKUHANKAKU, KeysAndButtons::KEY_ZOOM, KeysAndButtons::KEY_ZOOMIN, KeysAndButtons::KEY_ZOOMOUT, KeysAndButtons::KEY_ZOOMRESET

Constants included from SynchronizationEvents

SynchronizationEvents::SYN_CNT, SynchronizationEvents::SYN_CONFIG, SynchronizationEvents::SYN_DROPPED, SynchronizationEvents::SYN_MAX, SynchronizationEvents::SYN_MT_REPORT, SynchronizationEvents::SYN_REPORT

Constants included from EventTypes

EventTypes::EV_ABS, EventTypes::EV_CNT, EventTypes::EV_FF, EventTypes::EV_FF_STATUS, EventTypes::EV_KEY, EventTypes::EV_LED, EventTypes::EV_MAX, EventTypes::EV_MSC, EventTypes::EV_PWR, EventTypes::EV_REL, EventTypes::EV_REP, EventTypes::EV_SND, EventTypes::EV_SW, EventTypes::EV_SYN

Constants included from DeviceProperties

DeviceProperties::INPUT_PROP_BUTTONPAD, DeviceProperties::INPUT_PROP_CNT, DeviceProperties::INPUT_PROP_DIRECT, DeviceProperties::INPUT_PROP_MAX, DeviceProperties::INPUT_PROP_POINTER, DeviceProperties::INPUT_PROP_SEMI_MT

Class Method Summary collapse

Methods included from IOCTL

IOCSIZE_MASK, IOCSIZE_SHIFT, IOC_IN, IOC_INOUT, IOC_OUT, _IO, _IOC, _IOC_DIR, _IOC_DIRBITS, _IOC_DIRMASK, _IOC_DIRSHIFT, _IOC_NONE, _IOC_NR, _IOC_NRBITS, _IOC_NRMASK, _IOC_NRSHIFT, _IOC_READ, _IOC_SIZE, _IOC_SIZEBITS, _IOC_SIZEMASK, _IOC_SIZESHIFT, _IOC_TYPE, _IOC_TYPEBITS, _IOC_TYPEMASK, _IOC_TYPESHIFT, _IOC_WRITE, _IOR, _IOW, _IOWR, _size_of, kernel_versions

Methods included from Macros

EVIOCGABS, EVIOCGBIT, EVIOCGEFFECTS, EVIOCGID, EVIOCGKEY, EVIOCGKEYCODE, EVIOCGKEYCODE_V2, EVIOCGLED, EVIOCGMTSLOTS, EVIOCGNAME, EVIOCGPHYS, EVIOCGPROP, EVIOCGRAB, EVIOCGREP, EVIOCGSND, EVIOCGSW, EVIOCGUNIQ, EVIOCGVERSION, EVIOCREVOKE, EVIOCRMFF, EVIOCSABS, EVIOCSCLOCKID, EVIOCSFF, EVIOCSKEYCODE, EVIOCSKEYCODE_V2, EVIOCSREP, _s16, _u16, _u32, _u8, ff_effect, input_keymap_entry, int, struct_input_id, unsigned_int_2

Class Method Details

.kernel_versionObject

this is compatible to more, just haven’t validated



26
27
28
# File 'lib/vigilem/evdev/system/input.rb', line 26

def self.kernel_version
  %w(3.16)
end