41 #define DMX_COMMON_OTHER \
45 DMXLocalInputInfoPtr dmxLocal; \
53 KeybdCtrl savedKctrl; \
54 XModifierKeymap *savedModMap; \
57 #define DMX_COMMON_XKB \
60 XkbIndicatorRec savedIndicators
62 #define DMX_COMMON_PRIVATE \
66 #define GETONLYPRIVFROMPRIVATE \
67 myPrivate *priv = private
69 #define GETPRIVFROMPRIVATE \
70 GETONLYPRIVFROMPRIVATE; \
71 DMXInputInfo *dmxInput = &dmxInputs[priv->dmxLocal->inputIdx]
73 #define GETDMXLOCALFROMPDEVICE \
74 DevicePtr pDev = &pDevice->public; \
75 DMXLocalInputInfoPtr dmxLocal = pDev->devicePrivate
77 #define GETDMXINPUTFROMPRIV \
78 DMXInputInfo *dmxInput = &dmxInputs[priv->dmxLocal->inputIdx]
80 #define GETDMXINPUTFROMPDEVICE \
81 GETDMXLOCALFROMPDEVICE; \
82 DMXInputInfo *dmxInput = &dmxInputs[dmxLocal->inputIdx]
84 #define GETDMXLOCALFROMPDEV \
85 DMXLocalInputInfoPtr dmxLocal = pDev->devicePrivate
87 #define GETDMXINPUTFROMPDEV \
88 GETDMXLOCALFROMPDEV; \
89 DMXInputInfo *dmxInput = &dmxInputs[dmxLocal->inputIdx]
91 #define GETPRIVFROMPDEV \
92 GETDMXLOCALFROMPDEV; \
93 myPrivate *priv = dmxLocal->private
95 #define DMX_KEYBOARD_EVENT_MASK \
96 (KeyPressMask | KeyReleaseMask | KeymapStateMask)
98 #define DMX_POINTER_EVENT_MASK \
99 (ButtonPressMask | ButtonReleaseMask | PointerMotionMask)
103 KeySymsPtr pKeySyms, CARD8 *pModMap);
106 int volume,
int pitch,
int duration);
110 unsigned char *
map,
int *nButtons);
void dmxCommonMouOff(DevicePtr pDev)
Definition: dmxcommon.c:519
static KeySym map[NUM_KEYCODES *GLYPHS_PER_KEY]
Definition: usb-keyboard.c:113
void dmxCommonSaveState(void *private)
Definition: dmxcommon.c:586
void * dmxCommonCopyPrivate(DeviceIntPtr pDevice)
Definition: dmxcommon.c:562
void dmxCommonKbdCtrl(DevicePtr pDev, KeybdCtrl *ctrl)
Definition: dmxcommon.c:155
void dmxCommonRestoreState(void *private)
Definition: dmxcommon.c:644
void dmxCommonOthGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info)
Definition: dmxcommon.c:376
void dmxCommonKbdBell(DevicePtr pDev, int percent, int volume, int pitch, int duration)
Definition: dmxcommon.c:192
int dmxCommonKbdOn(DevicePtr pDev)
Definition: dmxcommon.c:294
void dmxCommonOthOff(DevicePtr pDev)
Definition: dmxcommon.c:364
int dmxCommonOthOn(DevicePtr pDev)
Definition: dmxcommon.c:319
void dmxCommonMouGetMap(DevicePtr pDev, unsigned char *map, int *nButtons)
Definition: dmxcommon.c:464
void dmxCommonKbdOff(DevicePtr pDev)
Definition: dmxcommon.c:309
Definition: dmxinputinit.h:82
void dmxCommonKbdGetMap(DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap)
Definition: dmxcommon.c:217
void dmxCommonMouCtrl(DevicePtr pDev, PtrCtrl *ctrl)
Definition: dmxcommon.c:171
void dmxCommonKbdGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info)
Definition: dmxcommon.c:263
int dmxCommonMouOn(DevicePtr pDev)
Definition: dmxcommon.c:499
int dmxFindPointerScreen(int x, int y)
Definition: dmxcommon.c:541