diff options
author | harbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-05-06 18:21:47 +0000 |
---|---|---|
committer | harbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-05-06 18:21:47 +0000 |
commit | 7fc8ef21bd019295cd73c9d805af727083dcc2be (patch) | |
tree | bc5be492416d6b5eb82ee5495fa1fdeb7ab010e8 | |
parent | f17287509f698f21f38ae047a306ddca3fc13140 (diff) | |
download | lcd4linux-7fc8ef21bd019295cd73c9d805af727083dcc2be.tar.gz |
Fixed keypad widget in GLCD2USB
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1144 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-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; |