]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/driver.cpp
Add driver for my custom Arduino-based control device
[r2c2.git] / source / libr2c2 / driver.cpp
index 3b6d64995f56a04c24e52472800e9d6ec8fe24ba..04df5f4e82465f9c8d57ab28b0e24ec222e122bb 100644 (file)
@@ -1,3 +1,4 @@
+#include "arducontrol.h"
 #include "centralstation.h"
 #include "driver.h"
 #include "dummy.h"
@@ -20,6 +21,8 @@ Driver *Driver::create(const string &str)
                return new Intellibox(params);
        else if(type=="cs" || type=="centralstation")
                return new CentralStation(params);
+       else if(type=="ac" || type=="arducontrol")
+               return new ArduControl(params);
        else if(type=="dummy")
                return new Dummy(params);