Lines Matching defs:pInfo
39 static int HkeyPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags);
40 static void HkeyUnInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags);
174 hotkey_read_input(InputInfoPtr pInfo)
180 DeviceIntPtr dev = pInfo->dev;
183 if (read (pInfo->fd, &buf, 1 ) == 1)
210 keycode, (int) keysym, pInfo->dev->name);
211 xf86PostKeyboardEvent(pInfo->dev, keycode, TRUE);
212 xf86PostKeyboardEvent(pInfo->dev, keycode, FALSE);
219 InputInfoPtr pInfo = device->public.devicePrivate;
245 pInfo->fd = hotkey_event_fd[0];
261 xf86FlushInput(pInfo->fd);
262 AddEnabledDevice(pInfo->fd);
271 if (pInfo->fd != -1)
272 RemoveEnabledDevice(pInfo->fd);
280 if (pInfo->fd != -1)
281 RemoveEnabledDevice(pInfo->fd);
295 HkeyPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
298 pInfo->type_name = XI_KEYBOARD;
299 pInfo->device_control = HkeyProc;
300 pInfo->read_input = hotkey_read_input;
301 pInfo->fd = -1;
302 pInfo->flags = XI86_ALWAYS_CORE;
308 HkeyUnInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
310 xf86DeleteInput(pInfo, 0);