Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Baptiste Kempf
VLC
Commits
074f7be5
Commit
074f7be5
authored
Oct 26, 2003
by
sigmunau
Browse files
modules/video_output/x11/xcommon.c:
* report F1 to F12 keys
parent
42ffb818
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/video_output/x11/xcommon.c
View file @
074f7be5
...
...
@@ -2,7 +2,7 @@
* xcommon.c: Functions common to the X11 and XVideo plugins
*****************************************************************************
* 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>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -525,6 +525,43 @@ static int ManageVideo( vout_thread_t *p_vout )
xevent
.
xkey
.
keycode
,
0
);
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_KP_Enter
:
val
.
i_int
=
KEY_ENTER
;
...
...
Write
Preview
Supports
Markdown
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