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
c85aed3c
Commit
c85aed3c
authored
Jan 16, 2009
by
Hannes Domani
Committed by
Laurent Aimar
Jan 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Global Hotkeys for windows
Signed-off-by:
Laurent Aimar
<
fenrir@videolan.org
>
parent
8bcd3c6f
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
340 additions
and
0 deletions
+340
-0
configure.ac
configure.ac
+1
-0
include/vlc_plugin.h
include/vlc_plugin.h
+8
-0
modules/control/Modules.am
modules/control/Modules.am
+1
-0
modules/control/globalhotkeys.c
modules/control/globalhotkeys.c
+327
-0
src/libvlc.c
src/libvlc.c
+3
-0
No files found.
configure.ac
View file @
c85aed3c
...
...
@@ -1191,6 +1191,7 @@ elif test "${SYS}" != "mingwce"; then
VLC_ADD_PLUGIN([dmo])
VLC_ADD_PLUGIN([msn])
VLC_ADD_LIBS([dmo],[-lole32 -luuid])
VLC_ADD_PLUGIN([globalhotkeys])
else
VLC_ADD_PLUGIN([win32text])
fi
...
...
include/vlc_plugin.h
View file @
c85aed3c
...
...
@@ -353,9 +353,17 @@ enum vlc_config_properties
add_int_inner( CONFIG_ITEM_INTEGER, name, text, longtext, advc, \
p_callback, value )
#ifndef WIN32
#define add_key( name, value, p_callback, text, longtext, advc ) \
add_int_inner( CONFIG_ITEM_KEY, name, text, longtext, advc, p_callback, \
value )
#else
#define add_key( name, value, p_callback, text, longtext, advc ) \
add_int_inner( CONFIG_ITEM_KEY, name, text, longtext, advc, \
p_callback, value ) \
add_int_inner( CONFIG_ITEM_KEY, "global-" name, text, longtext, advc, \
p_callback, KEY_UNSET )
#endif
#define add_integer_with_range( name, value, i_min, i_max, p_callback, text, longtext, advc ) \
add_integer( name, value, p_callback, text, longtext, advc ) \
...
...
modules/control/Modules.am
View file @
c85aed3c
...
...
@@ -5,6 +5,7 @@ SOURCES_telnet = telnet.c
SOURCES_netsync = netsync.c
SOURCES_ntservice = ntservice.c
SOURCES_hotkeys = hotkeys.c
SOURCES_globalhotkeys = globalhotkeys.c
SOURCES_lirc = lirc.c
SOURCES_rc = rc.c
SOURCES_dbus = dbus.c dbus.h
...
...
modules/control/globalhotkeys.c
0 → 100644
View file @
c85aed3c
This diff is collapsed.
Click to expand it.
src/libvlc.c
View file @
c85aed3c
...
...
@@ -896,6 +896,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
* Always load the hotkeys interface if it exists
*/
libvlc_InternalAddIntf
(
p_libvlc
,
"hotkeys,none"
);
#ifdef WIN32
libvlc_InternalAddIntf
(
p_libvlc
,
"globalhotkeys,none"
);
#endif
#ifdef HAVE_DBUS
/* loads dbus control interface if in one-instance mode
...
...
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