kdrive: Hardcode a different wrong value for number of mouse buttons

This should really come from the input driver directly, but, kdrive.
This commit is contained in:
Adam Jackson 2008-10-14 09:45:19 -04:00
parent f3f6ea89aa
commit 3eb52de7f2

View File

@ -1292,7 +1292,7 @@ KdParsePointer (char *arg)
return NULL;
pi->emulateMiddleButton = kdEmulateMiddleButton;
pi->transformCoordinates = !kdRawPointerCoordinates;
pi->nButtons = 3;
pi->nButtons = 5; /* XXX should not be hardcoded */
pi->inputClass = KD_MOUSE;
if (!arg)