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
f3ce44c8
Commit
f3ce44c8
authored
Dec 15, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* added bookmark 9 and 10 but set their combo to KEY_UNSET
parent
67f6e24b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
modules/control/hotkeys.c
modules/control/hotkeys.c
+2
-4
src/libvlc.h
src/libvlc.h
+12
-9
No files found.
modules/control/hotkeys.c
View file @
f3ce44c8
...
...
@@ -2,7 +2,7 @@
* hotkeys.c: Hotkey handling for vlc
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: hotkeys.c,v 1.1
4 2003/12/15 01:11:44 yoan
n Exp $
* $Id: hotkeys.c,v 1.1
5 2003/12/15 13:38:27 hartma
n Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
...
...
@@ -100,13 +100,11 @@ vlc_module_begin();
BOOKMARK7_TEXT
,
BOOKMARK_LONGTEXT
,
VLC_FALSE
);
add_string
(
"bookmark8"
,
NULL
,
NULL
,
BOOKMARK8_TEXT
,
BOOKMARK_LONGTEXT
,
VLC_FALSE
);
/* that is because F9 and F10 are reserved keys for OSX (see src/libvlc.h) */
#if !defined(SYS_DARWIN)
add_string
(
"bookmark9"
,
NULL
,
NULL
,
BOOKMARK9_TEXT
,
BOOKMARK_LONGTEXT
,
VLC_FALSE
);
add_string
(
"bookmark10"
,
NULL
,
NULL
,
BOOKMARK10_TEXT
,
BOOKMARK_LONGTEXT
,
VLC_FALSE
);
#endif
set_capability
(
"interface"
,
0
);
set_callbacks
(
Open
,
Close
);
vlc_module_end
();
...
...
src/libvlc.h
View file @
f3ce44c8
...
...
@@ -2,7 +2,7 @@
* libvlc.h: main libvlc header
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.h,v 1.12
2 2003/12/15 01:11:44 yoan
n Exp $
* $Id: libvlc.h,v 1.12
3 2003/12/15 13:38:26 hartma
n Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -855,13 +855,15 @@ vlc_module_begin();
add_key
(
"key-vol-down"
,
KEY_MODIFIER_COMMAND
|
KEY_DOWN
,
NULL
,
VOL_DOWN_KEY_TEXT
,
VOL_DOWN_KEY_LONGTEXT
,
VLC_FALSE
);
add_key
(
"key-vol-mute"
,
KEY_MODIFIER_COMMAND
|
KEY_MODIFIER_SHIFT
|
'm'
,
NULL
,
VOL_MUTE_KEY_TEXT
,
VOL_MUTE_KEY_LONGTEXT
,
VLC_FALSE
);
add_key
(
"key-set-bookmark1"
,
KEY_MODIFIER_COMMAND
|
KEY_F1
,
NULL
,
SET_BOOKMARK1_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark2"
,
KEY_MODIFIER_COMMAND
|
KEY_F2
,
NULL
,
SET_BOOKMARK1_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark3"
,
KEY_MODIFIER_COMMAND
|
KEY_F3
,
NULL
,
SET_BOOKMARK1_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark4"
,
KEY_MODIFIER_COMMAND
|
KEY_F4
,
NULL
,
SET_BOOKMARK1_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark5"
,
KEY_MODIFIER_COMMAND
|
KEY_F5
,
NULL
,
SET_BOOKMARK1_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark6"
,
KEY_MODIFIER_COMMAND
|
KEY_F6
,
NULL
,
SET_BOOKMARK1_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark7"
,
KEY_MODIFIER_COMMAND
|
KEY_F7
,
NULL
,
SET_BOOKMARK1_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark8"
,
KEY_MODIFIER_COMMAND
|
KEY_F8
,
NULL
,
SET_BOOKMARK1_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark2"
,
KEY_MODIFIER_COMMAND
|
KEY_F2
,
NULL
,
SET_BOOKMARK2_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark3"
,
KEY_MODIFIER_COMMAND
|
KEY_F3
,
NULL
,
SET_BOOKMARK3_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark4"
,
KEY_MODIFIER_COMMAND
|
KEY_F4
,
NULL
,
SET_BOOKMARK4_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark5"
,
KEY_MODIFIER_COMMAND
|
KEY_F5
,
NULL
,
SET_BOOKMARK5_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark6"
,
KEY_MODIFIER_COMMAND
|
KEY_F6
,
NULL
,
SET_BOOKMARK6_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark7"
,
KEY_MODIFIER_COMMAND
|
KEY_F7
,
NULL
,
SET_BOOKMARK7_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark8"
,
KEY_MODIFIER_COMMAND
|
KEY_F8
,
NULL
,
SET_BOOKMARK8_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark9"
,
KEY_UNSET
,
NULL
,
SET_BOOKMARK9_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-set-bookmark10"
,
KEY_UNSET
,
NULL
,
SET_BOOKMARK10_KEY_TEXT
,
SET_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-play-bookmark1"
,
KEY_F1
,
NULL
,
PLAY_BOOKMARK1_KEY_TEXT
,
PLAY_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-play-bookmark2"
,
KEY_F2
,
NULL
,
PLAY_BOOKMARK2_KEY_TEXT
,
PLAY_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-play-bookmark3"
,
KEY_F3
,
NULL
,
PLAY_BOOKMARK3_KEY_TEXT
,
PLAY_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
...
...
@@ -870,7 +872,8 @@ vlc_module_begin();
add_key
(
"key-play-bookmark6"
,
KEY_F6
,
NULL
,
PLAY_BOOKMARK6_KEY_TEXT
,
PLAY_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-play-bookmark7"
,
KEY_F7
,
NULL
,
PLAY_BOOKMARK7_KEY_TEXT
,
PLAY_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-play-bookmark8"
,
KEY_F8
,
NULL
,
PLAY_BOOKMARK8_KEY_TEXT
,
PLAY_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
/* if you want to want to add bookmark9 and 10, you should also modify modules/control/hotkeys.c */
add_key
(
"key-play-bookmark9"
,
KEY_UNSET
,
NULL
,
PLAY_BOOKMARK9_KEY_TEXT
,
PLAY_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-play-bookmark10"
,
KEY_UNSET
,
NULL
,
PLAY_BOOKMARK10_KEY_TEXT
,
PLAY_BOOKMARK_KEY_LONGTEXT
,
VLC_TRUE
);
#else
add_key
(
"key-fullscreen"
,
'f'
,
NULL
,
FULLSCREEN_KEY_TEXT
,
FULLSCREEN_KEY_LONGTEXT
,
VLC_FALSE
);
add_key
(
"key-play-pause"
,
KEY_SPACE
,
NULL
,
PLAY_PAUSE_KEY_TEXT
,
PLAY_PAUSE_KEY_LONGTEXT
,
VLC_FALSE
);
...
...
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