# This LIRC config file is the most complete representation of IR control 
# for the Hitachi 57F510 (and others?) rear projection TV as of 2007-02-16
#
# contributed by Steve Norton
#
# brand:                       Hitachi
# model no. of remote control: CLU4341UG2
#

begin remote

  name  Hitachi_CLU4341UG2
  bits           32
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9066  4410
  one           674  1581
  zero          674   439
  ptrail        675
  repeat       9067  2127
  gap          107701
  toggle_bit      0


      begin codes
                0                 0x0AF530CF
                1                 0x0AF5B04F
                2                 0x0AF5708F
                3                 0x0AF5F00F
                4                 0x0AF538C7
                5                 0x0AF5B847
                6                 0x0AF57887
                7                 0x0AF5F807
                8                 0x0AF520DF
                9                 0x0AF5A05F
                Language          0x0AF5609F
                Input             0x0AF5906F
                LastChannel       0x0AF550AF
                Mute              0x0AF5D02F
                Info              0x0AF508F7
                VolumeUp          0x0AF548B7
                VolumeDown        0x0AF5A857
                PowerToggle       0x0AF5E817
                ChannelDown       0x0AF518E7
                ChannelUp         0x0AF59867
                Input1            0x0AF5847B
                Input2            0x0AF544BB
                Input3            0x0AF5C43B
                Input4            0x0AF524DB
                ChannelUp         0x0AF514EB
                ChannelDown       0x0AF5946B
                VolumeDown        0x0AF554AB
                VolumeUp          0x0AF5D42B
                SELECT            0x0AF5748B
                CC                0x0AF5EC13
                FavouriteChannel  0x0AF51CE3
                1080i/540p        0x0AF53CC3
                Input5            0x0AF5BC43
                PowerON           0x0AF57C83
                PowerOFF          0x0AF5FC03
                Menu              0x0AF5CA35
                PIP               0x0AF51AE5
                Day/Night         0x0AF57A85
                Freeze/Pause      0x0AF58679
                EXIT              0x0AF526D9
                16:9              0x0AF5A659
                16:9Zoom          0x0AF56699
                4:3Standard       0x0AF5E619
                4:3Expanded       0x0AF516E9
                4:3Zoom1          0x0AF59669
                4:3Zoom2          0x0AF556A9
                540p              0x0AF5D629
                1080i             0x0AF536C9
                Aspect            0x0AF5F609
                ArrowUp           0x0AF50EF1
                ArrowDown         0x0AF58E71
                ArrowRight        0x0AF54EB1
                ArrowLeft         0x0AF5CE31
                DayMode           0x0AF52ED1
                NightMode         0x0AF5AE51
                AntennaA          0x0AF56E91
                AntennaB          0x0AF5EE11
                CC                0x0AF51EE1
                Guide             0x0AF5AC53

# Codes below are diagnostics & service
         
                Contrast100%          0x0AF501FE
                Contrast0%            0x0AF5817E
                Contrast50%           0x0AF541BE
                TintAllGreen          0x0AF5C13E
                TintAllRed            0x0AF521DE
                Colour100%            0x0AF5A15E
                Colour0%              0x0AF5619E
                Bright100%            0x0AF5E11E
                Bright0%              0x0AF511EE
                Sharp100%             0x0AF5916E
                Sharp0%               0x0AF551AE
                Treble100%            0x0AF5D12E
                Treble0%              0x0AF531CE
                Bass100%              0x0AF5B14E
                Bass0%                0x0AF5718E
                BalanceRight          0x0AF5F10E
                BalanceLeft           0x0AF509F6
                VolumeFULL            0x0AF58976
                ServiceMenu           0x0AF5A956
                MagicFocus            0x0AF56996
                ServiceMenuSubbright  0x0AF519E6
                ChannelScan           0x0AF5D926
                ServiceMenu           0x0AF539C6
                DCAM                  0x0AF5F906
                Channel+1             0x0AF505FA
                Channel+2             0x0AF5857A
                Channel+3             0x0AF545BA
                Channel+4             0x0AF5C53A
                Channel+5             0x0AF525DA
                Channel+6             0x0AF5A55A
                Channel+7             0x0AF5659A
                Channel+8             0x0AF5E51A
                Channel-3             0x0AF515EA
                Channel-2             0x0AF5956A
                Channel-1             0x0AF555AA
                Channel+0             0x0AF5D52A
                Channel+1             0x0AF535CA
                Channel+2             0x0AF5B54A
                Channel+3             0x0AF5758A
                Channel+4             0x0AF5F50A
                Channel-1             0x0AF50DF2
                Channel-2             0x0AF58D72
                Channel-3             0x0AF54DB2
                Channel-4             0x0AF5CD32
                Channel-5             0x0AF52DD2
                Channel-6             0x0AF5AD52
                Channel-7             0x0AF56D92
                Channel-8             0x0AF5ED12
                Channel-9             0x0AF51DE2
                Channel+2             0x0AF59D62
                Channel+1             0x0AF55DA2
                Channel+0             0x0AF5DD22
                Channel-1             0x0AF53DC2
                Channel-2             0x0AF5BD42
                Channel-3             0x0AF57D82
                Channel-4             0x0AF5FD02
                Volume+1              0x0AF503FC
                Volume+2              0x0AF5837C
                Volume+3              0x0AF543BC
                Volume+4              0x0AF5C33C
                Volume+5              0x0AF523DC
                Volume+6              0x0AF5A35C
                Volume+7              0x0AF5639C
                Volume+8              0x0AF5E31C
                Volume+9              0x0AF513EC
                Volume+10             0x0AF5936C
                Volume+11             0x0AF553AC
                Volume+12             0x0AF5D32C
                Volume+13             0x0AF533CC
                Volume+14             0x0AF5B34C
                Volume+15             0x0AF5738C
                Volume+16             0x0AF5F30C
                Volume-1              0x0AF50BF4
                Volume-2              0x0AF58B74
                Volume-3              0x0AF54BB4
                Volume-4              0x0AF5CB34
                Volume-5              0x0AF52BD4
                Volume-6              0x0AF5AB54
                Volume-7              0x0AF56B94
                Volume-8              0x0AF5EB14
                Volume-9              0x0AF51BE4
                Volume-10             0x0AF59B64
                Volume-11             0x0AF55BA4
                Volume-12             0x0AF5DB24
                Volume-13             0x0AF53BC4
                Volume-14             0x0AF5BB44
                Volume-15             0x0AF57B84
                Volume-16             0x0AF5FB04
         
# These two codes are to be used in DCAM mode
         
         ReadROM(inDECAM)      0x0AF59A65
         WriteROM(inDECAM)     0x0AF55AA5
         
# No idea what the intended function for these code are

                FactoryReset?                                0x0AF549B6
                Splitscreen,ResetToAntenna?                  0x0AF5C936
                "INITIAL:N"MagicFocus(SaveconvergencetoROM)? 0x0AF57986
                WhiteScreen?                                 0x0AF5E916
                SetupCCMenuResetToAntenna?                   0x0AF559A6
                SplitScreenBothChannel14?                    0x0AF5B946

      end codes
      

end remote
