Modprobe scripts now working! Plus JVC keyset.
[pierogi] / pirkeysetmanager.cpp
index 2129699..cd6395f 100644 (file)
@@ -4,14 +4,18 @@
 #include "keysets/ei.h"
 #include "keysets/goldstar.h"
 #include "keysets/hauppauge.h"
+#include "keysets/jvc.h"
 #include "keysets/lg.h"
+#include "keysets/mitsubishi.h"
 #include "keysets/nokia.h"
 #include "keysets/panasonic.h"
+#include "keysets/rca.h"
 #include "keysets/samsung.h"
 #include "keysets/sanyo.h"
 #include "keysets/sharp.h"
 #include "keysets/sony.h"
 #include "keysets/toshiba.h"
+#include "keysets/westinghouse.h"
 #include "keysets/zenith.h"
 //#include "protocol.h"
 #include "pirmakenames.h"
@@ -41,9 +45,11 @@ PIRKeysetManager::PIRKeysetManager(
   QObject *guiObject)
   : counter(0)
 {
-  // Create the keysets.  This needs to be worked on!
+  // Create the keysets.  Ugly!  This needs to be worked on!
   populateKeyset(new AppleWhiteRemote(guiObject, counter++));
+
   populateKeyset(new EiKeyset(guiObject, counter++));
+
   populateKeyset(new GoldStarTV1(guiObject, counter++));
   populateKeyset(new GoldStarTV2(guiObject, counter++));
   populateKeyset(new GoldStarVCR1(guiObject, counter++));
@@ -52,8 +58,38 @@ PIRKeysetManager::PIRKeysetManager(
   populateKeyset(new GoldStarVCR1c(guiObject, counter++));
   populateKeyset(new GoldStarVCR1d(guiObject, counter++));
   populateKeyset(new GoldStarCD1(guiObject, counter++));
+
   populateKeyset(new HauppaugeGeneric(guiObject, counter++));
   populateKeyset(new HauppaugeTV1(guiObject, counter++));
+
+  populateKeyset(new JVCSat1(guiObject, counter++));
+  populateKeyset(new JVCSat2(guiObject, counter++));
+  populateKeyset(new JVCVCR1(guiObject, counter++));
+  populateKeyset(new JVCVCR1a(guiObject, counter++));
+  populateKeyset(new JVCVCR1b(guiObject, counter++));
+  populateKeyset(new JVCVCR1c(guiObject, counter++));
+  populateKeyset(new JVCVCR2(guiObject, counter++));
+  populateKeyset(new JVCVCR2a(guiObject, counter++));
+  populateKeyset(new JVCVCR2b(guiObject, counter++));
+  populateKeyset(new JVCVCR2c(guiObject, counter++));
+  populateKeyset(new JVCTV1(guiObject, counter++));
+  populateKeyset(new JVCTV1a(guiObject, counter++));
+  populateKeyset(new JVCTV1b(guiObject, counter++));
+  populateKeyset(new JVCTV1c(guiObject, counter++));
+  populateKeyset(new JVCTV1d(guiObject, counter++));
+  populateKeyset(new JVCTV2(guiObject, counter++));
+  populateKeyset(new JVCTV2a(guiObject, counter++));
+  populateKeyset(new JVCTV2b(guiObject, counter++));
+  populateKeyset(new JVCTV2c(guiObject, counter++));
+  populateKeyset(new JVCTV2d(guiObject, counter++));
+  populateKeyset(new JVCDAT1(guiObject, counter++));
+  populateKeyset(new JVCCarDeck1(guiObject, counter++));
+  populateKeyset(new JVCPortableAudio1(guiObject, counter++));
+  populateKeyset(new JVCPortableAudio1a(guiObject, counter++));
+  populateKeyset(new JVCPortableAudio1b(guiObject, counter++));
+  populateKeyset(new JVCPortableAudio2(guiObject, counter++));
+  populateKeyset(new JVCDVD1(guiObject, counter++));
+
   populateKeyset(new LGTV1(guiObject, counter++));
   populateKeyset(new LGTV1a(guiObject, counter++));
   populateKeyset(new LGTV1b(guiObject, counter++));
@@ -67,7 +103,14 @@ PIRKeysetManager::PIRKeysetManager(
   populateKeyset(new LGVCR1(guiObject, counter++));
   populateKeyset(new LGVCR1a(guiObject, counter++));
   populateKeyset(new LGVCR1b(guiObject, counter++));
+
+  populateKeyset(new MitsubishiTV1(guiObject, counter++));
+  populateKeyset(new MitsubishiTV1a(guiObject, counter++));
+  populateKeyset(new MitsubishiVCR1(guiObject, counter++));
+  populateKeyset(new MitsubishiVCR1a(guiObject, counter++));
+
   populateKeyset(new NokiaGenericVCR(guiObject, counter++));
+
   populateKeyset(new PanasonicAmp(guiObject, counter++));
   populateKeyset(new PanasonicCarAudio(guiObject, counter++));
   populateKeyset(new PanasonicSat1(guiObject, counter++));
@@ -82,6 +125,20 @@ PIRKeysetManager::PIRKeysetManager(
   populateKeyset(new PanasonicDVD1(guiObject, counter++));
   populateKeyset(new PanasonicDVD1a(guiObject, counter++));
   populateKeyset(new PanasonicAudio(guiObject, counter++));
+
+  populateKeyset(new RCATV1(guiObject, counter++));
+  populateKeyset(new RCATV1a(guiObject, counter++));
+  populateKeyset(new RCATV2(guiObject, counter++));
+  populateKeyset(new RCAAux1(guiObject, counter++));
+  populateKeyset(new RCAAux2(guiObject, counter++));
+  populateKeyset(new RCAAux2a(guiObject, counter++));
+  populateKeyset(new RCAVCR1(guiObject, counter++));
+  populateKeyset(new RCAVCR2(guiObject, counter++));
+  populateKeyset(new RCADVD1(guiObject, counter++));
+  populateKeyset(new RCADVD1a(guiObject, counter++));
+  populateKeyset(new RCASat1(guiObject, counter++));
+  populateKeyset(new RCASat2(guiObject, counter++));
+
   populateKeyset(new SamsungTV1(guiObject, counter++));
   populateKeyset(new SamsungTV1a(guiObject, counter++));
   populateKeyset(new SamsungTV1b(guiObject, counter++));
@@ -102,9 +159,11 @@ PIRKeysetManager::PIRKeysetManager(
   populateKeyset(new SamsungDVD1b(guiObject, counter++));
   populateKeyset(new SamsungDVD2(guiObject, counter++));
   populateKeyset(new SamsungAC1(guiObject, counter++));
+
   populateKeyset(new SanyoTV1(guiObject, counter++));
   populateKeyset(new SanyoTV2(guiObject, counter++));
   populateKeyset(new SanyoVCR1(guiObject, counter++));
+
   populateKeyset(new SharpTV1(guiObject, counter++));
   populateKeyset(new SharpTV1a(guiObject, counter++));
   populateKeyset(new SharpTV1b(guiObject, counter++));
@@ -113,6 +172,7 @@ PIRKeysetManager::PIRKeysetManager(
   populateKeyset(new SharpTV1e(guiObject, counter++));
   populateKeyset(new SharpVCR1(guiObject, counter++));
   populateKeyset(new SharpReceiver1(guiObject, counter++));
+
   populateKeyset(new SonyTV1(guiObject, counter++));
   populateKeyset(new SonyTV1a(guiObject, counter++));
   populateKeyset(new SonyTV1b(guiObject, counter++));
@@ -120,6 +180,7 @@ PIRKeysetManager::PIRKeysetManager(
   populateKeyset(new SonyAmp1(guiObject, counter++));
   populateKeyset(new SonyAmp2(guiObject, counter++));
   populateKeyset(new SonyCD1(guiObject, counter++));
+  populateKeyset(new SonyCD1a(guiObject, counter++));
   populateKeyset(new SonyCD2(guiObject, counter++));
   populateKeyset(new SonyCD3(guiObject, counter++));
   populateKeyset(new SonyDAT1(guiObject, counter++));
@@ -130,6 +191,7 @@ PIRKeysetManager::PIRKeysetManager(
   populateKeyset(new SonyVCR1(guiObject, counter++));
   populateKeyset(new SonyVCR1a(guiObject, counter++));
   populateKeyset(new SonyReceiver1(guiObject, counter++));
+
   populateKeyset(new ToshibaTV1(guiObject, counter++));
   populateKeyset(new ToshibaTV1a(guiObject, counter++));
   populateKeyset(new ToshibaTV1b(guiObject, counter++));
@@ -143,6 +205,10 @@ PIRKeysetManager::PIRKeysetManager(
   populateKeyset(new ToshibaDisc1b(guiObject, counter++));
   populateKeyset(new ToshibaDisc1c(guiObject, counter++));
   populateKeyset(new ToshibaDisc1d(guiObject, counter++));
+
+  populateKeyset(new WestinghouseTV1(guiObject, counter++));
+  populateKeyset(new WestinghouseTV2(guiObject, counter++));
+
   populateKeyset(new ZenithC32V37(guiObject, counter++));
 
   // Start the thread running: