# This is lircrc for mplayer + remote of my SAA7134 (SAA7133/SAA7135) based # AVerMedia A16AR card, but it should be good also for Aver's 777 and possibly # other avermedia-based remote controls (does yours look like # http://pvrhw.goldfish.org/bttv/DCP_5582.JPG_avermedia_a777_remote_acc_a.jpg?). # # Note that for 2.6.18 you will need a kernel patch which is in the same # directory on the server as this file. # # Put this to /etc/lircrc or ~/.lircrc. See # http://pasky.or.cz/~pasky/dev/v4l/lirc-HOWTO for details on how to setup the # remote in your system. begin # TV/FM prog = mplayer button = KEY_TV config = quit end begin # CD prog = mplayer button = KEY_CD config = end begin # TELETEXT prog = mplayer button = KEY_TEXT config = sub_select end begin # POWER prog = mplayer button = KEY_POWER config = quit end begin # VIDEO prog = mplayer button = KEY_VIDEO config = end begin # AUDIO prog = mplayer button = KEY_AUDIO config = switch_audio end begin # FULL SCREEN prog = mplayer button = KEY_ZOOM config = vo_fullscreen end begin # DISPLAY prog = mplayer button = KEY_SUBTITLE config = osd end begin # LOOP prog = mplayer button = KEY_REWIND config = end begin # PREVIEW prog = mplayer button = KEY_PRINT config = frame_step repeat = 1 end begin # AUTOSCAN prog = mplayer button = KEY_SEARCH config = end begin # FREEZE prog = mplayer button = KEY_SLEEP config = end begin # SNAPSHOT prog = mplayer button = KEY_SHUFFLE config = screenshot repeat = 1 end begin # MUTE prog = mplayer button = KEY_MUTE config = mute end begin # RECORD prog = mplayer button = KEY_RECORD config = end begin # PAUSE prog = mplayer button = KEY_PAUSE config = pause end begin # STOP prog = mplayer button = KEY_STOP config = gui_stop end begin # PLAY prog = mplayer button = KEY_PLAY config = gui_play end begin # RED prog = mplayer button = KEY_RED config = seek -10 repeat = 1 end begin # YELLOW prog = mplayer button = KEY_YELLOW config = seek +10 repeat = 1 end begin # GREEN prog = mplayer button = KEY_GREEN config = seek -600 repeat = 1 end begin # BLUE prog = mplayer button = KEY_BLUE config = seek +600 repeat = 1 end begin # VOLUME- prog = mplayer button = KEY_VOLUMEDOWN config = volume -1 repeat = 1 end begin # VOLUME+ prog = mplayer button = KEY_VOLUMEUP config = volume +1 repeat = 1 end # It would be nice to be able to overload this based on whether we play a TV # stream or a file... begin # CHANNEL/PAGE- prog = mplayer button = KEY_CHANNELDOWN config = speed_mult 0.8 repeat = 1 end begin # CHANNEL/PAGE+ prog = mplayer button = KEY_CHANNELUP config = speed_mult 1.25 repeat = 1 end