Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
1f69a67d
Commit
1f69a67d
authored
May 21, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of KEY_ASCII and KEY_SPECIAL
parent
b7cb2c6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
include/vlc_keys.h
include/vlc_keys.h
+0
-2
modules/control/hotkeys.c
modules/control/hotkeys.c
+1
-3
No files found.
include/vlc_keys.h
View file @
1f69a67d
...
...
@@ -37,7 +37,6 @@
#define KEY_MODIFIER_META 0x08000000
#define KEY_MODIFIER_COMMAND 0x10000000
#define KEY_SPECIAL 0x00FF0000
#define KEY_LEFT 0x00010000
#define KEY_RIGHT 0x00020000
#define KEY_UP 0x00030000
...
...
@@ -89,7 +88,6 @@
#define KEY_MEDIA_STOP 0x002b0000
#define KEY_MEDIA_PLAY_PAUSE 0x002c0000
#define KEY_ASCII 0x0000007F
#define KEY_UNSET 0
typedef
struct
key_descriptor_s
...
...
modules/control/hotkeys.c
View file @
1f69a67d
...
...
@@ -942,7 +942,7 @@ static int SpecialKeyEvent( vlc_object_t *libvlc, char const *psz_var,
/* Special action for mouse event */
/* FIXME: rework hotkeys handling to allow more than 1 event
* to trigger one same action */
switch
(
newval
.
i_int
&
KEY_SPECIAL
)
switch
(
newval
.
i_int
&
~
KEY_MODIFIER
)
{
case
KEY_MOUSEWHEELUP
:
i_action
=
(
i_mode
==
MOUSEWHEEL_VOLUME
)
?
ACTIONID_VOL_UP
...
...
@@ -963,8 +963,6 @@ static int SpecialKeyEvent( vlc_object_t *libvlc, char const *psz_var,
case
KEY_MENU
:
var_SetBool
(
libvlc
,
"intf-popupmenu"
,
true
);
break
;
default:
return
VLC_SUCCESS
;
}
if
(
i_mode
==
NO_MOUSEWHEEL
)
return
VLC_SUCCESS
;
...
...
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