void press()
{
- int state, index, maxKeysPerMod, keycode;
+ int state, maxKeysPerMod, keycode;
#if XORG >= 17
- int ret;
KeyCode *modmap = NULL;
state = XkbStateFieldFromRec(&dev->u.master->key->xkbInfo->state);
int state, maxKeysPerMod;
KeyClassPtr keyc;
#if XORG >= 17
- int ret;
KeyCode *modmap = NULL;
keyc = dev->u.master->key;
void InputDevice::keyEvent(rdr::U32 keysym, bool down)
{
+#if XORG < 17
DeviceIntPtr master;
+#endif
KeyClassPtr keyc;
KeySymsPtr keymap = NULL;
KeySym *map = NULL;
return 0;
}
+#if XORG < 17
/* Fairly standard US PC Keyboard */
#define MIN_KEY 8
return TRUE;
}
+#endif
static void keyboardBell(int percent, DeviceIntPtr device, pointer ctrl,
int class_)
static int keyboardProc(DeviceIntPtr pDevice, int onoff)
{
+#if XORG < 17
KeySymsRec keySyms;
CARD8 modMap[MAP_LENGTH];
+#endif
DevicePtr pDev = (DevicePtr)pDevice;
switch (onoff) {
static Bool Render = TRUE;
static bool displaySpecified = false;
-static bool wellKnownSocketsCreated = false;
static char displayNumStr[16];
char *listenaddr = NULL;
static Bool vncRandRGetInfo (ScreenPtr pScreen, Rotation *rotations)
{
- vfbScreenInfoPtr pvfb = &vfbScreens[pScreen->myNum];
Bool ret, gotCurrent = FALSE;
int i;