summaryrefslogtreecommitdiff
path: root/docs/DRIVER.framebuffer
blob: ec1c65e6e35bbd8e19e4f1d72b744cc76fee161b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---------------------------------------------------------------------
GraphLCD driver library

The Framebuffer driver
---------------------------------------------------------------------

Description
-----------
The Framebuffer driver writes the output to the framebuffer device at
/dev/fb0.

The driver is optimized for a 640x480x16 framebuffer. To use it, have
a kernel with a framebuffer device (e.g. vesa fb) and add e.g.
vga=0311 to the kernel init parameters (e.g. in lilo.conf).


Configuration Parameters
------------------------
The Framebuffer driver supports the following parameters in config
file:

Width
 Sets the horizontal size of the display. If this parameter is not
 given, a default value of 320 pixels is used.

Height
 Sets the vertical size of the display. If this parameter is not
 given, a default value of 240 pixels is used.

UpsideDown
 Rotates the display output by 180 degrees. This might be useful, if
 the LCD is mounted upside-down.
 Possible values: 'yes', 'no'
 Default value: 'no'

Invert
 Inverts the display.
 Possible values: 'yes', 'no'
 Default value: 'no'

Zoom
 Determines if pixels should be drawn double sized.
 Possible values: 0, 1