#
# this config file was automatically generated
# using WinLIRC 0.6.5 (LIRC 0.6.1pre3) on Thu Jul 28 23:25:15 2005
#
# Using IR TX/RX circuit by Brian Shucker.
#
# contributed by     Micheal Fyffe
#
# brand:             pace
# model:             DS420
# supported devices: 
#


begin remote

  name   Pase_DS420
  flags RAW_CODES
  eps            25
  aeps          100

  ptrail          0
  repeat     0     0
  gap    89950


      begin raw_codes

          name one
              468     208     228     233     196     525
              243     235     196     356     244     526
              243     526     243     235     196     233
              196     235     196     526     238     357
              242     526     238     235     195     234
              195     235     195     356     243

          name two
              468     208     229     232     195     526
              243     235     194     357     242     526
              240     524     242     234     196     235
              196     235     196     527     243     357
              242     527     244     236     196     235
              196     234     195     527     241

          name three
              468     208     229     233     196     525
              242     234     195     357     242     526
              240     524     241     234     196     233
              195     236     196     526     241     356
              244     526     240     234     196     234
              196     235     196     697     244

          name four
              466     207     230     232     196     525
              241     234     195     355     242     525
              244     527     244     231     195     234
              196     233     196     525     242     355
              243     526     241     235     196     235
              197     356     245     235     194

          name five
              467     207     229     232     194     527
              242     235     196     356     245     526
              242     526     243     234     195     235
              195     235     195     526     245     357
              244     526     243     235     194     235
              196     356     243     356     243

          name six
              468     207     228     233     193     525
              242     235     195     356     244     527
              241     527     241     235     195     234
              196     234     196     528     244     356
              242     527     243     235     195     235
              195     356     244     527     241

          name seven
              447     208     222     232     189     526
              222     232     197     356     223     527
              221     526     221     230     196     233
              186     234     193     526     221     355
              220     527     220     231     196     235
              190     355     221     697     221

          name eight
              467     208     229     232     195     526
              241     234     196     354     240     526
              243     526     242     234     196     233
              195     234     196     525     239     356
              242     527     236     233     195     234
              195     525     235     232     197

          name nine
              468     207     230     232     197     525
              244     232     196     354     243     525
              242     525     241     233     196     233
              197     234     197     525     244     355
              245     525     244     234     196     234
              196     525     242     356     244

          name zero
              469     208     229     233     194     525
              243     235     196     357     245     526
              244     525     244     235     197     235
              196     234     197     526     243     356
              245     527     244     234     195     236
              195     233     196     233     196

          name red
              468     206     228     231     196     523
              245     232     195     356     244     525
              243     526     244     234     196     235
              196     235     195     526     242     356
              243     525     240     355     243     525
              241     695     239     356     244

          name green
              469     209     230     233     195     525
              243     234     195     356     245     527
              245     525     244     233     197     233
              197     232     197     527     242     356
              243     528     242     357     245     526
              243     695     242     526     245

          name yellow
              469     207     228     233     196     527
              245     235     196     356     245     526
              243     527     243     234     195     235
              194     235     195     525     243     356
              243     526     244     356     244     527
              243     695     242     697     245

          name blue
              468     208     227     233     194     526
              244     234     196     356     244     524
              241     528     240     235     195     234
              196     234     195     527     244     357
              245     525     245     356     244     697
              243     235     195     234     194

          name mute
              467     207     228     234     194     527
              243     234     196     356     244     526
              242     527     242     235     195     235
              196     235     194     526     243     356
              243     526     243     234     196     234
              196     698     239     355     244

          name back
              468     208     229     233     195     525
              242     236     195     356     241     527
              242     527     240     234     195     235
              195     236     194     527     240     355
              243     526     241     528     240     235
              195     235     195     697     240

          name help
              468     207     227     234     195     527
              243     235     197     357     243     527
              240     528     241     236     194     236
              195     233     195     526     242     357
              245     527     242     525     242     234
              197     235     195     356     244

          name vol+
              468     208     229     234     194     527
              243     235     193     356     242     527
              241     526     244     234     196     235
              196     234     196     527     244     356
              244     527     243     234     194     357
              243     235     195     235     196

          name vol-
              466     207     229     233     195     526
              243     234     197     357     243     528
              244     527     243     235     197     236
              195     236     196     528     243     356
              244     527     242     235     196     358
              242     236     195     355     244

          name ch+
              469     205     228     232     194     523
              242     232     198     355     244     524
              240     526     242     234     197     234
              197     232     197     525     238     354
              242     525     242     232     196     524
              239     232     196     234     193

          name ch-
              469     208     229     234     196     527
              243     235     197     355     245     525
              245     525     245     233     196     233
              196     233     197     525     243     355
              244     526     241     234     198     527
              242     235     196     355     244

          name select
              469     207     229     232     195     526
              244     234     196     356     243     527
              241     525     242     235     195     235
              196     235     195     526     242     357
              245     526     244     357     244     357
              245     696     240     234     195

          name left
              468     208     228     233     194     528
              243     234     196     351     244     527
              243     526     244     236     195     235
              195     231     197     525     244     356
              245     527     242     356     244     356
              244     526     240     525     241

          name right
              469     207     230     233     195     526
              242     234     195     356     242     525
              242     527     240     234     196     236
              197     235     197     526     242     357
              244     528     245     356     246     356
              243     527     244     696     242

          name up
              469     208     228     234     193     526
              243     236     195     356     244     527
              240     526     241     236     195     234
              192     237     194     525     242     357
              241     526     242     358     242     358
              242     528     244     235     194

          name down
              468     207     229     233     195     527
              242     236     195     357     243     528
              240     527     239     236     194     236
              195     235     195     527     241     357
              244     527     241     356     244     356
              245     526     245     356     243

          name setup
              467     206     229     234     193     527
              243     236     195     357     244     526
              241     527     239     235     194     234
              195     236     195     526     242     358
              243     528     240     357     244     357
              243     357     244     236     194

          name i
              466     208     229     233     194     527
              243     235     194     357     242     527
              241     526     240     235     195     235
              194     236     195     528     242     350
              244     527     243     235     195     236
              194     697     239     696     238

          name tvguide
              468     207     229     233     196     526
              242     235     194     356     244     525
              243     525     243     233     194     234
              195     235     195     526     243     354
              244     526     242     697     238     236
              194     697     239     235     195

          name boxoffice
              468     208     228     234     194     527
              243     236     196     357     245     527
              243     526     243     235     194     235
              195     236     192     527     241     356
              243     528     241     697     240     357
              244     355     243     357     244

          name active
              468     201     229     234     194     525
              242     235     195     357     244     526
              243     528     243     236     196     237
              195     235     195     527     244     356
              245     527     242     697     241     697
              242     697     240     356     243

          name av
              467     208     229     233     193     527
              242     235     195     358     243     526
              241     527     242     237     195     231
              195     236     195     527     240     356
              241     527     243     235     196     698
              244     527     243     237     194

          name foxtel
              449     207     211     220     196     526
              217     228     198     355     216     527
              216     527     216     229     198     228
              196     229     196     527     215     357
              215     527     213     528     213     232
              195     696     211     527     212

      end raw_codes

end remote

## How to use for Mythtv
## copy the contents below (removing the leading #) to a file and set it as the 
## external channel changer in mythsetup.
##
## I found that changing the channel;with a small delay worked
## for non repeating channels such as 108 but not for sending repeated digits
## like channel 100, this would typically send only 10_
## Sending the digit twice and then waiting seems to fix this.
## The second loop is just my way of ensuring that the channel gets changed,
## you could easily just use the inner loop.
##
## /usr/local/bin/change_channel.sh
##
##!/bin/bash
#
#REMOTE_NAME=ds420
#
#for loop in 1 2  ; do
#     for digit in $(echo $1 | sed -e 's/./& /g'); do
#           irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME $digit
#           irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME $digit
#           sleep 3
#     done
#     sleep 30
#done
#irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME red









