Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
b9452821
Commit
b9452821
authored
Dec 29, 2009
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use action id in lirc. (Untested)
parent
ca35eb93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/control/lirc.c
modules/control/lirc.c
+6
-2
No files found.
modules/control/lirc.c
View file @
b9452821
...
...
@@ -35,6 +35,7 @@
#include <vlc_plugin.h>
#include <vlc_interface.h>
#include <vlc_osd.h>
#include <vlc_keys.h>
#ifdef HAVE_POLL
# include <poll.h>
...
...
@@ -179,8 +180,11 @@ static void Process( intf_thread_t *p_intf )
{
if
(
!
strncmp
(
"key-"
,
c
,
4
)
)
{
int
i_keyval
=
config_GetInt
(
p_intf
,
c
);
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-pressed"
,
i_keyval
);
vlc_key_t
i_key
=
vlc_GetActionId
(
c
);
if
(
i_key
)
var_SetInteger
(
p_intf
->
p_libvlc
,
"key-action"
,
i_key
);
else
msg_Err
(
p_intf
,
"Unknown hotkey '%s'."
,
c
);
}
else
if
(
!
strncmp
(
"menu "
,
c
,
5
)
)
{
...
...
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