]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/generic/gamecontroller.cpp
Add a generic directory for fallback implementations
[libs/gui.git] / source / input / generic / gamecontroller.cpp
diff --git a/source/input/generic/gamecontroller.cpp b/source/input/generic/gamecontroller.cpp
new file mode 100644 (file)
index 0000000..b320342
--- /dev/null
@@ -0,0 +1,23 @@
+#include <stdexcept>
+#include "gamecontroller.h"
+
+using namespace std;
+
+namespace Msp {
+namespace Input {
+
+GameController::GameController(unsigned)
+{
+       throw runtime_error("not supported");
+}
+
+GameController::~GameController()
+{
+}
+
+void GameController::tick()
+{
+}
+
+} // namespace Input
+} // namespace Msp