Lines Matching defs:pInfo
85 OsMouseReadInput(InputInfoPtr pInfo)
94 pMse = pInfo->private;
128 pMse->PostEvent(pInfo, buttons, dx, dy, 0, 0);
136 OsMousePreInit(InputInfoPtr pInfo, const char *protocol, int flags)
142 pMse = pInfo->private;
144 xf86Msg(X_CONFIG, "%s: Protocol: %s\n", pInfo->name, protocol);
149 * pInfo->options. To re-merge the previously set arguments, pass the
150 * original pInfo->options in.
152 xf86CollectInputOptions(pInfo, NULL, pInfo->options);
154 COLLECT_INPUT_OPTIONS(pInfo, NULL);
156 xf86ProcessCommonOptions(pInfo, pInfo->options);
159 pInfo->fd = xf86OpenSerial(pInfo->options);
160 if (pInfo->fd == -1) {
162 xf86Msg(X_WARNING, "%s: cannot open input device\n", pInfo->name);
164 xf86Msg(X_ERROR, "%s: cannot open input device\n", pInfo->name);
169 xf86CloseSerial(pInfo->fd);
170 pInfo->fd = -1;
173 pMse->CommonOptions(pInfo);
176 pInfo->read_input = OsMouseReadInput;
179 pInfo->flags |= XI86_CONFIGURED;
185 FindDevice(InputInfoPtr pInfo, const char *protocol, int flags)
196 pInfo->options =
197 xf86AddNewOption(pInfo->options, "Device", path);
198 xf86Msg(X_INFO, "%s: Setting Device option to \"%s\"\n", pInfo->name,