mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-16 10:29:30 +00:00
README: More Markdown syntax fixes.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
fe04723353
commit
dd09c7c3a9
1 file changed
+4
-2
@@ -167,10 +167,11 @@ to `system()`, which sucks anyawy :)
|
||||
Example
|
||||
-------
|
||||
|
||||
Here follows a very brief example to illustrate how one can use [libuEv]
|
||||
to act upon joystick input.
|
||||
Here follows a very brief example to illustrate how one can use
|
||||
[libuEv][] to act upon joystick input.
|
||||
|
||||
```C
|
||||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
@@ -219,6 +220,7 @@ to act upon joystick input.
|
||||
|
||||
return uev_run(&ctx, 0);
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
To compile the program, save the code as `joystick.c` and call GCC with
|
||||
|
||||
Reference in new issue
Block a user