diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-10-20 00:33:13 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-10-20 00:33:13 +0300 |
commit | 1fab95863efc2bbf9a5b836b3de31da4a956b4bd (patch) | |
tree | f1d764dd43b82e59d8a4ed8f98e457ecf7d60fe3 /XInput.h | |
parent | 926251a486b57197d735a426887acad6fdfd7dc6 (diff) |
add DEVICE_ENABLE control, add core indication
Add DEVICE_ENABLE control, which allows specific devices to be
enabled or disabled at runtime.
Add 'iscore' flag to DEVICE_CORE, which indicates whether or not the
device is a virtual core device.
Diffstat (limited to 'XInput.h')
-rw-r--r-- | XInput.h | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -671,7 +671,20 @@ typedef struct { XID control; int length; int status; -} XDeviceCoreControl, XDeviceCoreState; +} XDeviceCoreControl; + +typedef struct { + XID control; + int length; + int status; + int iscore; +} XDeviceCoreState; + +typedef struct { + XID control; + int length; + int enable; +} XDeviceEnableControl, XDeviceEnableState; /******************************************************************* * |