Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
b5133d4d
Commit
b5133d4d
authored
Feb 16, 2003
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for volume up/down buttons.
parent
e2dedee8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
doc/lirc/example.lircrc
doc/lirc/example.lircrc
+12
-0
modules/control/lirc/lirc.c
modules/control/lirc/lirc.c
+10
-2
No files found.
doc/lirc/example.lircrc
View file @
b5133d4d
...
@@ -62,3 +62,15 @@ begin
...
@@ -62,3 +62,15 @@ begin
button = FORWARD_UP
button = FORWARD_UP
config = FAST
config = FAST
end
end
begin
prog = vlc
button = VOLUME_DOWN_DOWN
config = VOL_DOWN
end
begin
prog = vlc
button = VOLUME_UP_DOWN
config = VOL_UP
end
modules/control/lirc/lirc.c
View file @
b5133d4d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* lirc.c : lirc plugin for vlc
* lirc.c : lirc plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* Copyright (C) 2002 VideoLAN
* $Id: lirc.c,v 1.
3 2003/01/12 15:38:35
sigmunau Exp $
* $Id: lirc.c,v 1.
4 2003/02/16 10:25:57
sigmunau Exp $
*
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
*
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
#include <vlc/vlc.h>
#include <vlc/vlc.h>
#include <vlc/intf.h>
#include <vlc/intf.h>
#include <vlc/vout.h>
#include <vlc/vout.h>
#include <vlc/aout.h>
#include <lirc/lirc_client.h>
#include <lirc/lirc_client.h>
...
@@ -169,7 +170,14 @@ static void Run( intf_thread_t *p_intf )
...
@@ -169,7 +170,14 @@ static void Run( intf_thread_t *p_intf )
p_intf
->
p_vlc
->
b_die
=
VLC_TRUE
;
p_intf
->
p_vlc
->
b_die
=
VLC_TRUE
;
continue
;
continue
;
}
}
if
(
!
strcmp
(
c
,
"VOL_UP"
)
)
{
aout_VolumeUp
(
p_intf
,
1
,
NULL
);
}
if
(
!
strcmp
(
c
,
"VOL_DOWN"
)
)
{
aout_VolumeDown
(
p_intf
,
1
,
NULL
);
}
if
(
!
strcmp
(
c
,
"FULLSCREEN"
)
)
if
(
!
strcmp
(
c
,
"FULLSCREEN"
)
)
{
{
vout_thread_t
*
p_vout
;
vout_thread_t
*
p_vout
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment