summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxsu/nx_open.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-16 16:31:31 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-16 16:31:31 -0600
commit72754295cabf0096cbc6f2ec693f1e5e362d8c56 (patch)
treed541af4e4c2a1ba416aa775623d658d926b282b8 /nuttx/graphics/nxsu/nx_open.c
parent80ea5737ca7bbdb33ba3ccf37a7c919338876222 (diff)
downloadpx4-nuttx-72754295cabf0096cbc6f2ec693f1e5e362d8c56.tar.gz
px4-nuttx-72754295cabf0096cbc6f2ec693f1e5e362d8c56.tar.bz2
px4-nuttx-72754295cabf0096cbc6f2ec693f1e5e362d8c56.zip
Rename CONFIG_NX_MOUSE to CONFIG_NX_INPUT, then add CONFIG_NX_XYINPUT_MOUSE and CONFIG_XYINPUT_TOUCHSCREEN
Diffstat (limited to 'nuttx/graphics/nxsu/nx_open.c')
-rw-r--r--nuttx/graphics/nxsu/nx_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/graphics/nxsu/nx_open.c b/nuttx/graphics/nxsu/nx_open.c
index a8956d8af..0de1159ae 100644
--- a/nuttx/graphics/nxsu/nx_open.c
+++ b/nuttx/graphics/nxsu/nx_open.c
@@ -78,7 +78,7 @@ const struct nx_callback_s g_bkgdcb =
{
nxsu_bkgdredraw, /* redraw */
NULL /* position */
-#ifdef CONFIG_NX_MOUSE
+#ifdef CONFIG_NX_XYINPUT
, NULL /* mousein */
#endif
#ifdef CONFIG_NX_KBD
@@ -153,7 +153,7 @@ static inline int nxsu_setup(FAR NX_DRIVERTYPE *dev,
/* Initialize the mouse position */
-#ifdef CONFIG_NX_MOUSE
+#ifdef CONFIG_NX_XYINPUT
nxsu_mouseinit(fe->be.vinfo.xres, fe->be.vinfo.yres);
#endif
return OK;