This part doesn't test if the tool is available, it simply copies the bits from the kernel. Testing is done later, somewhere else.
Signed-off-by: Peter Hutterer <[email protected]> --- src/wcmValidateDevice.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c index 088365e..8773e17 100644 --- a/src/wcmValidateDevice.c +++ b/src/wcmValidateDevice.c @@ -252,7 +252,6 @@ int wcmDeviceTypeKeys(LocalDevicePtr local, unsigned long* keys) } else /* USB devices */ { - /* test if the tool is defined in the kernel */ if (ioctl(fd, EVIOCGBIT(EV_KEY, (sizeof(unsigned long) * NBITS(KEY_MAX))), keys) < 0) { -- 1.6.6 ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
