diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-05-02 18:19:11 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-05-02 18:19:11 +0930 |
commit | ccbe2e63123c58041a3c32ae6a21b05bd8c72b04 (patch) | |
tree | 66db614ee72526be376cb123018772eb042194eb /XIproto.h | |
parent | b12514254cb1d2b91381b59251440b22e36052fb (diff) |
Add xFakeDeviceDataReq
Diffstat (limited to 'XIproto.h')
-rw-r--r-- | XIproto.h | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -177,6 +177,7 @@ struct tmask #define X_GetClientPointer 45 #define X_GetPairedPointer 46 #define X_XiSelectEvent 47 +#define X_FakeDeviceData 48 /********************************************************* * @@ -1727,6 +1728,29 @@ typedef struct { /********************************************************** * + * FakeDeviceData. + * + * Followed by num_valuators * CARD32 fields that represent valuator data. + * + */ + +typedef struct { + CARD8 reqType; /* input extension major opcode */ + CARD8 ReqType; /* always X_XiSelectEvent */ + CARD16 length B16; + CARD8 type; + CARD8 buttons; + CARD8 num_valuators; + CARD8 first_valuator; + CARD8 deviceid; + CARD8 pad0; + CARD16 pad1; +} xFakeDeviceDataReq; + + + +/********************************************************** + * * Input extension events. * * DeviceValuator |