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:
parent
0afeb0241a
commit
7c9e8fd56e
|
@ -2294,6 +2294,7 @@ ChangeDeviceControl(register ClientPtr client, DeviceIntPtr pDev,
|
|||
return Success;
|
||||
|
||||
case DEVICE_CORE:
|
||||
case DEVICE_ENABLE:
|
||||
return Success;
|
||||
|
||||
default:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user