ui->commandValueLabel->setText(name);
}
-
+/*
void PIREditCommandDialog::on_moveUpButton_clicked()
{
emit moveCommandUp();
emit moveCommandDown();
accept();
}
+*/
void PIREditCommandDialog::on_deleteButton_clicked()
{
emit deleteCommand();
accept();
}
+
+void PIREditCommandDialog::on_copyButton_clicked()
+{
+ emit copyCommand();
+ accept();
+}
signals:
void deleteCommand();
- void moveCommandUp();
- void moveCommandDown();
+// void moveCommandUp();
+// void moveCommandDown();
+ void copyCommand();
private slots:
- void on_moveUpButton_clicked();
- void on_moveDownButton_clicked();
+// void on_moveUpButton_clicked();
+// void on_moveDownButton_clicked();
void on_deleteButton_clicked();
+ void on_copyButton_clicked();
private:
Ui::PIREditCommandDialog *ui;
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
- <widget class="QPushButton" name="moveUpButton">
+ <widget class="QPushButton" name="copyButton">
<property name="text">
- <string>Move Up</string>
- </property>
- <property name="icon">
- <iconset resource="../PierogiResources.qrc">
- <normaloff>:/icons/br_up_icon&48.png</normaloff>:/icons/br_up_icon&48.png</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="moveDownButton">
- <property name="text">
- <string>Move Down</string>
- </property>
- <property name="icon">
- <iconset resource="../PierogiResources.qrc">
- <normaloff>:/icons/br_down_icon&48.png</normaloff>:/icons/br_down_icon&48.png</iconset>
+ <string>Copy</string>
</property>
</widget>
</item>
</item>
</layout>
</widget>
- <resources>
- <include location="../PierogiResources.qrc"/>
- </resources>
+ <resources/>
<connections>
<connection>
<sender>buttonBox</sender>
smd.addPack(mw->getMultitapPack());
// Connect to edit command dialog signals:
+/*
connect(
&ecd,
SIGNAL(deleteCommand()),
connect(
&ecd,
+ SIGNAL(copyCommand()),
+ this,
+ SLOT(copyCurrentCommand()));
+*/
+
+/*
+ connect(
+ &ecd,
SIGNAL(moveCommandUp()),
this,
SLOT(moveCurrentCommandUp()));
SIGNAL(moveCommandDown()),
this,
SLOT(moveCurrentCommandDown()));
+*/
}
}
-void PIRMacroForm::deleteCurrentCommand()
+//void PIRMacroForm::deleteCurrentCommand()
+void PIRMacroForm::on_deleteButton_clicked()
{
+ if (!currentMacro) return;
+
int index = ui->macroListWidget->currentRow();
+
if (currentMacro->deleteCommand(index))
{
currentMacro->populateList(ui->macroListWidget);
}
-void PIRMacroForm::moveCurrentCommandUp()
+//void PIRMacroForm::copyCurrentCommand()
+void PIRMacroForm::on_copyButton_clicked()
+{
+ if (!currentMacro) return;
+
+ // copy constructor dealing with inheritance issues?
+}
+
+
+//void PIRMacroForm::moveCurrentCommandUp()
+void PIRMacroForm::on_commandUpButton_clicked()
{
+ if (!currentMacro) return;
+
int index = ui->macroListWidget->currentRow();
- if (currentMacro->moveUp(index))
+
+ if ((index > 0) && currentMacro->moveUp(index))
{
currentMacro->populateList(ui->macroListWidget);
ui->macroListWidget->setCurrentRow(index - 1);
}
-void PIRMacroForm::moveCurrentCommandDown()
+//void PIRMacroForm::moveCurrentCommandDown()
+void PIRMacroForm::on_commandDownIcon_clicked()
{
+ if (!currentMacro) return;
+
int index = ui->macroListWidget->currentRow();
- if (currentMacro->moveDown(index))
+ if ((index < (ui->macroListWidget->count() - 1) &&
+ currentMacro->moveDown(index)))
{
currentMacro->populateList(ui->macroListWidget);
ui->macroListWidget->setCurrentRow(index + 1);
}
+void PIRMacroForm::on_macroListWidget_currentRowChanged(int currentRow)
+{
+ if (currentRow < 0)
+ {
+ ui->deleteButton->setEnabled(false);
+ }
+ else
+ {
+ ui->deleteButton->setEnabled(true);
+ }
+}
+
+
//void PIRMacroForm::on_macroListWidget_itemClicked(QListWidgetItem *item)
+/*
void PIRMacroForm::on_macroListWidget_itemClicked()
{
ecd.setup(
ecd.exec();
}
+*/
/*
mainWindow->storeMacros();
}
*/
-
#include "dialogs/pireditmacrodialog.h"
#include "dialogs/pirdeletemacrodialog.h"
#include "dialogs/pircreatecommanddialog.h"
-#include "dialogs/pireditcommanddialog.h"
+//#include "dialogs/pireditcommanddialog.h"
class PIRMacro;
class QComboBox;
// void on_newMacroButton_clicked();
void on_runButton_clicked();
void on_addButton_clicked();
+ void on_commandUpButton_clicked();
+ void on_commandDownIcon_clicked();
+ void on_deleteButton_clicked();
+ void on_copyButton_clicked();
// void on_macroListWidget_itemClicked(QListWidgetItem *item);
- void on_macroListWidget_itemClicked();
+// void on_macroListWidget_itemClicked();
+ void on_macroListWidget_currentRowChanged(int currentRow);
void displayMacro(
QTreeWidgetItem *item);
void deleteMacro(
QTreeWidgetItem *item);
- void deleteCurrentCommand();
- void moveCurrentCommandUp();
- void moveCurrentCommandDown();
+// void deleteCurrentCommand();
+// void moveCurrentCommandUp();
+// void moveCurrentCommandDown();
+// void copyCurrentCommand();
private:
Ui::PIRMacroForm *ui;
PIREditMacroDialog emd;
PIRDeleteMacroDialog dmd;
PIRCreateCommandDialog ccd;
- PIREditCommandDialog ecd;
+// PIREditCommandDialog ecd;
PIRMacro *currentMacro;
PIRMacro *userRequestMacro;
<string>Macro Processor</string>
</property>
<layout class="QGridLayout" name="gridLayout">
- <item row="3" column="0">
+ <item row="6" column="1">
+ <widget class="QPushButton" name="runButton">
+ <property name="text">
+ <string>Run</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0" colspan="3">
+ <widget class="QLabel" name="macroNameLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>No Macro Selected</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2" rowspan="6" colspan="2">
+ <widget class="QFrame" name="frame">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::StyledPanel</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <property name="lineWidth">
+ <number>2</number>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <property name="margin">
+ <number>8</number>
+ </property>
+ <item>
+ <widget class="QListWidget" name="macroListWidget"/>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="5" column="1">
+ <widget class="QPushButton" name="commandDownIcon">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="../PierogiResources.qrc">
+ <normaloff>:/icons/br_down_icon&48.png</normaloff>:/icons/br_down_icon&48.png</iconset>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
<widget class="QPushButton" name="addButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
- <string>Command</string>
+ <string>New</string>
</property>
</widget>
</item>
- <item row="1" column="1" rowspan="4" colspan="2">
- <widget class="QListWidget" name="macroListWidget"/>
- </item>
- <item row="4" column="0">
- <widget class="QPushButton" name="runButton">
+ <item row="4" column="1">
+ <widget class="QPushButton" name="commandUpButton">
<property name="text">
- <string>Run</string>
+ <string/>
+ </property>
+ <property name="icon">
+ <iconset resource="../PierogiResources.qrc">
+ <normaloff>:/icons/br_up_icon&48.png</normaloff>:/icons/br_up_icon&48.png</iconset>
</property>
</widget>
</item>
- <item row="2" column="0">
+ <item row="0" column="3">
<widget class="QPushButton" name="chooseMacroButton">
<property name="text">
- <string>Macro</string>
+ <string>Select Macro</string>
</property>
</widget>
</item>
- <item row="0" column="0" colspan="3">
- <widget class="QLabel" name="macroNameLabel">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <item row="5" column="0">
+ <widget class="QPushButton" name="deleteButton">
+ <property name="enabled">
+ <bool>false</bool>
</property>
<property name="text">
- <string>No Macro Selected</string>
+ <string>Delete</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0">
+ <widget class="QPushButton" name="copyButton">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Copy</string>
</property>
</widget>
</item>
</layout>
</widget>
- <resources/>
+ <resources>
+ <include location="../PierogiResources.qrc"/>
+ </resources>
<connections/>
</ui>
#include "protocols/mceprotocol.h"
#include "protocols/necprotocol.h"
#include "protocols/nokia32protocol.h"
+#include "protocols/aiwaprotocol.h"
ADBSTB1::ADBSTB1(
unsigned int index)
addKey("Enter", Enter_Key, 0xDB, 8);
addKey("exit", Exit_Key, 0xE0, 8);
}
+
+
+ADBSTB5::ADBSTB5(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Receiver Keyset 5",
+ ADB_Make,
+ index)
+{
+}
+
+
+void ADBSTB5::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ threadableProtocol = new AiwaProtocol(guiObject, index);
+
+ setPreData(0x0008, 13);
+
+ addKey("0", Zero_Key, 0x00, 8);
+ addKey("1", One_Key, 0x01, 8);
+ addKey("2", Two_Key, 0x02, 8);
+ addKey("3", Three_Key, 0x03, 8);
+ addKey("4", Four_Key, 0x04, 8);
+ addKey("5", Five_Key, 0x05, 8);
+ addKey("6", Six_Key, 0x06, 8);
+ addKey("7", Seven_Key, 0x07, 8);
+ addKey("8", Eight_Key, 0x08, 8);
+ addKey("9", Nine_Key, 0x09, 8);
+ addKey("Menu", Menu_Key, 0x0A, 8);
+ addKey("Guide", Guide_Key, 0x0B, 8);
+ addKey("Power", Power_Key, 0x0C, 8);
+ addKey("Format 16:9", AspectRatio_Key, 0x0D, 8);
+ addKey("Info/Display", Info_Key, 0x0D, 8);
+ addKey("Stop", Stop_Key, 0x0D, 8);
+ addKey("CH+", ChannelUp_Key, 0x0E, 8);
+ addKey("CH-", ChannelDown_Key, 0xF, 8);
+ addKey("Volume +", VolumeUp_Key, 0x10, 8);
+ addKey("Volume -", VolumeDown_Key, 0x11, 8);
+ addKey("Arrow_Right", Right_Key, 0x12, 8);
+ addKey("FFWD", FastForward_Key, 0x13, 8);
+ addKey("EXIT", Exit_Key, 0x14, 8);
+ addKey("Arrow_Left", Left_Key, 0x15, 8);
+ addKey("OK/Select", Select_Key, 0x16, 8);
+ addKey("Subtitle", Captions_Key, 0x18, 8);
+ addKey("Mute", Mute_Key, 0x1A, 8);
+ addKey("Input/Source", Input_Key, 0x1B, 8);
+ addKey("Arrow_Down", Down_Key, 0x1C, 8);
+ addKey("Arrow_Up", Up_Key, 0x1D, 8);
+ addKey("Play", Play_Key, 0x1E, 8);
+ addKey("Audio", Audio_Key, 0x1F, 8);
+ addKey("Red", Red_Key, 0x20, 8);
+ addKey("Green", Green_Key, 0x21, 8);
+ addKey("Yellow", Yellow_Key, 0x22, 8);
+ addKey("Blue", Blue_Key, 0x23, 8);
+}
QObject *guiObject);
};
+
+class ADBSTB5: public PIRKeysetMetaData
+{
+public:
+ ADBSTB5(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
#endif // ADB_H
addKey("play", Play_Key, 0x91, 8);
addKey("1", One_Key, 0x92, 8);
addKey("2", Two_Key, 0x93, 8);
- addKey("hd", HDMIInput_Key, 0x95, 8); // Might be wrong
+ addKey("hd", HDDInput_Key, 0x95, 8);
addKey("blue", Blue_Key, 0x96, 8);
addKey("stop", Stop_Key, 0x97, 8);
addKey("radio", TunerInput_Key, 0x98, 8);
addPanOldKey("VolumeUp", VolumeUp_Key, 0x1B, 0x20);
addPanOldKey("VolumeDown", VolumeDown_Key, 0x1B, 0x21);
addPanOldKey("Mute", Mute_Key, 0x1B, 0x22);
- addPanOldKey("List", Unmapped_Key, 0x1B, 0x26);
+ addPanOldKey("List", HDDInput_Key, 0x1B, 0x26); // "myDVR", might be wrong
addPanOldKey("Replay", Replay_Key, 0x1B, 0x27); // "SkipBack"
addPanOldKey("FastForward", FastForward_Key, 0x1B, 0x28);
addPanOldKey("Rewind", Rewind_Key, 0x1B, 0x29);
--- /dev/null
+#include "crownmustang.h"
+#include "protocols/necprotocol.h"
+
+CrownMustangTV1::CrownMustangTV1(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Keyset 1",
+ CrownMustang_Make,
+ index)
+{
+}
+
+
+void CrownMustangTV1::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already defined.
+ return;
+ }
+
+ threadableProtocol = new NECProtocol(guiObject, index, true, true);
+
+ setPreData(0x1004, 16);
+
+ addKey("Sleep", Sleep_Key, 0x1E, 8);
+ addKey("Last/Prev Ch", PrevChannel_Key, 0x19, 8);
+ addKey("Menu", Menu_Key, 0x18, 8);
+ addKey("Info", Info_Key, 0x17, 8);
+ addKey("Mode", Mode_Key, 0x16, 8);
+ addKey("Brightness +", BrightnessUp_Key, 0x15, 8);
+ addKey("Brightness -", BrightnessDown_Key, 0x13, 8);
+ addKey("TV/Video", Input_Key, 0x12, 8);
+ addKey("-/--", DoubleDigit_Key, 0x11, 8);
+ addKey("-/--", Dash_Key, 0x11, 8);
+ addKey("Power", Power_Key, 0x0F, 8);
+ addKey("Mute", Mute_Key, 0x0E, 8);
+ addKey("Volume -", VolumeDown_Key, 0x0D, 8);
+ addKey("Arrow_Left", Left_Key, 0x0D, 8);
+ addKey("Volume +", VolumeUp_Key, 0x0C, 8);
+ addKey("Right_Key", Right_Key, 0x0C, 8);
+ addKey("CH-", ChannelDown_Key, 0x0B, 8);
+ addKey("Arrow_Down", Down_Key, 0x0B, 8);
+ addKey("CH+", ChannelUp_Key, 0x0A, 8);
+ addKey("Arrow_Up", Up_Key, 0x0A, 8);
+ addKey("9", Nine_Key, 0x09, 8);
+ addKey("8", Eight_Key, 0x08, 8);
+ addKey("7", Seven_Key, 0x07, 8);
+ addKey("6", Six_Key, 0x06, 8);
+ addKey("5", Five_Key, 0x05, 8);
+ addKey("4", Four_Key, 0x04, 8);
+ addKey("3", Three_Key, 0x03, 8);
+ addKey("2", Two_Key, 0x02, 8);
+ addKey("1", One_Key, 0x01, 8);
+ addKey("0", Zero_Key, 0x00, 8);
+}
--- /dev/null
+#ifndef CROWNMUSTANG_H
+#define CROWNMUSTANG_H
+
+#include "pirkeysetmetadata.h"
+
+class QObject;
+
+class CrownMustangTV1: public PIRKeysetMetaData
+{
+public:
+ CrownMustangTV1(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+#endif // CROWNMUSTANG_H
addKey("8", Eight_Key, 0x07, 8);
addKey("9", Nine_Key, 0x08, 8);
addKey("0", Zero_Key, 0x09, 8);
- addKey("last (prev ch)", PrevChannel_Key, 0x0E, 8);
addKey("menu", Menu_Key, 0x0D, 8);
+ addKey("last (prev ch)", PrevChannel_Key, 0x0E, 8);
addKey("tv/av", Input_Key, 0x0F, 8);
addKey("vol up", VolumeUp_Key, 0x10, 8); // "right arrow"
addKey("vol up", Right_Key, 0x10, 8); // "right arrow"
+ addKey("osd control?", Unmapped_Key, 0x11, 8);
addKey("power", Power_Key, 0x12, 8);
addKey("channel up", ChannelUp_Key, 0x13, 8); // "up arrow"
addKey("channel up", Up_Key, 0x13, 8); // "up arrow"
addKey("vol down", VolumeDown_Key, 0x14, 8); // "left arrow"
addKey("vol down", Left_Key, 0x14, 8); // "left arrow"
+ addKey("unknown-blanks screen", Unmapped_Key, 0x15, 8);
addKey("mute", Mute_Key, 0x16, 8);
addKey("channel down", ChannelDown_Key, 0x17, 8); // "down arrow"
addKey("channel down", Down_Key, 0x17, 8); // "down arrow"
addKey("display", Info_Key, 0x18, 8);
- addKey("rating", Unmapped_Key, 0x1B, 8);
+ addKey("if control", Unmapped_Key, 0x19, 8);
+ addKey("crt geometry", AspectRatio_Key, 0x1A, 8);
+ addKey("rating", Unmapped_Key, 0x1B, 8); // "v-chip"
+ addKey("rgb control", Unmapped_Key, 0x1C, 8);
+ addKey("picture control", Unmapped_Key, 0x1D, 8);
+ addKey("factory reset", Unmapped_Key, 0x1E, 8);
+ addKey("test pattern", Unmapped_Key, 0x1F, 8);
}
--- /dev/null
+#include "hantarex.h"
+#include "protocols/necprotocol.h"
+
+HantarexTV1::HantarexTV1(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Keyset 1",
+ Hantarex_Make,
+ index)
+{
+}
+
+
+void HantarexTV1::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ threadableProtocol = new NECProtocol(guiObject, index, false, true);
+
+ setPreData(0x96, 8);
+
+ addKey("Blue", Blue_Key, 0x00, 8);
+ addKey("Yellow", Yellow_Key, 0x01, 8);
+ addKey("Green", Green_Key, 0x02, 8);
+ addKey("Red", Red_Key, 0x03, 8);
+ addKey("Rewind", Rewind_Key, 0x05, 8);
+// addKey("Skip -", Previous_Key, 0x05, 8);
+ addKey("Play", Play_Key, 0x07, 8);
+ addKey("Power", Power_Key, 0x08, 8);
+ addKey("Mute", Mute_Key, 0x09, 8);
+ addKey("Volume +", VolumeUp_Key, 0x0A, 8);
+ addKey("Arrow_Right", Right_Key, 0x0A, 8);
+ addKey("Volume -", VolumeDown_Key, 0x0B, 8);
+ addKey("Arrow_Left", Left_Key, 0x0B, 8);
+ addKey("9", Nine_Key, 0x0C, 8);
+ addKey("0", Zero_Key, 0x0D, 8);
+ addKey("Menu", Menu_Key, 0x0F, 8);
+ addKey("EXIT", Exit_Key, 0x10, 8);
+// addKey("Pause", Pause_Key, 0x13, 8);
+ addKey("FFWD", FastForward_Key, 0x13, 8);
+ addKey("CH+", ChannelUp_Key, 0x14, 8);
+ addKey("Arrow_Up", Up_Key, 0x14, 8);
+ addKey("CH-", ChannelDown_Key, 0x15, 8);
+ addKey("Arrow_Down", Down_Key, 0x15, 8);
+ addKey("1", One_Key, 0x18, 8);
+ addKey("2", Two_Key, 0x19, 8);
+ addKey("3", Three_Key, 0x1A, 8);
+ addKey("4", Four_Key, 0x1B, 8);
+ addKey("5", Five_Key, 0x1C, 8);
+ addKey("6", Six_Key, 0x1D, 8);
+ addKey("7", Seven_Key, 0x1E, 8);
+ addKey("8", Eight_Key, 0x1F, 8);
+ addKey("Input/Source", Input_Key, 0x23, 8);
+ addKey("OK/Select", Select_Key, 0x25, 8);
+ addKey("Record", Record_Key, 0x26, 8);
+ addKey("Info/Display", Info_Key, 0x30, 8);
+}
+
+
+HantarexTV2::HantarexTV2(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Keyset 2",
+ Hantarex_Make,
+ index)
+{
+}
+
+
+void HantarexTV2::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated
+ return;
+ }
+
+ threadableProtocol = new NECProtocol(guiObject, index, true, true);
+
+ setPreData(0x4020, 16);
+
+ addKey("Power", Power_Key, 0x00, 8);
+ addKey("1", One_Key, 0x01, 8);
+ addKey("2", Two_Key, 0x02, 8);
+ addKey("3", Three_Key, 0x03, 8);
+ addKey("Input/Source", Input_Key, 0x04, 8);
+ addKey("4", Four_Key, 0x05, 8);
+ addKey("5", Five_Key, 0x06, 8);
+ addKey("6", Six_Key, 0x07, 8);
+ addKey("Sleep", Sleep_Key, 0x08, 8);
+ addKey("7", Seven_Key, 0x09, 8);
+ addKey("8", Eight_Key, 0x0A, 8);
+ addKey("9", Nine_Key, 0x0B, 8);
+ addKey("DASH", Dash_Key, 0x0D, 8);
+ addKey("Ok/Select", Select_Key, 0x0F, 8);
+ addKey("Menu", Menu_Key, 0x0F, 8); // ?
+ addKey("CH+", ChannelUp_Key, 0x10, 8);
+ addKey("Arrow_Up", Up_Key, 0x10, 8);
+ addKey("Page +", PageUp_Key, 0x10, 8);
+ addKey("Volume +", VolumeUp_Key, 0x11, 8);
+ addKey("Arrow_Right", Right_Key, 0x11, 8);
+ addKey("Volume -", VolumeDown_Key, 0x12, 8);
+ addKey("Arrow_Left", Left_Key, 0x12, 8);
+ addKey("CH-", ChannelDown_Key, 0x13, 8);
+ addKey("Arrow_Down", Down_Key, 0x13, 8);
+ addKey("Page -", PageDown_Key, 0x13, 8);
+ addKey("Yellow", Yellow_Key, 0x14, 8);
+ addKey("CC", Captions_Key, 0x14, 8);
+ addKey("Blue", Blue_Key, 0x15, 8);
+ addKey("Mute", Mute_Key, 0x17, 8);
+ addKey("0", Zero_Key, 0x18, 8);
+ addKey("Last/Prev Ch", PrevChannel_Key, 0x1B, 8);
+ addKey("EXIT", Exit_Key, 0x1B, 8);
+ addKey("Info/Display", Info_Key, 0x1D, 8);
+ addKey("Red", Red_Key, 0x1F, 8);
+ addKey("Format 16:9", AspectRatio_Key, 0x40, 8);
+ addKey("Guide", Guide_Key, 0x42, 8);
+// addKey("Last/Prev Ch", PrevChannel_Key, 0x42, 8);
+ addKey("Green", Green_Key, 0x44, 8);
+}
--- /dev/null
+#ifndef HANTAREX_H
+#define HANTAREX_H
+
+#include "pirkeysetmetadata.h"
+
+class QObject;
+
+class HantarexTV1: public PIRKeysetMetaData
+{
+public:
+ HantarexTV1(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+class HantarexTV2: public PIRKeysetMetaData
+{
+public:
+ HantarexTV2(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+#endif // HANTAREX_H
--- /dev/null
+#include "keymat.h"
+#include "protocols/necprotocol.h"
+
+KeymatTV1::KeymatTV1(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Keyset 1",
+ Keymat_Make,
+ index)
+{
+}
+
+
+void KeymatTV1::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ threadableProtocol = new NECProtocol(guiObject, index, false, true);
+
+ setPreData(0x96, 8);
+
+ addKey("Info/Display", Info_Key, 0x35, 8);
+ addKey("Rewind", Rewind_Key, 0x32, 8);
+ addKey("FFWD", FastForward_Key, 0x31, 8);
+ addKey("Play", Play_Key, 0x1E, 8);
+ addKey("Input/Source", Input_Key, 0x16, 8);
+ addKey("Blue", Blue_Key, 0x16, 8);
+ addKey("Last/Prev Ch", PrevChannel_Key, 0x15, 8);
+ addKey("Yellow", Yellow_Key, 0x15, 8);
+ addKey("Record", Record_Key, 0x14, 8);
+ addKey("Green", Green_Key, 0x14, 8);
+ addKey("Red", Red_Key, 0x13, 8);
+ addKey("CH-", ChannelDown_Key, 0x11, 8);
+ addKey("Arrow_Down", Down_Key, 0x11, 8);
+ addKey("Volume +", VolumeUp_Key, 0x0F, 8);
+ addKey("Arrow_Right", Right_Key, 0x0F, 8);
+ addKey("Menu", Menu_Key, 0x0E, 8);
+ addKey("Volume -", VolumeDown_Key, 0x0D, 8);
+ addKey("Arrow_Left", Left_Key, 0x0D, 8);
+ addKey("Power", Power_Key, 0x0C, 8);
+ addKey("CH+", ChannelUp_Key, 0x0B, 8);
+ addKey("Arrow_Up", Up_Key, 0x0B, 8);
+ addKey("Mute", Mute_Key, 0x0A, 8);
+ addKey("9", Nine_Key, 0x09, 8);
+ addKey("8", Eight_Key, 0x08, 8);
+ addKey("7", Seven_Key, 0x07, 8);
+ addKey("6", Six_Key, 0x06, 8);
+ addKey("5", Five_Key, 0x05, 8);
+ addKey("4", Four_Key, 0x04, 8);
+ addKey("3", Three_Key, 0x03, 8);
+ addKey("2", Two_Key, 0x02, 8);
+ addKey("1", One_Key, 0x01, 8);
+ addKey("0", Zero_Key, 0x00, 8);
+}
+
+
+KeymatTV2::KeymatTV2(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Keyset 2",
+ Keymat_Make,
+ index)
+{
+}
+
+
+void KeymatTV2::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ threadableProtocol = new NECProtocol(guiObject, index, false, true);
+
+ setPreData(0x08, 8);
+
+ addKey("CC", Captions_Key, 0x55, 8);
+ addKey("Format 16:9", AspectRatio_Key, 0x4C, 8);
+ addKey("Sleep", Sleep_Key, 0x45, 8);
+ addKey("CH-", ChannelDown_Key, 0x1F, 8);
+ addKey("Arrow_Down", Down_Key, 0x1F, 8);
+ addKey("Volume -", VolumeDown_Key, 0x1E, 8);
+ addKey("Arrow_Left", Left_Key, 0x1E, 8);
+ addKey("CH+", ChannelUp_Key, 0x1B, 8);
+ addKey("Arrow_Up", Up_Key, 0x1B, 8);
+ addKey("Volume +", VolumeUp_Key, 0x1A, 8);
+ addKey("Arrow_Right", Right_Key, 0x1A, 8);
+ addKey("Info/Display", Info_Key, 0x16, 8);
+ addKey("Input/Source", Input_Key, 0x14, 8);
+ addKey("Power", Power_Key, 0x12, 8);
+ addKey("Mute", Mute_Key, 0x10, 8);
+ addKey("Last/Prev Ch", PrevChannel_Key, 0x0E, 8);
+ addKey("Ok/Select", Select_Key, 0x0C, 8);
+ addKey("Menu", Menu_Key, 0x0C, 8);
+ addKey("100+", PlusOneHundred_Key, 0x0B, 8);
+ addKey("9", Nine_Key, 0x09, 8);
+ addKey("8", Eight_Key, 0x08, 8);
+ addKey("7", Seven_Key, 0x07, 8);
+ addKey("6", Six_Key, 0x06, 8);
+ addKey("5", Five_Key, 0x05, 8);
+ addKey("4", Four_Key, 0x04, 8);
+ addKey("3", Three_Key, 0x03, 8);
+ addKey("2", Two_Key, 0x02, 8);
+ addKey("1", One_Key, 0x01, 8);
+ addKey("0", Zero_Key, 0x00, 8);
+}
--- /dev/null
+#ifndef KEYMAT_H
+#define KEYMAT_H
+
+#include "pirkeysetmetadata.h"
+
+class QObject;
+
+class KeymatTV1: public PIRKeysetMetaData
+{
+public:
+ KeymatTV1(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+class KeymatTV2: public PIRKeysetMetaData
+{
+public:
+ KeymatTV2(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+#endif // KEYMAT_H
--- /dev/null
+#include "konka.h"
+#include "protocols/aiwaprotocol.h"
+
+KonkaTV1::KonkaTV1(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Keyset 1",
+ Konka_Make,
+ index)
+{
+}
+
+
+void KonkaTV1::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ threadableProtocol = new AiwaProtocol(guiObject, index);
+
+ setPreData(0x0119, 13);
+
+ addKey("Reset", Reset_Key, 0x00, 8);
+ addKey("Power", Power_Key, 0x01, 8);
+ addKey("Ch+", ChannelUp_Key, 0x02, 8);
+ addKey("Ch+", Up_Key, 0x02, 8);
+ addKey("Ch-", ChannelDown_Key, 0x03, 8);
+ addKey("Ch-", Down_Key, 0x03, 8);
+ addKey("Vol+", VolumeUp_Key, 0x04, 8);
+ addKey("Vol+", Right_Key, 0x04, 8);
+ addKey("Vol-", VolumeDown_Key, 0x05, 8);
+ addKey("Vol-", Left_Key, 0x05, 8);
+ addKey("MTS", Unmapped_Key, 0x06, 8); // mts obsolete, do we need it?
+ addKey("V-Chip", Unmapped_Key, 0x07, 8);
+ addKey("Mute", Mute_Key, 0x0A, 8);
+ addKey("Display", Info_Key, 0x0B, 8);
+ addKey("ChRecall", PrevChannel_Key, 0x0C, 8);
+ addKey("Sleep", Sleep_Key, 0x0D, 8);
+ addKey("TV/AV", Input_Key, 0x0E, 8);
+
+ addKey("0", Zero_Key, 0x10, 8);
+ addKey("1", One_Key, 0x11, 8);
+ addKey("2", Two_Key, 0x12, 8);
+ addKey("3", Three_Key, 0x13, 8);
+ addKey("4", Four_Key, 0x14, 8);
+ addKey("5", Five_Key, 0x15, 8);
+ addKey("6", Six_Key, 0x16, 8);
+ addKey("7", Seven_Key, 0x17, 8);
+ addKey("8", Eight_Key, 0x18, 8);
+ addKey("9", Nine_Key, 0x19, 8);
+ addKey("Menu", Menu_Key, 0x1D, 8);
+ addKey("Caption", Captions_Key, 0x1E, 8);
+}
+
+
+KonkaTV2::KonkaTV2(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Keyset 2",
+ Konka_Make,
+ index)
+{
+}
+
+
+void KonkaTV2::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ threadableProtocol = new AiwaProtocol(guiObject, index);
+
+ setPreData(0x0119, 13); // Same as TV1, but keys completely different!
+
+ addKey("0", Zero_Key, 0x00, 8);
+ addKey("1", One_Key, 0x01, 8);
+ addKey("2", Two_Key, 0x02, 8);
+ addKey("3", Three_Key, 0x03, 8);
+ addKey("4", Four_Key, 0x04, 8);
+ addKey("5", Five_Key, 0x05, 8);
+ addKey("6", Six_Key, 0x06, 8);
+ addKey("7", Seven_Key, 0x07, 8);
+ addKey("8", Eight_Key, 0x08, 8);
+ addKey("9", Nine_Key, 0x09, 8);
+ addKey("-", Dash_Key, 0x0A, 8);
+ addKey("novideo", Unmapped_Key, 0x0B, 8);
+ addKey("tv/av", Input_Key, 0x0D, 8);
+ addKey("back", PrevChannel_Key, 0x0E, 8);
+
+ addKey("menu", Menu_Key, 0x10, 8);
+ addKey("analog", Unmapped_Key, 0x13, 8);
+ addKey("game", Unmapped_Key, 0x14, 8);
+ addKey("mute", Mute_Key, 0x15, 8);
+ addKey("vstatus", Unmapped_Key, 0x16, 8);
+ addKey("ch-", ChannelDown_Key, 0x1A, 8);
+ addKey("ch-", Down_Key, 0x1A, 8);
+ addKey("ch+", ChannelUp_Key, 0x1B, 8);
+ addKey("ch+", Up_Key, 0x1B, 8);
+ addKey("power", Power_Key, 0x1C, 8);
+ addKey("timing", Unmapped_Key, 0x1D, 8);
+ addKey("vol-", VolumeDown_Key, 0x1E, 8);
+ addKey("vol-", Left_Key, 0x1E, 8);
+ addKey("vol+", VolumeUp_Key, 0x1F, 8);
+ addKey("vol+", Right_Key, 0x1F, 8);
+}
--- /dev/null
+#ifndef KONKA_H
+#define KONKA_H
+
+#include "pirkeysetmetadata.h"
+
+class QObject;
+
+class KonkaTV1: public PIRKeysetMetaData
+{
+public:
+ KonkaTV1(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+class KonkaTV2: public PIRKeysetMetaData
+{
+public:
+ KonkaTV2(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+#endif // KONKA_H
}
threadableProtocol = new NECProtocol(guiObject, index, false, true);
+ threadableProtocol->setMinimumRepetitions(1);
setPreData(0x04, 8);
}
threadableProtocol = new NECProtocol(guiObject, index, false, true);
+ threadableProtocol->setMinimumRepetitions(1);
setPreData(0x6E, 8);
}
threadableProtocol = new NECProtocol(guiObject, index, true, true);
+ threadableProtocol->setMinimumRepetitions(1);
setPreData(0x6681, 16);
#include "sony.h"
#include "protocols/sircprotocol.h"
+#include "protocols/aiwaprotocol.h"
SonyTV1::SonyTV1(
}
+SonyTV2::SonyTV2(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Keyset 2",
+ Sony_Make,
+ index)
+{
+}
+
+
+void SonyTV2::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ threadableProtocol = new AiwaProtocol(guiObject, index);
+
+ setPreData(0x0119, 13);
+
+ addKey("0", Zero_Key, 0x00, 8);
+ addKey("1", One_Key, 0x01, 8);
+ addKey("2", Two_Key, 0x02, 8);
+ addKey("3", Three_Key, 0x03, 8);
+ addKey("4", Four_Key, 0x04, 8);
+ addKey("5", Five_Key, 0x05, 8);
+ addKey("6", Six_Key, 0x06, 8);
+ addKey("7", Seven_Key, 0x07, 8);
+ addKey("8", Eight_Key, 0x08, 8);
+ addKey("9", Nine_Key, 0x09, 8);
+ addKey("sleep", Sleep_Key, 0x0A, 8);
+ addKey("tv/av", Input_Key, 0x0E, 8);
+ addKey("back", PrevChannel_Key, 0x0F, 8);
+
+ addKey("display", Info_Key, 0x10, 8);
+ addKey("cc", Captions_Key, 0x11, 8);
+ addKey("input 1", Unmapped_Key, 0x12, 8);
+ addKey("pip on/off", PIP_Key, 0x13, 8);
+ addKey("pip move", PIPMove_Key, 0x14, 8);
+ addKey("mute", Mute_Key, 0x15, 8);
+ addKey("pip swap", PIPSwap_Key, 0x16, 8);
+ addKey("menu", Menu_Key, 0x17, 8);
+ addKey("ch-", ChannelDown_Key, 0x1A, 8);
+ addKey("ch-", Down_Key, 0x1A, 8);
+ addKey("ch+", ChannelUp_Key, 0x1B, 8);
+ addKey("ch+", Up_Key, 0x1B, 8);
+ addKey("power", Power_Key, 0x1C, 8);
+ addKey("freeze", PIPPause_Key, 0x1D, 8);
+ addKey("vol-", VolumeDown_Key, 0x1E, 8);
+ addKey("vol-", Left_Key, 0x1E, 8);
+ addKey("vol+", VolumeUp_Key, 0x1F, 8);
+ addKey("vol+", Right_Key, 0x1F, 8);
+}
+
+
// These controls don't quite match other SIRC data. (some do, some don't)
// This all taken from LIRC "AMPIR" config file.
SonyAmp1::SonyAmp1(
};
+class SonyTV2: public PIRKeysetMetaData
+{
+public:
+ SonyTV2(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+
class SonyAmp1: public PIRKeysetMetaData
{
public:
}
-/*
-TriaxSTB2b::TriaxSTB2b(
+TriaxSTB3::TriaxSTB3(
unsigned int index)
- : TriaxSTB2(index)
+ : PIRKeysetMetaData(
+ "Satellite Receiver 3",
+ Triax_Make,
+ index)
{
- setKeysetName("Satellite Receiver 2b (experimental)");
}
-void TriaxSTB2b::populateProtocol(
+void TriaxSTB3::populateProtocol(
QObject *guiObject)
{
if (threadableProtocol)
return;
}
- TriaxSTB2::populateProtocol(guiObject);
+ threadableProtocol = new NECProtocol(guiObject, index, true, true);
+
+ setPreData(0x7F00, 16);
+
+ addKey("Power", Power_Key, 0x00, 8);
+ addKey("3", Three_Key, 0x01, 8);
+ addKey("2", Two_Key, 0x02, 8);
+ addKey("1", One_Key, 0x03, 8);
+// addKey("Last/Prev Ch", PrevChannel_Key, 0x04, 8);
+ addKey("EXIT", Exit_Key, 0x04, 8);
+ addKey("6", Six_Key, 0x05, 8);
+ addKey("5", Five_Key, 0x06, 8);
+ addKey("4", Four_Key, 0x07, 8);
+ addKey("OK/Select", Select_Key, 0x08, 8);
+ addKey("9", Nine_Key, 0x09, 8);
+ addKey("8", Eight_Key, 0x0A, 8);
+ addKey("7", Seven_Key, 0x0B, 8);
+ addKey("Arrow_Right", Right_Key, 0x0D, 8);
+ addKey("0", Zero_Key, 0x0E, 8);
+ addKey("Red", Red_Key, 0x0F, 8);
+ addKey("Play", Play_Key, 0x0F, 8);
+ addKey("Info", Info_Key, 0x10, 8);
+ addKey("Stop", Stop_Key, 0x10, 8);
+ addKey("Arrow_Left", Left_Key, 0x11, 8);
+ addKey("Guide", Guide_Key, 0x12, 8);
+ addKey("TV/Sat", Input_Key, 0x13, 8);
+ addKey("Blue", Blue_Key, 0x13, 8);
+ addKey("Mute", Mute_Key, 0x14, 8);
+ addKey("Last/Prev Ch", PrevChannel_Key, 0x15, 8);
+ addKey("PIP On/Off", PIP_Key, 0x16, 8);
+ addKey("Yellow", Yellow_Key, 0x16, 8);
+ addKey("Menu", Menu_Key, 0x19, 8);
+ addKey("CH+", ChannelUp_Key, 0x1A, 8);
+ addKey("Arrow_Up", Up_Key, 0x1A, 8);
+ addKey("CH-", ChannelDown_Key, 0x1B, 8);
+ addKey("Arrow_Down", Down_Key, 0x1B, 8);
+ addKey("Subtitle", Captions_Key, 0x42, 8);
+ addKey("Volume -", VolumeDown_Key, 0x44, 8);
+ addKey("Volume +", VolumeUp_Key, 0x48, 8);
+ addKey("Green", Green_Key, 0x49, 8);
+}
+
+
+TriaxSTB3a::TriaxSTB3a(
+ unsigned int index)
+ : TriaxSTB3(index)
+{
+ setKeysetName("Satellite Receiver 3a");
+}
+
+
+void TriaxSTB3a::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ TriaxSTB3::populateProtocol(guiObject);
+
+// addKey("Stop", Stop_Key, 0x08, 8);
+ addKey("FFWD", FastForward_Key, 0x0D, 8);
+ addKey("Blue", Blue_Key, 0x10, 8);
+// addKey("Rewind", Rewind_Key, 0x11, 8);
+ addKey("Replay", Replay_Key, 0x13, 8);
+ addKey("Last/Prev Ch", PrevChannel_Key, 0x16, 8);
+ addKey("Pause", Pause_Key, 0x1A, 8);
+ addKey("Record", Record_Key, 0x43, 8);
+ addKey("Rewind", Rewind_Key, 0x45, 8);
+}
+
+
+TriaxSTB4::TriaxSTB4(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "Satellite Receiver 4",
+ Triax_Make,
+ index)
+{
+}
+
+
+void TriaxSTB4::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ threadableProtocol = new NECProtocol(guiObject, index, true, true);
+
+ setPreData(0x7F00, 16);
- setPreData(0xFE01, 16);
+ addKey("Mute", Mute_Key, 0x00, 8);
+ addKey("Rewind", Rewind_Key, 0x01, 8);
+ addKey("Red", Red_Key, 0x01, 8);
+ addKey("CH+", ChannelUp_Key, 0x02, 8);
+ addKey("Arrow_Up", Up_Key, 0x02, 8);
+// addKey("Last/Prev Ch", PrevChannel_Key, 0x03, 8);
+ addKey("EXIT", Exit_Key, 0x03, 8);
+ addKey("Input/Source", Input_Key, 0x04, 8);
+ addKey("Green", Green_Key, 0x04, 8);
+ addKey("Volume +", VolumeUp_Key, 0x05, 8);
+ addKey("Arrow_Right", Right_Key, 0x05, 8);
+ addKey("Skip +", Next_Key, 0x05, 8);
+ addKey("Ok/Select", Select_Key, 0x06, 8);
+ addKey("Volume -", VolumeDown_Key, 0x07, 8);
+ addKey("Arrow_Left", Left_Key, 0x07, 8);
+ addKey("Skip -", Previous_Key, 0x07, 8);
+ addKey("Last/Prev Ch", PrevChannel_Key, 0x08, 8);
+ addKey("Pause", Pause_Key, 0x09, 8);
+ addKey("Blue", Blue_Key, 0x09, 8);
+ addKey("CH-", ChannelDown_Key, 0x0A, 8);
+ addKey("Arrow_Down", Down_Key, 0x0A, 8);
+ addKey("Yellow", Yellow_Key, 0x0D, 8);
+ addKey("0", Zero_Key, 0x0E, 8);
+ addKey("9", Nine_Key, 0x0F, 8);
+ addKey("8", Eight_Key, 0x10, 8);
+ addKey("7", Seven_Key, 0x11, 8);
+ addKey("6", Six_Key, 0x12, 8);
+ addKey("5", Five_Key, 0x13, 8);
+ addKey("4", Four_Key, 0x14, 8);
+ addKey("3", Three_Key, 0x15, 8);
+ addKey("2", Two_Key, 0x16, 8);
+ addKey("1", One_Key, 0x17, 8);
+ addKey("Power", Power_Key, 0x18, 8);
+ addKey("Play", Play_Key, 0x1A, 8);
+ addKey("Info/Display", Info_Key, 0x1B, 8);
+ addKey("Stop", Stop_Key, 0x1B, 8);
+ addKey("Format 16:9", AspectRatio_Key, 0x1C, 8);
+ addKey("FAV", Favorites_Key, 0x1C, 8);
+ addKey("Menu", Menu_Key, 0x1D, 8);
+ addKey("Guide", Guide_Key, 0x1E, 8);
}
-*/
QObject *guiObject);
};
-/*
-class TriaxSTB2b: public TriaxSTB2
+class TriaxSTB3: public PIRKeysetMetaData
{
public:
- TriaxSTB2b(
+ TriaxSTB3(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+class TriaxSTB3a: public TriaxSTB3
+{
+public:
+ TriaxSTB3a(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+class TriaxSTB4: public PIRKeysetMetaData
+{
+public:
+ TriaxSTB4(
unsigned int index);
virtual void populateProtocol(
QObject *guiObject);
};
-*/
#endif // TRIAX_H
--- /dev/null
+#include "wiwa.h"
+#include "protocols/paceprotocol.h"
+
+WiwaSTB1::WiwaSTB1(
+ unsigned int index)
+ : PIRKeysetMetaData(
+ "TV Receiver Keyset 1",
+ Wiwa_Make,
+ index)
+{
+}
+
+
+void WiwaSTB1::populateProtocol(
+ QObject *guiObject)
+{
+ if (threadableProtocol)
+ {
+ // Keyset already populated.
+ return;
+ }
+
+ threadableProtocol = new PaceProtocol(guiObject, index);
+
+ setPreData(0x0, 3);
+
+ addKey("0", Zero_Key, 0x00, 6);
+ addKey("1", One_Key, 0x01, 6);
+ addKey("2", Two_Key, 0x02, 6);
+ addKey("3", Three_Key, 0x03, 6);
+ addKey("Skip +", Next_Key, 0x03, 6); // might be bad
+ addKey("4", Four_Key, 0x04, 6);
+ addKey("Sleep", Sleep_Key, 0x04, 6); // might be bad
+ addKey("5", Five_Key, 0x05, 6);
+ addKey("6", Six_Key, 0x06, 6);
+ addKey("Rewind", Rewind_Key, 0x06, 6); // might be bad
+ addKey("7", Seven_Key, 0x07, 6);
+ addKey("8", Eight_Key, 0x08, 6);
+ addKey("9", Nine_Key, 0x09, 6);
+ addKey("100+", PlusOneHundred_Key, 0x0A, 6);
+ addKey("Format 16:9", AspectRatio_Key, 0x0B, 6);
+ addKey("FAV", Favorites_Key, 0x0B, 6);
+ addKey("Pause", Pause_Key, 0x0B, 6);
+ addKey("Play", Play_Key, 0x0F, 6);
+ addKey("FFWD", FastForward_Key, 0x0F, 6);
+ addKey("Yellow", Yellow_Key, 0x0F, 6);
+ addKey("Audio", Audio_Key, 0x0F, 6);
+ addKey("Power", Power_Key, 0x10, 6);
+ addKey("CH+", ChannelUp_Key, 0x11, 6);
+ addKey("Arrow_Right", Right_Key, 0x11, 6);
+ addKey("OK/Select", Select_Key, 0x13, 6);
+ addKey("Record", Record_Key, 0x13, 6);
+ addKey("Arrow_Down", Down_Key, 0x14, 6);
+ addKey("EXIT", Exit_Key, 0x15, 6);
+ addKey("Menu", Menu_Key, 0x15, 6);
+ addKey("CH-", ChannelDown_Key, 0x16, 6);
+ addKey("Arrow_Left", Left_Key, 0x16, 6);
+ addKey("Green", Green_Key, 0x17, 6);
+ addKey("Volume +", VolumeUp_Key, 0x18, 6);
+ addKey("Input/Source", Input_Key, 0x19, 6);
+ addKey("Arrow_Up", Up_Key, 0x1A, 6);
+ addKey("Guide", Guide_Key, 0x1A, 6);
+ addKey("Last/Prev Ch", PrevChannel_Key, 0x1A, 6);
+ addKey("Volume -", VolumeDown_Key, 0x1B, 6);
+ addKey("Mute", Mute_Key, 0x1E, 6);
+ addKey("Info/Display", Info_Key, 0x1F, 6);
+ addKey("Stop", Stop_Key, 0x1F, 6);
+ addKey("Slow", Slow_Key, 0x1F, 6);
+}
--- /dev/null
+#ifndef WIWA_H
+#define WIWA_H
+
+#include "pirkeysetmetadata.h"
+
+class QObject;
+
+class WiwaSTB1: public PIRKeysetMetaData
+{
+public:
+ WiwaSTB1(
+ unsigned int index);
+
+ virtual void populateProtocol(
+ QObject *guiObject);
+};
+
+#endif // WIWA_H
MainWindow::~MainWindow()
{
- delete myKeysets;
-
if (aboutForm) delete aboutForm;
if (documentationForm) delete documentationForm;
if (preferencesForm) delete preferencesForm;
if (myPanels) delete myPanels;
if (myMacros) delete myMacros;
-// if (myKeysets) delete myKeysets;
+ if (myKeysets) delete myKeysets;
delete ui;
}
dialogs/pirdeletemacrodialog.cpp \
forms/piruserform.cpp \
macros/pirmacromanager.cpp \
- dialogs/pireditcommanddialog.cpp
+ dialogs/pireditcommanddialog.cpp \
+ keysets/crownmustang.cpp \
+ keysets/hantarex.cpp \
+ keysets/keymat.cpp \
+ keysets/konka.cpp \
+ keysets/wiwa.cpp
HEADERS += mainwindow.h \
pirkeynames.h \
pirmakenames.h \
dialogs/pirdeletemacrodialog.h \
forms/piruserform.h \
macros/pirmacromanager.h \
- dialogs/pireditcommanddialog.h
+ dialogs/pireditcommanddialog.h \
+ keysets/crownmustang.h \
+ keysets/hantarex.h \
+ keysets/keymat.h \
+ keysets/konka.h \
+ keysets/wiwa.h
FORMS += mainwindow.ui \
pirdocumentationform.ui \
piraboutform.ui \
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
-<!-- Written by Qt Creator 2.4.1, 2012-09-14T20:44:41. -->
+<!-- Written by Qt Creator 2.4.1, 2012-09-16T18:50:09. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
<value type="QString" key="ProjectExplorer.ProcessStep.Arguments">dpkg-buildpackage -sa -S -uc -us</value>
<value type="QString" key="ProjectExplorer.ProcessStep.Command">/Users/john/QtSDK/Maemo/4.6.2/bin/mad</value>
<value type="bool" key="ProjectExplorer.ProcessStep.Enabled">false</value>
- <value type="QString" key="ProjectExplorer.ProcessStep.WorkingDirectory">/Users/john/Develop/n900/pierogi-1.1.11</value>
+ <value type="QString" key="ProjectExplorer.ProcessStep.WorkingDirectory">/Users/john/Develop/n900/pierogi-1.1.12</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Process Step</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.ProcessStep</value>
<value type="QString">/Users/john/Develop/n900/pierogi-build-maemo-Qt_for_Fremantle_PR1_3_Devices__Qt_SDK__Release/pierogi_0_6_0_armel.deb</value>
<value type="QString">/Users/john/Develop/n900/pierogi-build-maemo-Qt_for_Fremantle_PR1_3_Devices__Qt_SDK__Release/pierogi_0_0_1_armel.deb</value>
<value type="QString">/Users/john/Develop/n900/pierogi-build-maemo-Qt_for_Fremantle_PR1_3_Devices__Qt_SDK__Release/pierogi_0_6_2_armel.deb</value>
+ <value type="QString">/Users/john/Develop/n900/pierogi-build-maemo-Qt_for_Fremantle_PR1_3_Devices__Qt_SDK__Release/pierogi_1_1_12_armel.deb</value>
<value type="QString">/Users/john/Develop/n900/pierogi-build-maemo-Qt_for_Fremantle_PR1_3_Devices__Qt_SDK__Release/pierogi_1_1_8_armel.deb</value>
<value type="QString">/Users/john/Develop/n900/pierogi-build-maemo-Qt_for_Fremantle_PR1_3_Devices__Qt_SDK__Release/pierogi_0_0_1_armel.deb</value>
<value type="QString">/Users/john/Develop/n900/pierogi-build-maemo-Qt_for_Fremantle_PR1_3_Devices__Qt_SDK__Release/pierogi_0_1_6_armel.deb</value>
<value type="QString">192.168.0.15</value>
<value type="QString">192.168.0.15</value>
<value type="QString">192.168.0.15</value>
+ <value type="QString">192.168.0.15</value>
<value type="QString">localhost</value>
<value type="QString">192.168.0.15</value>
<value type="QString">192.168.0.15</value>
<value type="QString"></value>
<value type="QString"></value>
<value type="QString"></value>
+ <value type="QString"></value>
</valuelist>
<valuelist type="QVariantList" key="Qt4ProjectManager.MaemoRunConfiguration.LastDeployedTimes">
<value type="QDateTime">2012-01-19T22:18:07</value>
<value type="QDateTime">2012-02-11T18:03:15</value>
<value type="QDateTime">2012-01-14T13:11:32</value>
<value type="QDateTime">2012-02-13T22:02:56</value>
+ <value type="QDateTime">2012-09-16T17:12:09</value>
<value type="QDateTime">2012-09-07T17:19:10</value>
<value type="QDateTime">2012-01-01T15:35:35</value>
<value type="QDateTime">2012-01-25T13:42:55</value>
#include "keysets/compro.h"
#include "keysets/creative.h"
#include "keysets/crown.h"
+#include "keysets/crownmustang.h"
#include "keysets/daewoo.h"
#include "keysets/dell.h"
#include "keysets/denon.h"
#include "keysets/goodmans.h"
#include "keysets/grundig.h"
#include "keysets/haier.h"
+#include "keysets/hantarex.h"
#include "keysets/harmankardon.h"
#include "keysets/hauppauge.h"
#include "keysets/hitachi.h"
#include "keysets/kaon.h"
#include "keysets/kathrein.h"
#include "keysets/kenwood.h"
+#include "keysets/keymat.h"
+#include "keysets/konka.h"
#include "keysets/lexuz.h"
#include "keysets/lg.h"
#include "keysets/lifetec.h"
#include "keysets/vizio.h"
#include "keysets/wd.h"
#include "keysets/westinghouse.h"
+#include "keysets/wiwa.h"
#include "keysets/xcruiser.h"
#include "keysets/yamaha.h"
#include "keysets/zenith.h"
setupKeyset(new ADBSTB2(++counter));
setupKeyset(new ADBSTB3(++counter));
setupKeyset(new ADBSTB4(++counter));
+ setupKeyset(new ADBSTB5(++counter));
setupKeyset(new AdmiralTV1(++counter));
setupKeyset(new AdmiralTV2(++counter));
setupKeyset(new CrownTV1(++counter));
setupKeyset(new CrownAudio1(++counter));
+ setupKeyset(new CrownMustangTV1(++counter));
+
setupKeyset(new DaewooTV1(++counter));
setupKeyset(new DaewooTV2(++counter));
setupKeyset(new DaewooTV3(++counter));
setupKeyset(new HaierTV1(++counter));
+ setupKeyset(new HantarexTV1(++counter));
+ setupKeyset(new HantarexTV2(++counter));
+
setupKeyset(new HarmanKardonAmp1(++counter));
setupKeyset(new HarmanKardonAmp2(++counter));
setupKeyset(new HarmanKardonReceiver2(++counter));
setupKeyset(new KenwoodDVD1(++counter));
setupKeyset(new KenwoodTV1(++counter));
+ setupKeyset(new KeymatTV1(++counter));
+ setupKeyset(new KeymatTV2(++counter));
+
+ setupKeyset(new KonkaTV1(++counter));
+ setupKeyset(new KonkaTV2(++counter));
+
setupKeyset(new LexuzDVB1(++counter));
setupKeyset(new LGTV1(++counter));
setupKeyset(new SonyTV1a(++counter));
setupKeyset(new SonyTV1b(++counter));
setupKeyset(new SonyTV1c(++counter));
+ setupKeyset(new SonyTV2(++counter));
setupKeyset(new SonyAmp1(++counter));
setupKeyset(new SonyAmp2(++counter));
setupKeyset(new SonyAudio1(++counter));
setupKeyset(new TriaxSTB1(++counter));
setupKeyset(new TriaxSTB2(++counter));
setupKeyset(new TriaxSTB2a(++counter));
-// setupKeyset(new TriaxSTB2b(++counter));
+ setupKeyset(new TriaxSTB3(++counter));
+ setupKeyset(new TriaxSTB3a(++counter));
+ setupKeyset(new TriaxSTB4(++counter));
setupKeyset(new UnitedDVD1(++counter));
setupKeyset(new UnitedDVBT1(++counter));
setupKeyset(new WestinghouseTV1(++counter));
setupKeyset(new WestinghouseTV2(++counter));
+ setupKeyset(new WiwaSTB1(++counter));
+
setupKeyset(new XcruiserSat1(++counter));
setupKeyset(new YamahaDVD1(++counter));
stopRepeatingFlag = true;
}
- // Tell the thread that we want it to stop:
- commandThread.exit();
-
- // Wait for the thread to stop:
- commandThread.wait();
-
// Delete all the keysets:
PIRKeysetCollection::iterator i = keysetsInfo.begin();
while (i != keysetsInfo.end())
if ((*i).second) delete (*i).second;
++i;
}
+
+ // Tell the thread that we want it to stop:
+ commandThread.exit();
+
+ // Wait for the thread to stop:
+ commandThread.wait();
}
{
}
+
+PIRKeysetMetaData::~PIRKeysetMetaData()
+{
+ if (threadableProtocol) delete threadableProtocol;
+ threadableProtocol = 0;
+}
+
+
bool PIRKeysetMetaData::hasKey(
PIRKeyName name) const
{
PIRMakeName make,
unsigned int index);
+ ~PIRKeysetMetaData();
+
bool hasKey(
PIRKeyName name) const;
makes[Compro_Make] = "Compro";
makes[Creative_Make] = "Creative";
makes[Crown_Make] = "Crown";
+ makes[CrownMustang_Make] = "Crown Mustang";
makes[Daewoo_Make] = "Daewoo";
makes[Dell_Make] = "Dell";
makes[Denon_Make] = "Denon";
makes[Goodmans_Make] = "Goodmans";
makes[Grundig_Make] = "Grundig";
makes[Haier_Make] = "Haier";
+ makes[Hantarex_Make] = "Hantarex";
makes[HarmanKardon_Make] = "Harman/Kardon";
makes[Hauppauge_Make] = "Hauppauge";
makes[Hitachi_Make] = "Hitachi";
makes[Kaon_Make] = "Kaon";
makes[Kathrein_Make] = "Kathrein";
makes[Kenwood_Make] = "Kenwood";
+ makes[Keymat_Make] = "Keymat";
+ makes[Konka_Make] = "Konka";
makes[Lexuz_Make] = "Lexuz";
makes[LG_Make] = "LG";
makes[Lifetec_Make] = "Lifetec";
makes[Vizio_Make] = "Vizio";
makes[WD_Make] = "Western Digital";
makes[Westinghouse_Make] = "Westinghouse";
+ makes[Wiwa_Make] = "Wiwa";
makes[Xcruiser_Make] = "Xcruiser";
makes[Yamaha_Make] = "Yamaha";
makes[Zenith_Make] = "Zenith";
Compro_Make,
Creative_Make,
Crown_Make,
+ CrownMustang_Make,
Daewoo_Make,
Dell_Make,
Denon_Make,
Goodmans_Make,
Grundig_Make,
Haier_Make,
+ Hantarex_Make,
HarmanKardon_Make,
Hauppauge_Make,
Hitachi_Make,
Kaon_Make,
Kathrein_Make,
Kenwood_Make,
+ Keymat_Make,
+ Konka_Make,
Lexuz_Make,
LG_Make,
Lifetec_Make,
Vizio_Make,
WD_Make,
Westinghouse_Make,
+ Wiwa_Make,
Xcruiser_Make,
Yamaha_Make,
Zenith_Make
isExtendedNEC(extNEC),
isShortRepeat(srtRep)
{
+ setMinimumRepetitions(1);
}
+pierogi (1.1.13) unstable; urgency=low
+ * Found a new source of (possibly unreliable) keysets! Made a first pass at keysets for Crown Mustang, Hantarex, Keymat, Konka, and Wiwa. Also added more keysets to ADB (I-Can), Sony, and Triax. Hopefully more to come...
+ * Made small fixes to the macros UI, and improved the cleanup of threads when Pierogi exits. Also made small fixes to a Cisco keyset and to LG timing.
+
+ -- John Pietrzak <jpietrzak8@gmail.com> Sun, 16 Sep 2012 18:41:08 -0400
+
pierogi (1.1.12) unstable; urgency=low
* Pushing up an initial implementation of Macros. For now, they don't do much, they don't work terribly well, and they are thoroughly undocumented, but at least they exist. :)
* Updates to keysets for Creative, Grundig, and RCA, and a bugfix to the RCA protocol.
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Universal Infrared (IR) Remote Control for N900
Pierogi is a Universal Infrared Remote Control app for the Nokia N900. It is independent from the LIRC server, and stores all configuration info internally.
-XB-Maemo-Upgrade-Description: Now with Macros!
- Finally includes a very limited macro capability. Please don't push it too hard. Also includes updates to Creative, Grundig, and RCA keysets, as well as a bugfix for the RCA protocol.
+XB-Maemo-Upgrade-Description: More Keysets!
+ Found a new source of keyset data (although it might not be reliable). Made a first pass at keysets for Crown Mustang, Hantarex, Keymat, Konka, and Wiwa. Also added new keysets to ADB (I-Can), Sony, and Triax. There are also some minor bug fixes and tweaks to the new macro system.
XSBC-Bugtracker: https://garage.maemo.org/tracker/?func=add&group_id=2286&atid=7641
XB-Maemo-Display-Name: Pierogi
XB-Maemo-Icon-26: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAEChJREFUaIHtmFmsXudVhp/1TXv/+x/OOZ4TO66dZmBo0jZJoxBQW8ookAq0mIhJQhUXcAGIAhICRClDb4q4YBRDGSoBFS2ikQoUSkpNIEkbnJQ0cVL7xLUd2/GZfKZ/2MP3fYuLE6LUDQEFQi/oe7e/X7/2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