Lines Matching refs:device
70 /* Read a byte from the device to acknowledge the event */
95 VBoxPtrCtrlProc(DeviceIntPtr device, PtrCtrl *ctrl)
101 VBoxInit(DeviceIntPtr device)
106 if (!InitPointerDeviceStruct((DevicePtr)device, map, 2,
131 xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1);
132 xf86InitValuatorAxisStruct(device, 1, 0, -1, 1, 0, 1);
134 xf86InitValuatorAxisStruct(device, 0,
145 xf86InitValuatorAxisStruct(device, 1,
156 xf86InitValuatorDefaults(device, 0);
157 xf86InitValuatorDefaults(device, 1);
158 xf86MotionHistoryAllocate(device->public.devicePrivate);
164 VBoxProc(DeviceIntPtr device, int what)
170 pInfo = device->public.devicePrivate;
175 xrc = VBoxInit(device);
184 if (device->public.on)
196 device->public.on = TRUE;
207 device->public.on = FALSE;
227 xf86Msg(X_ERROR, "%s: Failed to open the VirtualBox device (error %d)\n",
250 const char *device;
260 device = xf86SetStrOption(pInfo->options, "Device",
263 xf86Msg(X_CONFIG, "%s: Device: \"%s\"\n", pInfo->name, device);
265 pInfo->fd = open(device, O_RDWR, 0);
270 xf86Msg(X_ERROR, "Unable to open VirtualBox device \"%s\".\n", device);
286 const char *device;