Updated lcd.c:

* Now supports multiple input sources
* Further compartmentalized
* Added function to list drivers in nice format (for help screen)
* More bulletproofing
This commit is contained in:
ddouthitt
2001-09-26 20:09:32 +00:00
parent f4df93d8e7
commit 9e3b973905
2 changed files with 38 additions and 6 deletions
+4
View File
@@ -11,6 +11,7 @@
#define LCD_STD_CELL_WIDTH 5
#define LCD_STD_CELL_HEIGHT 8
void lcd_list_drivers (void);
int lcd_init (char *args);
int lcd_add_driver (char *driver, char *args);
int lcd_shutdown ();
@@ -29,6 +30,9 @@ typedef struct lcd_logical_driver {
// Frame buffer...
char *framebuf;
// Daemonizable? Usually yes...
int daemonize;
// Pointer to next input function...
//lcd_logical_driver *nextkey;
void *nextkey;