Skip to content

Instantly share code, notes, and snippets.

@paulzhol
Created April 13, 2013 17:03
Show Gist options
  • Save paulzhol/5379201 to your computer and use it in GitHub Desktop.
Save paulzhol/5379201 to your computer and use it in GitHub Desktop.
lirc bindings for mplayer I've been using with an MCE remote that came with an old WinTV-PVR-150 card.
# mplayer -input cmdlist/keylist
# key-toggle-fullscreen
# key-leave-fullscreen
# key-play-pause
# key-pause
# key-play
# key-faster
# key-slower
# key-rate-normal
# key-rate-faster-fine
# key-rate-slower-fine
# key-next
# key-prev
# key-stop
# key-position
# key-jump-extrashort
# key-jump+extrashort
# key-jump-short
# key-jump+short
# key-jump-medium
# key-jump+medium
# key-jump-long
# key-jump+long
# key-frame-next
# key-nav-activate
# key-nav-up
# key-nav-down
# key-nav-left
# key-nav-right
# key-disc-menu
# key-title-prev
# key-title-next
# key-chapter-prev
# key-chapter-next
# key-quit
# key-vol-up
# key-vol-down
# key-vol-mute
# key-subdelay-up
# key-subdelay-down
# key-subpos-up
# key-subpos-down
# key-audiodelay-up
# key-audiodelay-down
# key-audio-track
# key-audiodevice-cycle
# key-subtitle-track
# key-aspect-ratio
# key-crop
# key-toggle-autoscale
# key-incr-scalefactor
# key-decr-scalefactor
# key-deinterlace
# key-intf-show
# key-intf-boss
# key-snapshot
# key-record
# key-zoom
# key-unzoom
# key-wallpaper
# key-menu-on
# key-menu-off
# key-menu-right
# key-menu-left
# key-menu-up
# key-menu-down
# key-menu-select
# key-crop-top
# key-uncrop-top
# key-crop-left
# key-uncrop-left
# key-crop-bottom
# key-uncrop-bottom
# key-crop-right
# key-uncrop-right
# key-random
# key-loop
# key-zoom-quarter
# key-zoom-half
# key-zoom-original
# key-zoom-double
# key-set-bookmark1
# key-set-bookmark2
# key-set-bookmark3
# key-set-bookmark4
# key-set-bookmark5
# key-set-bookmark6
# key-set-bookmark7
# key-set-bookmark8
# key-set-bookmark9
# key-set-bookmark10
# key-play-bookmark1
# key-play-bookmark2
# key-play-bookmark3
# key-play-bookmark4
# key-play-bookmark5
# key-play-bookmark6
# key-play-bookmark7
# key-play-bookmark8
# key-play-bookmark9
# key-play-bookmark10
#
# mplayer -input cmdlist
#
begin
prog = mplayer
button = KEY_PLAY
config = pause
end
begin
prog = mplayer
button = KEY_PAUSE
config = pause
end
begin
prog = mplayer
button = KEY_STOP
config = stop
end
begin
prog = mplayer
button = KEY_UP
config = key-menu-up
end
begin
prog = mplayer
button = KEY_DOWN
config = key-menu-down
end
begin
prog = mplayer
button = KEY_LEFT
config = key-menu-left
end
begin
prog = mplayer
button = KEY_RIGHT
config = key-menu-right
end
begin
prog = mplayer
button = KEY_NEXT
config = key-next
end
begin
prog = mplayer
button = KEY_PREV
config = key-prev
end
begin
prog = mplayer
button = KEY_POWER
config = exit
end
begin
prog = mplayer
button = Teletext
config = sub_visibility
end
begin
prog = mplayer
button = KEY_RED
config = vobsub_lang
end
begin
prog = mplayer
button = KEY_FORWARD
config = seek 20
end
begin
prog = mplayer
button = KEY_REWIND
config = seek -20
end
begin
prog = mplayer
button = Skip
config = key-jump+medium
end
begin
prog = mplayer
button = replay
config = key-jump-short
end
begin
prog = mplayer
button = volup
config = key-vol-up
repeat = 1
end
begin
prog = mplayer
button = voldown
config = key-vol-down
repeat = 1
end
begin
prog = mplayer
button = mute
config = key-vol-mute
end
begin
prog = mplayer
button = pictures
config = key-audiodelay-up
end
begin
prog = mplayer
button = music
config = key-audiodelay-down
end
begin
prog = mplayer
button = more
config = key-crop
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment