From bc61e2636658d8c15e0a8f67ab5363aaec22419f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 4 Sep 2013 09:53:41 +0200 Subject: [PATCH] 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. --- src/add-ons/kernel/drivers/input/usb_hid/ProtocolHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/drivers/input/usb_hid/ProtocolHandler.cpp b/src/add-ons/kernel/drivers/input/usb_hid/ProtocolHandler.cpp index 305bddebae..1d8cffb553 100644 --- a/src/add-ons/kernel/drivers/input/usb_hid/ProtocolHandler.cpp +++ b/src/add-ons/kernel/drivers/input/usb_hid/ProtocolHandler.cpp @@ -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;