#
# this config file was automatically generated
# using lirc-0.6.3(serial) on Thu Apr 19 19:56:19 2001
#
# contributed by Stefan Huelswitt (huels|iname.com
#
# brand:             Loewe
# model:             Control 150 TV (3 modes)
# supported devices: 
#
# VTR mode is strange, see comments below

#
# this is for the TV mode
#

begin remote

  name  Loewe_150_TV
  bits            6
  flags RC5
  eps            30
  aeps          100

  one           912   852
  zero          912   852
  plead         939
  pre_data_bits   7
  pre_data       0x40
  gap          90974
  min_repeat	3
  toggle_bit      2

      begin codes
          Up                       0x0000000000000020
          Down                     0x0000000000000021
          Left                     0x0000000000000011
          Right                    0x0000000000000010
          Ok                       0x0000000000000026
          Red                      0x000000000000001B
          Green                    0x000000000000001A
          Yellow                   0x000000000000002B
          Blue                     0x0000000000000028
          1                        0x0000000000000001
          2                        0x0000000000000002
          3                        0x0000000000000003
          4                        0x0000000000000004
          5                        0x0000000000000005
          6                        0x0000000000000006
          7                        0x0000000000000007
          8                        0x0000000000000008
          9                        0x0000000000000009
          0                        0x0000000000000000
          T                        0x000000000000003C
          M                        0x000000000000000B
          E                        0x000000000000003F
          I                        0x0000000000000027
          Power                    0x000000000000000C
          Mute                     0x000000000000000D
          Video                    0x0000000000000023
          Audio                    0x0000000000000035
          PiP                      0x000000000000000A
          V=                       0x0000000000000031
          Timer                    0x000000000000000F
      end codes

end remote

#
# this is for the VTR mode
#
# VTR mode is a bit stange, as the remote first sends some NEC
# codes for a button followed by RC5 codes. If you hold a button
# only the RC5 codes are repeated.
# (Thanks to Christoph Bartelmus for figuring this out).

#
# this are the raw codes
#

begin remote

  name  Loewe_150_VTR_NEC
  bits           24
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       3518  1697
  one           460   396
  zero          460  1258
  ptrail        460
  pre_data_bits   24
  pre_data       0xBFFBF6
  gap          114917
  repeat_bit      0

      begin codes
          Up                       0x00000000007FBF36
          Down                     0x00000000007F3FB6
          Left                     0x00000000007F5FD6
          Right                    0x00000000007FDF56
          Ok                       0x00000000007FE56C
          Red                      0x0000000000FFBFB6
          Green                    0x0000000000FFFFF6
          Yellow                   0x0000000000FFAFA6
          Blue                     0x0000000000FF3F36
          1                        0x0000000000FFF7FE
          2                        0x0000000000FF777E
          3                        0x0000000000FFB7BE
          4                        0x0000000000FF373E
          5                        0x0000000000FFD7DE
          6                        0x0000000000FF575E
          7                        0x0000000000FF979E
          8                        0x0000000000FF171E
          9                        0x0000000000FFE7EE
          0                        0x0000000000FF676E
          T                        0x0000000000FF9F96
          M                        0x00000000007F951C
          E                        0x00000000007F9910
          Power                    0x0000000000FF434A
          Video                    0x00000000007F058C
          Audio                    0x0000000000FF333A
          PiP                      0x00000000007F45CC
          V=                       0x00000000007FAF26
          Timer                    0x0000000000FFD5DC
          Mute                     0x0000000000FFD2DB
      end codes

end remote

#
# this are the RC5 codes
#

begin remote

  name  Loewe_150_VTR_RC5
  bits           13
  flags RC5
  eps            30
  aeps          100

  one           912   852
  zero          912   852
  plead         939
  gap          114917
  toggle_bit      2

      begin codes
          Up                       0x0000000000000950
          Down                     0x0000000000000951
          Left                     0x0000000000000155
          Right                    0x0000000000000956
          Ok                       0x0000000000000157
          Red                      0x0000000000001972
          Green                    0x0000000000001176
          Yellow                   0x0000000000001975
          Blue                     0x0000000000001174
          1                        0x0000000000001941
          2                        0x0000000000001142
          3                        0x0000000000001943
          4                        0x0000000000001144
          5                        0x0000000000001945
          6                        0x0000000000001146
          7                        0x0000000000001947
          8                        0x0000000000001148
          9                        0x0000000000001949
          0                        0x0000000000001140
          T                        0x0000000000001969
          M                        0x0000000000000152
          E                        0x0000000000000953
          Power                    0x000000000000114C
          Mute                     0x000000000000195D
          Video                    0x000000000000017E
          Audio                    0x000000000000194B
          PiP                      0x0000000000000145
          V=                       0x000000000000197A
          Timer                    0x0000000000001171
      end codes

end remote

#
# this is for the DVD mode
#

begin remote

  name  Loewe_150_DVD
  bits            8
  flags RC6
  eps            30
  aeps          100

  header       2723   847
  one           468   411
  zero          468   411
  pre_data_bits   13
  pre_data       0xEFB
  gap          80964
  toggle_bit      5

      begin codes
          Up                       0x00000000000000A7
          Down                     0x00000000000000A6
          Left                     0x00000000000000A5
          Right                    0x00000000000000A4
          Ok                       0x00000000000000A3
          Red                      0x00000000000000DE
          Green                    0x00000000000000CE
          Yellow                   0x00000000000000D3
          Blue                     0x00000000000000DF
          T                        0x00000000000000CF
          M                        0x000000000000002E
          E                        0x000000000000007C
          I                        0x00000000000000DD
          1                        0x00000000000000FE
          2                        0x00000000000000FD
          3                        0x00000000000000FC
          4                        0x00000000000000FB
          5                        0x00000000000000FA
          6                        0x00000000000000F9
          7                        0x00000000000000F8
          8                        0x00000000000000F7
          9                        0x00000000000000F6
          0                        0x00000000000000FF
          Power                    0x00000000000000F3
          Video                    0x00000000000000B4
          Audio                    0x00000000000000B1
          Mute                     0x00000000000000F0
          Timer                    0x0000000000000037
          V=                       0x00000000000000E2
          PiP                      0x000000000000007A
      end codes

end remote
