summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-08 16:16:58 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-11 12:24:54 +1030
commit9065d0ccb26d013f26570d29c332bf1c93fabb2d (patch)
treeb296f1e0ca8bf57f718e00add4ace105e1a19841
parenta9fcce1833f167ed8aa79d4dbfbbc3d6bca2e7fd (diff)
Remove "Path" option.
Path was just an alias for Device anyway, so we might as well not parse it. By now you should be using HAL anyway which fills in Device for you.
-rw-r--r--man/evdev.man11
-rw-r--r--src/evdev.c4
2 files changed, 2 insertions, 13 deletions
diff --git a/man/evdev.man b/man/evdev.man
index 98268c8..ddf066f 100644
--- a/man/evdev.man
+++ b/man/evdev.man
@@ -9,7 +9,6 @@ evdev \- Generic Linux input driver
.BI " Identifier \*q" devname \*q
.B " Driver \*qevdev\*q"
.BI " Option \*qDevice\*q \*q" devpath \*q
-.BI " Option \*qPath\*q \*q" path \*q
.BI " Option \*qEmulate3Buttons\*q \*q" True \*q
.BI " Option \*qEmulate3Timeout\*q \*q" 50 \*q
\ \ ...
@@ -47,15 +46,7 @@ are supported:
.BI "Option \*qDevice\*q \*q" string \*q
Specifies the device through which the device can be accessed. This will
generally be of the form \*q/dev/input/eventX\*q, where X is some integer.
-The mapping from device node to hardware is system-dependent. This option is
-mandatory unless \*qPath\*q is given, and there is no default setting.
-.TP 7
-.BI "Option \*qPath\*q \*q" string \*q
-Specifies the device through which the device can be accessed. This will
-generally be of the form \*q/dev/input/by-path/xyz\*q, where xyz includes the
-name of the device. The mapping from device node to hardware is
-system-dependent. This option has precedence over the \*qDevice\*q option but
-one of \*qPath\*q or \*qDevice\*q must be given.
+The mapping from device node to hardware is system-dependent.
.TP 7
.BI "Option \*qEmulate3Buttons\*q \*q" boolean \*q
Enable/disable the emulation of the third (middle) mouse button for mice
diff --git a/src/evdev.c b/src/evdev.c
index 054dbe2..d6848ff 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1331,9 +1331,7 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
*/
pEvdev->tool = 1;
- device = xf86CheckStrOption(dev->commonOptions, "Path", NULL);
- if (!device)
- device = xf86CheckStrOption(dev->commonOptions, "Device", NULL);
+ device = xf86CheckStrOption(dev->commonOptions, "Device", NULL);
if (!device) {
xf86Msg(X_ERROR, "%s: No device specified.\n", pInfo->name);
xf86DeleteInput(pInfo, 0);