Search for Power Button Panel
[pierogi] / keysets / pentax.cpp
1 #include "pentax.h"
2 #include "protocols/rc5protocol.h"
3
4 PentaxCamera1::PentaxCamera1(
5   unsigned int index)
6   : PIRKeysetMetaData(
7       "RC-F Remote Keyset",
8       Pentax_Make,
9       index)
10 {
11 }
12
13
14 void PentaxCamera1::populateProtocol(
15   QObject *guiObject)
16 {
17   if (threadableProtocol)
18   {
19     // Keyset already populated.
20     return;
21   }
22
23   threadableProtocol = new RC5Protocol(guiObject, index);
24
25   addKey("CAPTURE", OpenShutter_Key, 0x100C, 13);
26 }