summaryrefslogtreecommitdiff
path: root/apps/examples/nx/nx_main.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 /apps/examples/nx/nx_main.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 'apps/examples/nx/nx_main.c')
-rw-r--r--apps/examples/nx/nx_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/nx/nx_main.c b/apps/examples/nx/nx_main.c
index 7bfd19732..17e70e205 100644
--- a/apps/examples/nx/nx_main.c
+++ b/apps/examples/nx/nx_main.c
@@ -141,7 +141,7 @@ nxgl_mxpixel_t g_tbcolor[CONFIG_NX_NPLANES];
* Name: nxeg_drivemouse
****************************************************************************/
-#ifdef CONFIG_NX_MOUSE
+#ifdef CONFIG_NX_XYINPUT
static void nxeg_drivemouse(void)
{
nxgl_coord_t x;
@@ -825,7 +825,7 @@ int nx_main(int argc, char *argv[])
/* Put mouse left-button clicks all over the screen and see who responds */
-#ifdef CONFIG_NX_MOUSE
+#ifdef CONFIG_NX_XYINPUT
nxeg_drivemouse();
/* Sleep a bit */
@@ -862,7 +862,7 @@ int nx_main(int argc, char *argv[])
/* Put mouse left-button clicks all over the screen and see who responds */
-#ifdef CONFIG_NX_MOUSE
+#ifdef CONFIG_NX_XYINPUT
nxeg_drivemouse();
#endif