xorg ddx: move to new input API, remove old keyboard driver
Remove most of the rest of the old keyboard driver.
Move to the new Get{Keyboard,Pointer}Events API, which is mostly
complete at this stage: just missing the proximity events.
This commit is contained in:
committed by
Daniel Stone
parent
d32dc8bf19
commit
60ea7b51fe
@@ -155,6 +155,19 @@ xf86LookupInputDriver(const char *name)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
InputInfoPtr
|
||||
xf86LookupInput(const char *name)
|
||||
{
|
||||
InputInfoPtr p;
|
||||
|
||||
for (p = xf86InputDevs; p != NULL; p = p->next) {
|
||||
if (strcmp(name, p->name) == 0)
|
||||
return p;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
_X_EXPORT void
|
||||
xf86AddModuleInfo(ModuleInfoPtr info, pointer module)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user