diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-29 08:58:53 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-29 09:09:43 +0930 |
commit | f41d153886c3519ebaf767f9c0d3281b6adce030 (patch) | |
tree | a9f879c61535ca536e3bc20a3e83dfa33172043b | |
parent | 852568991b251e9366da167f1b746a0a1db6adf0 (diff) |
Add DeviceControlChanged define.
This value is used for the devchange field in the DevicePresenceNotify event
when a device's control has been modified.
(cherry picked from commit 0daf8328cfa90b038753fc409c5eb05ba3fac6d5)
-rw-r--r-- | XI.h | 3 | ||||
-rw-r--r-- | XIproto.h | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -250,7 +250,8 @@ SOFTWARE. #define DeviceRemoved 1 #define DeviceEnabled 2 #define DeviceDisabled 3 -#define DeviceUnrecoverable 4 +#define DeviceUnrecoverable 4 +#define DeviceControlChanged 5 #define XI_BadDevice 0 #define XI_BadEvent 1 @@ -1600,7 +1600,7 @@ typedef struct BYTE pad00; CARD16 sequenceNumber B16; Time time B32; - BYTE devchange; /* Device{Added|Removed|Enabled|Disabled} */ + BYTE devchange; /* Device{Added|Removed|Enabled|Disabled|ControlChanged} */ BYTE deviceid; CARD16 control B16; CARD32 pad02 B32; |