From 023c1ae731270c572e9653004f3ff637b1d3011f Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Mon, 3 Dec 2007 19:30:22 +0000 Subject: Add curses driver and show device in dropdown --- packages/lcdproc/lcdproc.inc | 24 ++++++++++++++++++++++++ packages/lcdproc/lcdproc.xml | 6 +++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/packages/lcdproc/lcdproc.inc b/packages/lcdproc/lcdproc.inc index b8db64d0..bd6c83e1 100644 --- a/packages/lcdproc/lcdproc.inc +++ b/packages/lcdproc/lcdproc.inc @@ -180,10 +180,34 @@ $config_text .= "NewFirmware=yes\n"; $config_text .= "Reboot=yes\n"; break; + case "curses": + $config_text .= "[{$lcdproc_config[driver]}]\n"; + $config_text .= "Foreground=blue\n"; + $config_text .= "Background=cyan\n"; + $config_text .= "Backlight=red\n"; + $config_text .= "Size=16x4\n"; + $config_text .= "TopLeftX=7\n"; + $config_text .= "TopLeftY=7\n"; + $config_text .= "UseACS=no\n"; + break; + case "CwLynx": + $config_text .= "[{$lcdproc_config[driver]}]\n"; + $config_text .= "Model=12232\n"; + $config_text .= "Device={$realport}\n"; + $config_text .= "Size=20x4\n"; + $config_text .= "Speed=19200\n"; + $config_text .= "Reboot=no\n"; + break; case "pyramid": $config_text .= "[{$lcdproc_config[driver]}]\n"; $config_text .= "Device={$realport}\n"; break; + case "ea65": + $config_text .= "[{$lcdproc_config[driver]}]\n"; + $config_text .= "Device={$realport}\n"; + $config_text .= "OffBrightness=0\n"; + $config_text .= "Brightness=500\n"; + break; default: lcdproc_warn("The chosen lcdproc driver is not a valid choice"); unset($lcdproc_config[driver]); diff --git a/packages/lcdproc/lcdproc.xml b/packages/lcdproc/lcdproc.xml index 4066c5b2..90ec1ff2 100644 --- a/packages/lcdproc/lcdproc.xml +++ b/packages/lcdproc/lcdproc.xml @@ -46,15 +46,15 @@ 0 -- cgit v1.2.3