Input: Allow enabling and disabling of devices

Add DEVICE_ENABLE to KDrive and XFree86 to allow us to enable and disable
devices on the fly.
This commit is contained in:
Daniel Stone 2007-08-01 00:19:14 +03:00
parent 0afeb0241a
commit 7c9e8fd56e
2 changed files with 2 additions and 0 deletions

View File

@ -2294,6 +2294,7 @@ ChangeDeviceControl(register ClientPtr client, DeviceIntPtr pDev,
return Success;
case DEVICE_CORE:
case DEVICE_ENABLE:
return Success;
default:

View File

@ -297,6 +297,7 @@ ChangeDeviceControl (ClientPtr client, DeviceIntPtr dev, xDeviceCtl *control)
case DEVICE_RESOLUTION:
case DEVICE_ABS_CALIB:
case DEVICE_ABS_AREA:
case DEVICE_ENABLE:
return Success;
default:
return BadMatch;