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
d9bf912e
Commit
d9bf912e
authored
Aug 20, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xcb: print X11 key symbol in debug
This eases matching of unknown keys.
parent
7f27aba7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/video_output/xcb/keys.c
modules/video_output/xcb/keys.c
+2
-1
No files found.
modules/video_output/xcb/keys.c
View file @
d9bf912e
...
...
@@ -131,7 +131,8 @@ int ProcessKeyEvent (key_handler_t *ctx, xcb_generic_event_t *ev)
xcb_keysym_t
sym
=
xcb_key_press_lookup_keysym
(
ctx
->
syms
,
e
,
0
);
uint_fast32_t
vk
=
ConvertKeySym
(
sym
);
msg_Dbg
(
ctx
->
obj
,
"key: 0x%08"
PRIxFAST32
,
vk
);
msg_Dbg
(
ctx
->
obj
,
"key: 0x%08"
PRIxFAST32
" (X11: 0x%04"
PRIx32
")"
,
vk
,
sym
);
if
(
vk
==
KEY_UNSET
)
break
;
if
(
e
->
state
&
XCB_MOD_MASK_SHIFT
)
...
...
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