summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxtk/nxtk_events.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-04 03:19:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-04 03:19:59 +0000
commit01fab0c78eeef5461a896847f05caec51d26050f (patch)
tree1a500c7a38318a2d9ee6b40655863d4726c1f2f8 /nuttx/graphics/nxtk/nxtk_events.c
parent6f348a7102c32164dd7fcc9008bdbd8a810fc5b7 (diff)
downloadpx4-nuttx-01fab0c78eeef5461a896847f05caec51d26050f.tar.gz
px4-nuttx-01fab0c78eeef5461a896847f05caec51d26050f.tar.bz2
px4-nuttx-01fab0c78eeef5461a896847f05caec51d26050f.zip
Enable keypad input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1411 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxtk/nxtk_events.c')
-rw-r--r--nuttx/graphics/nxtk/nxtk_events.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/graphics/nxtk/nxtk_events.c b/nuttx/graphics/nxtk/nxtk_events.c
index 1832eda75..52323a751 100644
--- a/nuttx/graphics/nxtk/nxtk_events.c
+++ b/nuttx/graphics/nxtk/nxtk_events.c
@@ -72,7 +72,7 @@ static void nxtk_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos,
ubyte buttons, FAR void *arg);
#endif
#ifdef CONFIG_NX_KBD
-static void nxtk_kbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch);
+static void nxtk_kbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch, FAR void *arg);
#endif
/****************************************************************************
@@ -91,7 +91,7 @@ const struct nx_callback_s g_nxtkcb =
, nxtk_mousein /* mousein */
#endif
#ifdef CONFIG_NX_KBD
- , nxtk_kbdin1 /* kbdin */
+ , nxtk_kbdin /* kbdin */
#endif
};
@@ -252,7 +252,7 @@ static void nxtk_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos,
****************************************************************************/
#ifdef CONFIG_NX_KBD
-static void nxtk_kbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch)
+static void nxtk_kbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch, FAR void *arg)
{
FAR struct nxtk_framedwindow_s *fwnd = (FAR struct nxtk_framedwindow_s *)hwnd;
@@ -260,7 +260,7 @@ static void nxtk_kbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch)
if (fwnd->fwcb->kbdin)
{
- fwnd->fwcb->kbdin((NXTKWINDOW)fwnd, nch, ch);
+ fwnd->fwcb->kbdin((NXTKWINDOW)fwnd, nch, ch, fwnd->fwarg);
}
}
#endif