lcd4linux:driver_glcd2usb
Inhaltsverzeichnis
GLCD2USB driver
This driver supports GLCD2USB, a DIY USB interface for monochrome graphic displays by Till Harbaum. See the GLCD2USB homepage for the hardware.
The interface reports the resolution of the attached display itself, so there is no Size entry. It also has four buttons, which are available through the keypad widget.
Display Section
Display <name> {
Driver 'GLCD2USB'
Font <string>
Brightness <number>
}
Parameters
| Driver | 'GLCD2USB' |
| Font | font size, specified as <width>x<height>, default is '6×8' |
| Brightness | initial brightness of the backlight, 0..255 |
Plugins
The driver provides the following function:
| LCD::brightness(n) | set the brightness of the backlight to n (0..255) |
Keypad
The four buttons of the interface are mapped to these keys of the keypad widget:
| button 1 | left |
| button 2 | right |
| button 3 | confirm |
| button 4 | cancel |
The buttons are polled every 100 msec, press and release events are reported.
Example
This is the entry from lcd4linux.conf.sample:
Display GLCD2USB {
Driver 'GLCD2USB'
Brightness 255
}
Requirements
libusb (0.1) is needed. The driver is selected at build time with –with-drivers=GLCD2USB.
lcd4linux/driver_glcd2usb.txt · Zuletzt geändert: von 127.0.0.1
