USB HID: Restore previous handler sorting.

* Since additional handlers put themself in the front the
   handler list, asking the tablet handler last actually puts
   its handler in the first position, as before my changes.
This commit is contained in:
Stephan Aßmus
2013-09-04 09:53:41 +02:00
parent 72c029ea37
commit bc61e26366
@@ -94,8 +94,8 @@ ProtocolHandler::AddHandlers(HIDDevice &device, ProtocolHandler *&handlerList,
// regular (relative) mouse, or (absolute) tablet?
KeyboardProtocolHandler::AddHandlers(device, *collection, handlerList);
JoystickProtocolHandler::AddHandlers(device, *collection, handlerList);
TabletProtocolHandler::AddHandlers(device, *collection, handlerList);
MouseProtocolHandler::AddHandlers(device, *collection, handlerList);
TabletProtocolHandler::AddHandlers(device, *collection, handlerList);
}
handlerCount = 0;