diff options
author | Zephaniah E. Hull <warp@aehallh.com> | 2006-02-27 10:48:40 +0000 |
---|---|---|
committer | Zephaniah E. Hull <warp@aehallh.com> | 2006-02-27 10:48:40 +0000 |
commit | 94cb4aa1f8caf1ba141ab0839c9eb0b2b5357470 (patch) | |
tree | aa263b30027b866923b226505bd91266be9f6c20 /src/evdev_brain.c | |
parent | Compile with -Wall now. Add evdev.h to the sources so that make distcheck (diff) | |
download | xf86-input-evdev-94cb4aa1f8caf1ba141ab0839c9eb0b2b5357470.tar.gz xf86-input-evdev-94cb4aa1f8caf1ba141ab0839c9eb0b2b5357470.tar.bz2 xf86-input-evdev-94cb4aa1f8caf1ba141ab0839c9eb0b2b5357470.zip |
Better error reporting if the read fails.
Work properly if we're defining entirely by capability maps.
Diffstat (limited to 'src/evdev_brain.c')
-rw-r--r-- | src/evdev_brain.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evdev_brain.c b/src/evdev_brain.c index 7a20c68..04cc542 100644 --- a/src/evdev_brain.c +++ b/src/evdev_brain.c @@ -427,8 +427,11 @@ evdevNewDriver (evdevDriverPtr driver) { if (!evdev_alive) return FALSE; + /* FIXME: Make this check valid given all the ways to look. */ +#if 0 if (!(driver->name || driver->phys || driver->device)) return FALSE; +#endif if (!driver->callback) return FALSE; |