sort drivers alphabetically in acinclude.m4 & server/drivers/Makefile.am;
update server/drivers/wirz-sli.c to make it complile afgain and announce it in acinclude.m4; update info how to include a new driver to make the examples resemble the current driver situation more closely
This commit is contained in:
+11
-10
@@ -18,7 +18,7 @@ AM_LDFLAGS = @LDSHARED@
|
||||
LIBS =
|
||||
|
||||
pkglib_PROGRAMS = @DRIVERS@
|
||||
EXTRA_PROGRAMS = bayrad CFontz CFontz633 NoritakeVFD curses CwLnx glk hd44780 irman icp_a106 joy lb216 mtc_s16209x lcdm001 lcterm lirc MtxOrb pylcd sed1330 sed1520 stv5730 svga t6963 text tyan wirz_sli ms6931 IOWarrior glcdlib imon xosd
|
||||
EXTRA_PROGRAMS = bayrad CFontz CFontz633 curses CwLnx glcdlib glk hd44780 icp_a106 imon IOWarrior irman joy lb216 lcdm001 lcterm lirc ms6931 mtc_s16209x MtxOrb NoritakeVFD pylcd sed1330 sed1520 stv5730 svga t6963 text tyan wirz_sli xosd
|
||||
noinst_LIBRARIES = libLCD.a
|
||||
|
||||
IOWarrior_CFLAGS = @libusb_cflags@
|
||||
@@ -26,21 +26,21 @@ hd44780_CFLAGS = @libusb_cflags@
|
||||
|
||||
CFontz_LDADD = libLCD.a
|
||||
CFontz633_LDADD = libLCD.a
|
||||
NoritakeVFD_LDADD = libLCD.a
|
||||
curses_LDADD = @LIBCURSES@
|
||||
CwLnx_LDADD = libLCD.a
|
||||
CwLnx_SOURCES = lcd.h CwLnx.c CwLnx.h report.h
|
||||
glcdlib_LDADD = libLCD.a @LIBGLCD@
|
||||
hd44780_LDADD = libLCD.a @HD44780_DRIVERS@ @libusb_libs@
|
||||
hd44780_DEPENDENCIES = @HD44780_DRIVERS@
|
||||
icp_a106_LDADD = libLCD.a
|
||||
imon_LDADD = libLCD.a
|
||||
IOWarrior_LDADD = @libusb_libs@ libLCD.a
|
||||
irman_LDADD = @LIBIRMAN@
|
||||
lirc_LDADD = @LIBLIRC_CLIENT@
|
||||
lcterm_LDADD = libLCD.a
|
||||
NoritakeVFD_LDADD = libLCD.a
|
||||
svga_LDADD = @LIBSVGA@
|
||||
t6963_LDADD = libLCD.a
|
||||
glcdlib_LDADD = libLCD.a @LIBGLCD@
|
||||
imon_LDADD = libLCD.a
|
||||
xosd_LDADD = @LIBXOSD@
|
||||
|
||||
libLCD_a_SOURCES = lcd_lib.h lcd_lib.c
|
||||
@@ -48,22 +48,26 @@ libLCD_a_SOURCES = lcd_lib.h lcd_lib.c
|
||||
bayrad_SOURCES = lcd.h bayrad.h bayrad.c report.h
|
||||
CFontz_SOURCES = lcd.h CFontz.c CFontz.h CFontz-charmap.h report.h
|
||||
CFontz633_SOURCES = lcd.h CFontz633.c CFontz633.h CFontz-charmap.h CFontz633io.c CFontz633io.h report.h
|
||||
NoritakeVFD_SOURCES = lcd.h NoritakeVFD.c NoritakeVFD.h report.h
|
||||
curses_SOURCES = lcd.h curses_drv.h curses_drv.c report.h
|
||||
glcdlib_SOURCES = lcd.h glcdlib.h glcdlib.c report.h
|
||||
glk_SOURCES = lcd.h glk.c glk.h glkproto.c glkproto.h report.h
|
||||
hd44780_SOURCES = lcd.h hd44780.h hd44780.c hd44780-drivers.h hd44780-low.h hd44780-charmap.h report.h
|
||||
EXTRA_hd44780_SOURCES = hd44780-4bit.c hd44780-4bit.h hd44780-ext8bit.c hd44780-ext8bit.h lcd_sem.c lcd_sem.h hd44780-serialLpt.c hd44780-serialLpt.h hd44780-winamp.c hd44780-winamp.h hd44780-picanlcd.c hd44780-picanlcd.h hd44780-bwct-usb.c hd44780-bwct-usb.h hd44780-lcdserializer.c hd44780-lcdserializer.h hd44780-lis2.c hd44780-lis2.h port.h lpt-port.h timing.h
|
||||
|
||||
icp_a106_SOURCES = lcd.h icp_a106.c icp_a106.h report.h
|
||||
imon_SOURCES = lcd.h imon.h imon.c report.h
|
||||
IOWarrior_SOURCES = lcd.h lcd_lib.h hd44780-charmap.h IOWarrior.c IOWarrior.h report.h
|
||||
irman_SOURCES = lcd.h irmanin.c irmanin.h report.h
|
||||
joy_SOURCES = lcd.h joy.c joy.h port.h report.h
|
||||
lb216_SOURCES = lcd.h lb216.c lb216.h report.h
|
||||
mtc_s16209x_SOURCES = lcd.h mtc_s16209x.c mtc_s16209x.h report.h
|
||||
lcterm_SOURCES = lcd.h lcterm.c lcterm.h report.h
|
||||
lcdm001_SOURCES = lcd.h lcdm001.c lcdm001.h report.h
|
||||
lcterm_SOURCES = lcd.h lcterm.c lcterm.h report.h
|
||||
lirc_SOURCES = lcd.h lircin.c lircin.h report.h
|
||||
ms6931_SOURCES = lcd.h ms6931.h ms6931.c report.h
|
||||
mtc_s16209x_SOURCES = lcd.h mtc_s16209x.c mtc_s16209x.h report.h
|
||||
MtxOrb_SOURCES = lcd.h MtxOrb.c MtxOrb.h report.h bigfont.h
|
||||
NoritakeVFD_SOURCES = lcd.h NoritakeVFD.c NoritakeVFD.h report.h
|
||||
pylcd_SOURCES = lcd.h pylcd.c pylcd.h
|
||||
sed1330_SOURCES = lcd.h sed1330.h sed1330.c port.h lpt-port.h timing.h report.h
|
||||
sed1520_SOURCES = lcd.h sed1520.c sed1520.h sed1520fm.c sed1520fm.h port.h report.h
|
||||
stv5730_SOURCES = lcd.h stv5730.c stv5730.h report.h
|
||||
@@ -72,9 +76,6 @@ t6963_SOURCES = lcd.h t6963.c t6963.h t6963_font.h report.h
|
||||
text_SOURCES = lcd.h text.h text.c report.h
|
||||
tyan_SOURCES = lcd.h tyan_lcdm.h tyan_lcdm.c report.h
|
||||
wirz_sli_SOURCES = lcd.h wirz-sli.h wirz-sli.c report.h
|
||||
ms6931_SOURCES = lcd.h ms6931.h ms6931.c report.h
|
||||
glcdlib_SOURCES = lcd.h glcdlib.h glcdlib.c report.h
|
||||
imon_SOURCES = lcd.h imon.h imon.c report.h
|
||||
xosd_SOURCES = lcd.h xosdlib_drv.c xosdlib_drv.h report.h
|
||||
|
||||
INCLUDES = -I$(top_srcdir)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
//#include "drv_base.h"
|
||||
#include "report.h"
|
||||
|
||||
#include "shared/debug.h"
|
||||
//#include "shared/debug.h"
|
||||
#include "shared/str.h"
|
||||
|
||||
#define SLI_DEFAULT_DEVICE "/dev/lcd"
|
||||
@@ -57,7 +57,7 @@ sli_init (Driver *drvthis)
|
||||
struct termios portset;
|
||||
char out[2];
|
||||
|
||||
char device[256] = WIRZ_DEFAULT_DEVICE;
|
||||
char device[256] = SLI_DEFAULT_DEVICE;
|
||||
int speed = B19200;
|
||||
|
||||
/* Read config file */
|
||||
@@ -523,15 +523,15 @@ sli_icon (Driver *drvthis, int x, int y, int icon)
|
||||
custom = beat;
|
||||
switch( icon ) {
|
||||
case ICON_BLOCK_FILLED:
|
||||
CFontz_chr( drvthis, x, y, 255 );
|
||||
sli_chr( drvthis, x, y, 255 );
|
||||
break;
|
||||
case ICON_HEART_FILLED:
|
||||
CFontz_set_char( drvthis, 0, icons[1] );
|
||||
CFontz_chr( drvthis, x, y, 0 );
|
||||
sli_set_char( drvthis, 0, icons[1] );
|
||||
sli_chr( drvthis, x, y, 0 );
|
||||
break;
|
||||
case ICON_HEART_OPEN:
|
||||
CFontz_set_char( drvthis, 0, icons[0] );
|
||||
CFontz_chr( drvthis, x, y, 0 );
|
||||
sli_set_char( drvthis, 0, icons[0] );
|
||||
sli_chr( drvthis, x, y, 0 );
|
||||
break;
|
||||
default:
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user