projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51ae4a1
)
quick-guide: fix xkb_state_key_get_syms() example
author
Ran Benita
<ran234@gmail.com>
Sat, 20 Sep 2014 21:59:11 +0000
(
00:59
+0300)
committer
Ran Benita
<ran234@gmail.com>
Sat, 20 Sep 2014 21:59:11 +0000
(
00:59
+0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
doc/quick-guide.md
patch
|
blob
|
history
diff --git
a/doc/quick-guide.md
b/doc/quick-guide.md
index
92f937c
..
a8634fd
100644
(file)
--- a/
doc/quick-guide.md
+++ b/
doc/quick-guide.md
@@
-138,7
+138,7
@@
single event can result in multiple keysyms. Here's how to use it:
const xkb_keysym_t *keysyms;
int num_keysyms;
- num_keysyms = xkb_state_key_get_syms(state, keycode);
+ num_keysyms = xkb_state_key_get_syms(state, keycode
, &keysyms
);
~~~
We can also get a UTF-8 string representation for this key: