diff options
-rw-r--r-- | drv_GLCD2USB.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drv_GLCD2USB.c b/drv_GLCD2USB.c index 2504800..10dc06b 100644 --- a/drv_GLCD2USB.c +++ b/drv_GLCD2USB.c @@ -1,3 +1,4 @@ + /* $Id$ * $URL$ * @@ -596,6 +597,10 @@ int drv_GLCD2USB_init(const char *section, const __attribute__ ((unused)) if ((ret = drv_generic_graphic_init(section, Name)) != 0) return ret; + /* initialize generic key pad driver */ + if ((ret = drv_generic_keypad_init(section, Name)) != 0) + return ret; + /* register plugins */ AddFunction("LCD::brightness", 1, plugin_brightness); @@ -612,6 +617,8 @@ int drv_GLCD2USB_quit(const __attribute__ ((unused)) info("%s: shutting down.", Name); drv_generic_graphic_quit(); + drv_generic_keypad_quit(); + /* release access to display */ buffer.bytes[0] = GLCD2USB_RID_SET_ALLOC; |