Adding per-keyset editable data
[pierogi] / keysets / sharp.cpp
index cdcd61b..eb83536 100644 (file)
@@ -153,9 +153,11 @@ void SharpTV1a::populateProtocol(
   addSharpKey("Stop", Stop_Key, 0x01, 0x27);
   addSharpKey("REC", Record_Key, 0x01, 0x28);
   addSharpKey("Slow", Slow_Key, 0x01, 0x29);
-  addSharpKey("DPSS+", Unmapped_Key, 0x01, 0x2F);
+  addSharpKey("DPSS+", SlowPlus_Key, 0x01, 0x2F);
+  addSharpKey("DPSS+", Next_Key, 0x01, 0x2F);
 
-  addSharpKey("DPSS-", Unmapped_Key, 0x01, 0x30);
+  addSharpKey("DPSS-", SlowMinus_Key, 0x01, 0x30);
+  addSharpKey("DPSS-", Previous_Key, 0x01, 0x30);
   addSharpKey("Input", Input_Key, 0x01, 0x34);
   addSharpKey("ZeroBack", Unmapped_Key, 0x01, 0x83);
   addSharpKey("SkipSearch", Advance_Key, 0x01, 0x90);
@@ -332,11 +334,13 @@ void SharpVCR1::populateProtocol(
   addSharpKey("Slow", Slow_Key, 0x03, 0x29);
   addSharpKey("CLOCK", Clock_Key, 0x03, 0x2C);
   addSharpKey("DPSS+", SlowPlus_Key, 0x03, 0x2F); // "slow+"
+  addSharpKey("DPSS+", Next_Key, 0x03, 0x2F);
   addSharpKey("DPSS-", SlowMinus_Key, 0x03, 0x30); // "slow-"
-  addSharpKey("x2", Unmapped_Key, 0x03, 0x31);
+  addSharpKey("DPSS-", Previous_Key, 0x03, 0x30); // "slow-"
+  addSharpKey("x2", PlayX2_Key, 0x03, 0x31);
   addSharpKey("EJECT", Eject_Key, 0x03, 0x33);
   addSharpKey("InputSelect", Input_Key, 0x03, 0x34); // "simul"
-  addSharpKey("SEARCH", Unmapped_Key, 0x03, 0x37);
+  addSharpKey("SEARCH", IndexSearch_Key, 0x03, 0x37);
   addSharpKey("ZeroBack", Unmapped_Key, 0x03, 0x83);  // "MEMORY"
   addSharpKey("cancel", Unmapped_Key, 0x03, 0x84);  // could be exit key
   addSharpKey("TRACKING_UP", TrackingPlus_Key, 0x03, 0x85);
@@ -449,14 +453,14 @@ void SharpAC1::populateProtocol(
 
   setPreData(0xF508, 16);
 
-  addKey("Fan Faster", VolumeUp_Key, 0x01, 8);
-  addKey("Energy Save", Green_Key, 0x02, 8);
-  addKey("Fan Slower", VolumeDown_Key, 0x04, 8);
-  addKey("Timer", Sleep_Key, 0x06, 8);
-  addKey("Fan", Yellow_Key, 0x07, 8);
-  addKey("Cool", Blue_Key, 0x09, 8);
-  addKey("Temp/Timer-", ChannelDown_Key, 0x0D, 8);
-  addKey("Temp/Timer+", ChannelUp_Key, 0x0E, 8);
-  addKey("Auto/Cool", Info_Key, 0x0F, 8);
+  addKey("Fan Faster", FanFaster_Key, 0x01, 8);
+  addKey("Energy Save", EnergySave_Key, 0x02, 8);
+  addKey("Fan Slower", FanSlower_Key, 0x04, 8);
+  addKey("Timer", Timer_Key, 0x06, 8);
+  addKey("Fan", Fan_Key, 0x07, 8);
+  addKey("Cool", Cool_Key, 0x09, 8);
+  addKey("Temp/Timer-", TempDown_Key, 0x0D, 8);
+  addKey("Temp/Timer+", TempUp_Key, 0x0E, 8);
+  addKey("Auto/Cool", Mode_Key, 0x0F, 8);
   addKey("power", Power_Key, 0x11, 8);
 }