Skip to content

Commit a1e5702

Browse files
committed
Mention Linux framebuffer mode in README.md
1 parent 0fcfda8 commit a1e5702

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,28 @@ Build the library and demo program.
7171
$ make
7272
```
7373

74-
Run sample `Mado` program:
74+
`Mado` supports SDL or Linux framebuffer as backends. The basic usage is given as:
75+
7576
```shell
76-
$ ./demo-sdl
77+
$ ./demo -b backend [-p fb-path]
78+
```
79+
80+
For example, to run `Mado` with SDL as backend:
81+
82+
```
83+
$ ./demo -b sdl
7784
```
7885

7986
Once the window appears, you should be able to move the windows and interact with the widgets.
8087

88+
To run `Mado` with Linux framebuffer as backend, type:
89+
90+
```
91+
$ ./demo -b fb -p /dev/fb0
92+
```
93+
94+
Note that the user may require to execute `Mado` with `sudo` command with Linux framebuffer mode.
95+
8196
## License
8297

8398
`Mado` is available under a MIT-style license, permitting liberal commercial use.

0 commit comments

Comments
 (0)