1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00
vlc/doc/lirc/example.lircrc
Derk-Jan Hartman c28589a43c * simplified the lirc code to listen for key-* strings which we can directly use to trigger hotkeys.
* updated the example.lircrc with new required strings
* added a notice to NEWS about changed lirc syntax.
2005-03-01 09:28:37 +00:00

134 lines
1.9 KiB
Plaintext

# This is an example .lircrc file that shows the different config strings that
# vlc understand. Button names are from an animax remote, and these may change
# with different remotes.
# The current full list of config strings vlc understands is always in vlc's
# src/libvlc.h file. Look for lines like:
# add_key( "key-fullscreen", KEY_FULLSCREEN, NULL, FULLSCREEN_KEY_TEXT,
# FULLSCREEN_KEY_LONGTEXT, VLC_FALSE );
# You will need the first argument of these lines. in this case: key-fullscreen
begin
prog = vlc
button = PLAY_UP
config = key-play
end
begin
prog = vlc
button = PAUSE_UP
config = key-pause
end
# Use this target if you have a combined play/pause button
begin
prog = vlc
button = PLAY_UP
config = key-play-pause
end
begin
prog = vlc
button = STOP_UP
config = key-stop
end
begin
prog = vlc
button = POWER_UP
config = key-quit
end
begin
prog = vlc
button = SKIP_FORWARD_UP
config = key-next
end
begin
prog = vlc
button = SKIP_BACKWARD
config = key-prev
end
begin
prog = vlc
button = RED_BUTTON_UP
config = key-fullscreen
end
begin
prog = vlc
button = REWIND_UP
config = key-slower
end
begin
prog = vlc
button = FORWARD_UP
config = key-faster
end
#Audio controls
begin
prog = vlc
button = VOLUME_DOWN_DOWN
config = key-vol-down
end
begin
prog = vlc
button = VOLUME_UP_DOWN
config = key-vol-up
end
begin
prog = vlc
button = SOMEBUTTON
config = key-audio-track
end
begin
prog = vlc
button = MUTE_UP
config = key-vol-mute
end
#For dvd navigation
begin
prog = vlc
button = 4_UP
config = key-nav-left
end
begin
prog = vlc
button = 5_UP
config = key-nav-down
end
begin
prog = vlc
button = 2_UP
config = key-nav-up
end
begin
prog = vlc
button = 6_UP
config = key-nav-right
end
begin
prog = vlc
button = MENU_UP
config = key-nav-activate
end
begin
prog = vlc
button = 9_UP
config = key-subtitle-track
end