X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=keysets%2Fsamsung.cpp;fp=keysets%2Fsamsung.cpp;h=da2351897dedfce1720d0092c8c6ce620cd935bc;hb=c368b9d2216660ed7541cad6919338a3538a644b;hp=2001f377b582cc8a196c88b8a69d3805b2d45d5d;hpb=d359576506dc27d7352e1feaa8c38412818db99c;p=pierogi diff --git a/keysets/samsung.cpp b/keysets/samsung.cpp index 2001f37..da23518 100644 --- a/keysets/samsung.cpp +++ b/keysets/samsung.cpp @@ -892,6 +892,43 @@ void SamsungAC1::populateProtocol( } +/* +SamsungAC2::SamsungAC2( + unsigned int index) + : PIRKeysetMetaData( + "AC Keyset 2", + Samsung_Make, + index) +{ +} + + +void SamsungAC2::populateProtocol( + QObject *guiObject) +{ + if (threadableProtocol) + { + // Keyset already populated. + return; + } + + threadableProtocol = new ACProtocol(guiObject, index); + + addKey("Power Off", PowerOff_Subkey, 0xC, 4); + addKey("Power On", PowerOn_Subkey, 0x0, 4); + + addKey("Cool Mode - Normal", CoolModeNormal_Subkey, 0x7, 3); + addKey("Cool Mode - Turbo", CoolModeTurbo_Subkey, 0x1, 3); + addKey("Cool Mode - Far", CoolModeFar_Subkey, 0x2, 3); + + addKey("Deflector L/R Off", DeflectorLROff_Subkey, 0x0, 1); + addKey("Deflector L/R On", DeflectorLROn_Subkey, 0x1, 1); + addKey("Deflector U/D Off", DeflectorUDOff_Subkey, 0x0, 1); + addKey("Deflector U/D On", DeflectorUDOn_Subkey, 0x1, 1); +} +*/ + + SamsungDVBT1::SamsungDVBT1( unsigned int index) : PIRKeysetMetaData(