diff --git a/data/controller/usbmouse.scm b/data/controller/usbmouse.scm deleted file mode 100644 index b6086598a..000000000 --- a/data/controller/usbmouse.scm +++ /dev/null @@ -1,34 +0,0 @@ -(pingus-controller - (controls - (standard-pointer - (usbmouse:pointer (device "/dev/input/mx500"))) - - (standard-scroller - (usbmouse:scroller (device "/dev/input/marblemouse"))) - - (primary-button - (usbmouse:button (device "/dev/input/mx500") (button 0))) - - (secondary-button - (usbmouse:button (device "/dev/input/mx500") (button 1))) - - (pause-button - (usbmouse:button (device "/dev/input/mx500") (button 4))) - - (fast-forward-button - (usbmouse:button (device "/dev/input/mx500") (button 3))) - - ;; (armageddon-button - ;; (usbmouse:button (device "/dev/input/mx500") (button 4))) - - (escape-button - (sdl:keyboard-button (key "escape"))) - - (action-up-button - (usbmouse:button (device "/dev/input/mx500") (button 6))) - - (action-down-button - (usbmouse:button (device "/dev/input/mx500") (button 5))) - )) - -;; EOF ;; diff --git a/data/controller/xinput.scm b/data/controller/xinput.scm deleted file mode 100644 index 63ebfdabc..000000000 --- a/data/controller/xinput.scm +++ /dev/null @@ -1,33 +0,0 @@ -(pingus-controller - (standard-pointer - (xinput:pointer (device "gstylus"))) - - (primary-button - ) - - (secondary-button - ) - - (pause-button - ) - - (fast-forward-button - ) - - (armageddon-button - ) - - (escape-button - (sdl:keyboard-button (key "escape"))) - - (action-axis - ) - - (action-up-button - ) - - (action-down-button - ) - ) - -;; EOF ;; diff --git a/src/engine/input/driver_factory.cpp b/src/engine/input/driver_factory.cpp index 641f6b3cb..cea8071ee 100644 --- a/src/engine/input/driver_factory.cpp +++ b/src/engine/input/driver_factory.cpp @@ -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 @@ -49,24 +45,6 @@ DriverFactory::create(const std::string& name, Manager* manager) { return util::make_unique(manager); } -#ifdef HAVE_LINUXUSBMOUSE - else if (name == "usbmouse") - { - return util::make_unique(); - } -#endif -#ifdef HAVE_LINUXEVDEV - else if (name == "evdev") - { - return util::make_unique(); - } -#endif -#ifdef HAVE_XINPUT - else if (name == "xinput") - { - return util::make_unique(); - } -#endif #ifdef HAVE_CWIID else if (name == "wiimote") {