Lines Matching refs:pi
112 KdPointerInfo *pi;
115 pi = (KdPointerInfo *)calloc(1, sizeof(KdPointerInfo));
116 if (!pi)
119 pi->name = strdup("Generic Pointer");
120 pi->path = NULL;
121 pi->inputClass = KD_MOUSE;
122 pi->driver = NULL;
123 pi->driverPrivate = NULL;
124 pi->next = NULL;
125 pi->options = NULL;
126 pi->nAxes = 3;
127 pi->nButtons = KD_MAX_BUTTON;
129 pi->map[i] = i;
131 return pi;
135 KdFreePointer(KdPointerInfo *pi)
139 free(pi->name);
140 free(pi->path);
142 for (option = pi->options; option; option = option->next) {
150 free(pi);