====== GLCD2USB driver ====== This driver supports GLCD2USB, a DIY USB interface for monochrome graphic displays by Till Harbaum. See the [[http://www.harbaum.org/till/glcd2usb|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 [[:lcd4linux:widget_keypad|keypad widget]]. ---- ===== Display Section ===== Display { Driver 'GLCD2USB' Font Brightness } ---- ===== Parameters ===== |**Driver**|'GLCD2USB'| |**Font**|font size, specified as x, default is '6x8'| |**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 [[:lcd4linux:widget_keypad|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//. ----