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
074f7be5
Commit
074f7be5
authored
Oct 26, 2003
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/video_output/x11/xcommon.c:
* report F1 to F12 keys
parent
42ffb818
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
1 deletion
+38
-1
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+38
-1
No files found.
modules/video_output/x11/xcommon.c
View file @
074f7be5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* xcommon.c: Functions common to the X11 and XVideo plugins
* xcommon.c: Functions common to the X11 and XVideo plugins
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* Copyright (C) 1998-2001 VideoLAN
* $Id: xcommon.c,v 1.3
5 2003/10/26 17:50:23 gbazin
Exp $
* $Id: xcommon.c,v 1.3
6 2003/10/26 23:03:47 sigmunau
Exp $
*
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -525,6 +525,43 @@ static int ManageVideo( vout_thread_t *p_vout )
...
@@ -525,6 +525,43 @@ static int ManageVideo( vout_thread_t *p_vout )
xevent
.
xkey
.
keycode
,
0
);
xevent
.
xkey
.
keycode
,
0
);
switch
(
(
int
)
x_key_symbol
)
switch
(
(
int
)
x_key_symbol
)
{
{
case
XK_F1
:
val
.
i_int
=
KEY_F1
;
break
;
case
XK_F2
:
val
.
i_int
=
KEY_F2
;
break
;
case
XK_F3
:
val
.
i_int
=
KEY_F3
;
break
;
case
XK_F4
:
val
.
i_int
=
KEY_F4
;
break
;
case
XK_F5
:
val
.
i_int
=
KEY_F5
;
break
;
case
XK_F6
:
val
.
i_int
=
KEY_F6
;
break
;
case
XK_F7
:
val
.
i_int
=
KEY_F7
;
break
;
case
XK_F8
:
val
.
i_int
=
KEY_F8
;
break
;
case
XK_F9
:
val
.
i_int
=
KEY_F9
;
break
;
case
XK_F10
:
val
.
i_int
=
KEY_F10
;
break
;
case
XK_F11
:
val
.
i_int
=
KEY_F11
;
break
;
case
XK_F12
:
val
.
i_int
=
KEY_F12
;
break
;
case
XK_Return
:
case
XK_Return
:
case
XK_KP_Enter
:
case
XK_KP_Enter
:
val
.
i_int
=
KEY_ENTER
;
val
.
i_int
=
KEY_ENTER
;
...
...
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