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
fc2fa18e
Commit
fc2fa18e
authored
Mar 02, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "vlc_keys: define mouse's middle, 4 & 5 buttons."t revert
This reverts commit
aeb250f7
.
parent
c495d676
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
13 deletions
+1
-13
include/vlc_keys.h
include/vlc_keys.h
+0
-4
include/vlc_mouse.h
include/vlc_mouse.h
+0
-2
src/config/keys.c
src/config/keys.c
+0
-3
src/video_output/event.h
src/video_output/event.h
+1
-4
No files found.
include/vlc_keys.h
View file @
fc2fa18e
...
...
@@ -81,10 +81,6 @@
#define KEY_MEDIA_STOP 0x004B0000
#define KEY_MEDIA_PLAY_PAUSE 0x004C0000
#define KEY_MOUSEBUTTON_MID 0x00ED0000
#define KEY_MOUSEBUTTON_X1 0x00EE0000
#define KEY_MOUSEBUTTON_X2 0x00EF0000
#define KEY_MOUSEWHEELUP 0x00F00000
#define KEY_MOUSEWHEELDOWN 0x00F10000
#define KEY_MOUSEWHEELLEFT 0x00F20000
...
...
include/vlc_mouse.h
View file @
fc2fa18e
...
...
@@ -36,8 +36,6 @@ enum
MOUSE_BUTTON_WHEEL_DOWN
,
MOUSE_BUTTON_WHEEL_LEFT
,
MOUSE_BUTTON_WHEEL_RIGHT
,
MOUSE_BUTTON_X1
,
MOUSE_BUTTON_X2
,
MOUSE_BUTTON_MAX
};
...
...
src/config/keys.c
View file @
fc2fa18e
...
...
@@ -85,9 +85,6 @@ static const struct key_descriptor_s vlc_keys[] =
{
"Media Prev Track"
,
KEY_MEDIA_PREV_TRACK
},
{
"Media Stop"
,
KEY_MEDIA_STOP
},
{
"Menu"
,
KEY_MENU
},
{
"Mouse Button Mid"
,
KEY_MOUSEBUTTON_MID
},
{
"Mouse Button X1"
,
KEY_MOUSEBUTTON_X1
},
{
"Mouse Button X2"
,
KEY_MOUSEBUTTON_X2
},
{
"Mouse Wheel Down"
,
KEY_MOUSEWHEELDOWN
},
{
"Mouse Wheel Left"
,
KEY_MOUSEWHEELLEFT
},
{
"Mouse Wheel Right"
,
KEY_MOUSEWHEELRIGHT
},
...
...
src/video_output/event.h
View file @
fc2fa18e
...
...
@@ -72,8 +72,7 @@ static inline void vout_SendEventMousePressed(vout_thread_t *vout, int button)
}
case
MOUSE_BUTTON_CENTER
:
var_ToggleBool
(
vout
->
p_libvlc
,
"intf-toggle-fscontrol"
);
key
=
KEY_MOUSEBUTTON_MID
;
break
;
return
;
case
MOUSE_BUTTON_RIGHT
:
var_SetBool
(
vout
->
p_libvlc
,
"intf-popupmenu"
,
true
);
return
;
...
...
@@ -81,8 +80,6 @@ static inline void vout_SendEventMousePressed(vout_thread_t *vout, int button)
case
MOUSE_BUTTON_WHEEL_DOWN
:
key
=
KEY_MOUSEWHEELDOWN
;
break
;
case
MOUSE_BUTTON_WHEEL_LEFT
:
key
=
KEY_MOUSEWHEELLEFT
;
break
;
case
MOUSE_BUTTON_WHEEL_RIGHT
:
key
=
KEY_MOUSEWHEELRIGHT
;
break
;
case
MOUSE_BUTTON_X1
:
key
=
KEY_MOUSEBUTTON_X1
;
break
;
case
MOUSE_BUTTON_X2
:
key
=
KEY_MOUSEBUTTON_X2
;
break
;
}
vout_SendEventKey
(
vout
,
key
);
}
...
...
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