Signed-off-by: Daniel Stone <daniel@fooishbar.org>
typedef struct _XkbcModAction {
unsigned char type;
uint8_t flags;
typedef struct _XkbcModAction {
unsigned char type;
uint8_t flags;
uint32_t vmods;
} XkbcModAction;
uint32_t vmods;
} XkbcModAction;
int16_t group;
uint32_t mask;
uint32_t vmods;
int16_t group;
uint32_t mask;
uint32_t vmods;
uint8_t affect;
} XkbcISOAction;
typedef struct _XkbcCtrlsAction {
unsigned char type;
uint8_t affect;
} XkbcISOAction;
typedef struct _XkbcCtrlsAction {
unsigned char type;
uint32_t ctrls;
} XkbcCtrlsAction;
typedef struct _XkbcDeviceBtnAction {
unsigned char type;
uint32_t ctrls;
} XkbcCtrlsAction;
typedef struct _XkbcDeviceBtnAction {
unsigned char type;
uint16_t device;
uint16_t button;
uint8_t count;
uint16_t device;
uint16_t button;
uint8_t count;
CARD32 sym;
unsigned char flags;
unsigned char match;
CARD32 sym;
unsigned char flags;
unsigned char match;
- unsigned char mods;
- unsigned char virtual_mod;
+ uint8_t mods; /* XXX real or virt? */
+ uint32_t virtual_mod;
XkbcAnyAction act;
} XkbcSymInterpretRec, *XkbcSymInterpretPtr;
XkbcAnyAction act;
} XkbcSymInterpretRec, *XkbcSymInterpretPtr;