# # .lircrc for xawtv # $Id: lircrc,v 1.2 2003/04/29 20:15:59 shamim Exp $ # I couldn't get the irexec "modes" to work correctly so I put # everything at the top level. # # begin normal # begin # prog = irexec # button = T:Power # mode = tv # repeat = 0 # config = /home/shamim/bin/tv & # flags = once # end # end normal # begin tv begin prog = irexec button = T:Power mode = normal config = if ! xawtv-remote quit; then tv& fi flags = quit end begin prog = irexec button = T:Ch+ config = xawtv-remote setstation next end begin prog = irexec button = T:Ch- config = xawtv-remote setstation prev end begin prog = irexec button = T:Vol+ repeat = 3 config = aumix -l +2; xawtv-remote msg "$(vol -l 'Vol. ')" end begin prog = irexec button = T:Vol- repeat = 3 config = aumix -l -2; xawtv-remote msg "$(vol -l 'Vol. ')" end begin prog = irexec button = T:Pause repeat = 3 config = aumix -v +2; xawtv-remote msg "$(vol -v 'Main ')" end begin prog = irexec button = T:Stop repeat = 3 config = aumix -v -2; xawtv-remote msg "$(vol -v 'Main ')" end begin prog = irexec button = T:AudioMonitor config = xawtv-remote volume mute; sleep 1; xawtv-remote msg "$(vol -l)" end begin prog = irexec button = V:TV/VTR config = xawtv-remote setinput Composite1 end begin prog = irexec button = T:TV/VTR config = xawtv-remote setinput Television end begin prog = irexec button = T:Display config = xawtv-remote showtime end # Number keypad begin prog = irexec button = T:0 config = xawtv-remote keypad 0 end begin prog = irexec button = T:1 config = xawtv-remote keypad 1 end begin prog = irexec button = T:2 config = xawtv-remote keypad 2 end begin prog = irexec button = T:3 config = xawtv-remote keypad 3 end begin prog = irexec button = T:4 config = xawtv-remote keypad 4 end begin prog = irexec button = T:5 config = xawtv-remote keypad 5 end begin prog = irexec button = T:6 config = xawtv-remote keypad 6 end begin prog = irexec button = T:7 config = xawtv-remote keypad 7 end begin prog = irexec button = T:8 config = xawtv-remote keypad 8 end begin prog = irexec button = T:9 config = xawtv-remote keypad 9 end # end tv