mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-23 20:21:58 +00:00
README: Minor polish and clarifications
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
acb6d82ccf
commit
57a7bbe1b0
1 file changed
+6
-5
@@ -201,7 +201,8 @@ an example of this.
|
|||||||
Using -luev
|
Using -luev
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
LibuEv is by default installed as a library with a single include file.
|
LibuEv is by default installed as a library with a few header files, you
|
||||||
|
should only ever need to include one:
|
||||||
|
|
||||||
#include <uev/uev.h>
|
#include <uev/uev.h>
|
||||||
|
|
||||||
@@ -210,15 +211,15 @@ The output from the `pkg-config` tool holds no surprises:
|
|||||||
$ pkg-config --libs --static --cflags libuev
|
$ pkg-config --libs --static --cflags libuev
|
||||||
-I/usr/local/include -L/usr/local/lib -luev
|
-I/usr/local/include -L/usr/local/lib -luev
|
||||||
|
|
||||||
The prefix path `/usr/local/` used here is only the default. Use the
|
The prefix path `/usr/local/` shown here is only the default. Use the
|
||||||
`configure` script to select a different path when installing libuEv.
|
`configure` script to select a different prefix when installing libuEv.
|
||||||
|
|
||||||
|
|
||||||
Joystick Example
|
Joystick Example
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
Here follows a very brief example to illustrate how one can use
|
Here follows a very brief example to illustrate how one can use libuEv
|
||||||
[libuEv][] to act upon joystick input.
|
to act upon joystick input.
|
||||||
|
|
||||||
```C
|
```C
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user