X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=keysets%2Fhauppauge.cpp;h=988cbc3a143834ad647f1c1936f08db7b50b58ac;hb=80604d5fadefa03991be6c0111e2f25798efdb84;hp=92f076da85e5678376d4340bf968be4215a7d5a5;hpb=7d3c84a6ada2596caea6a3429fc7b25c67f4aaba;p=pierogi diff --git a/keysets/hauppauge.cpp b/keysets/hauppauge.cpp index 92f076d..988cbc3 100644 --- a/keysets/hauppauge.cpp +++ b/keysets/hauppauge.cpp @@ -11,18 +11,7 @@ HauppaugePCTV1::HauppaugePCTV1( { addControlledDevice(Hauppauge_Make, "PVR 350", Computer_Device); - RC5Protocol *rp = new RC5Protocol( - guiObject, - index, - 900, 900, // biphase pulse - 900, // lead pulse - 114000, true); // constant-length gap - - threadableProtocol = rp; - - rp->setToggleBit(2); - - setPreData(0x5E, 7); + threadableProtocol = new RC5Protocol(guiObject, index, 0x5E); addKey("Power", Power_Key, 0x3D, 6); addKey("Go", Unmapped_Key, 0x3B, 6); @@ -129,16 +118,7 @@ HauppaugePCTV2::HauppaugePCTV2( { addControlledDevice(Hauppauge_Make, "PVR-250", Computer_Device); - RC5Protocol *rp = new RC5Protocol( - guiObject, - index, - 900, 900, - 900, - 114000, true); - - threadableProtocol = rp; - - rp->setToggleBit(2); + threadableProtocol = new RC5Protocol(guiObject, index, 0x54); addKey("POWER", Power_Key, 0x150C, 13); addKey("1", One_Key, 0x1525, 13);