evdev

NAME

evdev - Generic Linux input driver

SYNOPSIS

 Section "InputDevice"
   Identifier "devname"
   Driver "evdev"
   Option "Device"   "devpath"
   Option "Path"     "path"
   Option "Emulate3Buttons"     "True"
   Option "Emulate3Timeout"     "50"
   ...
 EndSection
 

DESCRIPTION

evdev is an Xorg input driver for Linux's generic event devices. It therefore supports all input devices that the kernel knows about, including most mice and keyboards.

The evdev driver can serve as both a pointer and a keyboard input device, and may be used as both the core keyboard and the core pointer. Multiple input devices are supported by multiple instances of this driver, with one Load directive for evdev in the Module section of your xorg.conf for each input device that will use this driver.

SUPPORTED HARDWARE

In general, any input device that the kernel has a driver for can be accessed through the evdev driver. See the Linux kernel documentation for a complete list.

CONFIGURATION DETAILS

Please refer to xorg.conf(5) for general configuration details and for options that can be used with all input drivers. This section only covers configuration details specific to this driver.

The following driver Options are supported:

Option "Device" "string"
Specifies the device through which the device can be accessed. This will generally be of the form "/dev/input/eventX", where X is some integer. The mapping from device node to hardware is system-dependent. This option is mandatory unless "Path" is given, and there is no default setting.
Option "Path" "string"
Specifies the device through which the device can be accessed. This will generally be of the form "/dev/input/by-path/xyz", where xyz includes the name of the device. The mapping from device node to hardware is system-dependent. This option has precedence over the "Device" option but one of "Path" or "Device" must be given.
Option "Emulate3Buttons" "boolean"
Enable/disable the emulation of the third (middle) mouse button for mice which only have two physical buttons. The third button is emulated by pressing both buttons simultaneously. Default: on, until a middle mouse button event is registered.
Option "Emulate3Timeout" "integer"
Sets the timeout (in milliseconds) that the driver waits before deciding if two buttons where pressed "simultaneously" when 3 button emulation is enabled. Default: 50.
Option "ReopenAttempts" "integer"
Number of reopen attempts after a read error occurs on the device (e.g. after waking up from suspend). In between each attempt is a 100ms wait. Default: 10.

AUTHORS

Kristian HÞgsberg.

SEE ALSO

Xorg(1), xorg.conf(5), xorgconfig(1), Xserver(1), X(7), README.mouse.