quick-guide: fix Java-esque array syntax
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
d8a4f52cb9
commit
51ae4a172a
|
@ -123,7 +123,7 @@ from it. Given a keycode for a key, we can get its keysym:
|
||||||
We can see which keysym we got, and get its name:
|
We can see which keysym we got, and get its name:
|
||||||
|
|
||||||
~~~{.c}
|
~~~{.c}
|
||||||
char[64] keysym_name;
|
char keysym_name[64];
|
||||||
|
|
||||||
if (keysym == XKB_KEY_Space)
|
if (keysym == XKB_KEY_Space)
|
||||||
<got a space>
|
<got a space>
|
||||||
|
|
Loading…
Reference in New Issue