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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user