Commit c28589a4 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* simplified the lirc code to listen for key-* strings which we can directly...

* 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.
parent e055f5eb
...@@ -61,6 +61,8 @@ Interfaces: ...@@ -61,6 +61,8 @@ Interfaces:
- Fixes - Fixes
* HTTP * HTTP
- Support for the new playlist system - Support for the new playlist system
* Lirc
- Now uses new config settings. See doc/lirc/example.lirc
Windows port: Windows port:
* Screensaver disabling fix * Screensaver disabling fix
......
# This is an example .lircrc file that shows the different config strings that # 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 # vlc understand. Button names are from an animax remote, and these may change
# with different remotes # 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 begin
prog = vlc prog = vlc
button = PLAY_UP button = PLAY_UP
config = PLAY config = key-play
end end
begin begin
prog = vlc prog = vlc
button = PAUSE_UP button = PAUSE_UP
config = PAUSE config = key-pause
end end
#use this target if you have a combined play/pause button # Use this target if you have a combined play/pause button
begin begin
prog = vlc prog = vlc
button = PLAY_UP button = PLAY_UP
config = PLAYPAUSE config = key-play-pause
end end
begin begin
prog = vlc prog = vlc
button = STOP_UP button = STOP_UP
config = STOP config = key-stop
end end
begin begin
prog = vlc prog = vlc
button = POWER_UP button = POWER_UP
config = QUIT config = key-quit
end end
begin begin
prog = vlc prog = vlc
button = SKIP_FORWARD_UP button = SKIP_FORWARD_UP
config = NEXT config = key-next
end end
begin begin
prog = vlc prog = vlc
button = SKIP_BACKWARD button = SKIP_BACKWARD
config = PREV config = key-prev
end end
begin begin
prog = vlc prog = vlc
button = RED_BUTTON_UP button = RED_BUTTON_UP
config = FULLSCREEN config = key-fullscreen
end end
begin begin
prog = vlc prog = vlc
button = REWIND_UP button = REWIND_UP
config = SLOW config = key-slower
end end
begin begin
prog = vlc prog = vlc
button = FORWARD_UP button = FORWARD_UP
config = FAST config = key-faster
end end
#Audio controls #Audio controls
begin begin
prog = vlc prog = vlc
button = VOLUME_DOWN_DOWN button = VOLUME_DOWN_DOWN
config = VOL_DOWN config = key-vol-down
end end
begin begin
prog = vlc prog = vlc
button = VOLUME_UP_DOWN button = VOLUME_UP_DOWN
config = VOL_UP config = key-vol-up
end end
begin begin
prog = vlc prog = vlc
button = SOMEBUTTON button = SOMEBUTTON
config = AUDIO_TRACK config = key-audio-track
end end
begin begin
prog = vlc prog = vlc
button = MUTE_UP button = MUTE_UP
config = MUTE config = key-vol-mute
end end
#For dvd navigation #For dvd navigation
begin begin
prog = vlc prog = vlc
button = 4_UP button = 4_UP
config = LEFT config = key-nav-left
end end
begin begin
prog = vlc prog = vlc
button = 5_UP button = 5_UP
config = DOWN config = key-nav-down
end end
begin begin
prog = vlc prog = vlc
button = 2_UP button = 2_UP
config = UP config = key-nav-up
end end
begin begin
prog = vlc prog = vlc
button = 6_UP button = 6_UP
config = RIGHT config = key-nav-right
end end
begin begin
prog = vlc prog = vlc
button = MENU_UP button = MENU_UP
config = ACTIVATE config = key-nav-activate
end
begin
prog = vlc
button = 9_UP
config = key-subtitle-track
end end
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment