Skip to content

Commit

Permalink
Remove old code from removed USBMouse, XInput and Evdev
Browse files Browse the repository at this point in the history
Conflicts:
	data/controller/usbmouse.scm
	pingus.vcproj
	src/engine/input/driver_factory.cpp
  • Loading branch information
bugdebugger authored and Grumbel committed Jun 6, 2015
1 parent 2842662 commit f847cbd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 89 deletions.
34 changes: 0 additions & 34 deletions data/controller/usbmouse.scm

This file was deleted.

33 changes: 0 additions & 33 deletions data/controller/xinput.scm

This file was deleted.

22 changes: 0 additions & 22 deletions src/engine/input/driver_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
# include "engine/input/xinput/xinput_driver.hpp"
#endif

#ifdef HAVE_LINUXUSBMOUSE
# include "engine/input/usbmouse/usbmouse_driver.hpp"
#endif

#ifdef HAVE_LINUXEVDEV
# include "engine/input/evdev/evdev_driver.hpp"
#endif
Expand All @@ -49,24 +45,6 @@ DriverFactory::create(const std::string& name, Manager* manager)
{
return util::make_unique<CoreDriver>(manager);
}
#ifdef HAVE_LINUXUSBMOUSE
else if (name == "usbmouse")
{
return util::make_unique<USBMouseDriver>();
}
#endif
#ifdef HAVE_LINUXEVDEV
else if (name == "evdev")
{
return util::make_unique<EvdevDriver>();
}
#endif
#ifdef HAVE_XINPUT
else if (name == "xinput")
{
return util::make_unique<XInputDriver>();
}
#endif
#ifdef HAVE_CWIID
else if (name == "wiimote")
{
Expand Down

0 comments on commit f847cbd

Please sign in to comment.