diff options
Diffstat (limited to 'nuttx/libnx')
-rw-r--r-- | nuttx/libnx/nxmu/nx_eventhandler.c | 2 | ||||
-rw-r--r-- | nuttx/libnx/nxmu/nx_mousein.c | 4 | ||||
-rw-r--r-- | nuttx/libnx/nxtk/nxtk_events.c | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/libnx/nxmu/nx_eventhandler.c b/nuttx/libnx/nxmu/nx_eventhandler.c index 338f5de4e..e9ba2a39a 100644 --- a/nuttx/libnx/nxmu/nx_eventhandler.c +++ b/nuttx/libnx/nxmu/nx_eventhandler.c @@ -213,7 +213,7 @@ int nx_eventhandler(NXHANDLE handle) } break; -#ifdef CONFIG_NX_MOUSE +#ifdef CONFIG_NX_XYINPUT case NX_CLIMSG_MOUSEIN: { FAR struct nxclimsg_mousein_s *mouse = (FAR struct nxclimsg_mousein_s *)buffer; diff --git a/nuttx/libnx/nxmu/nx_mousein.c b/nuttx/libnx/nxmu/nx_mousein.c index 19ceb9cc2..ea10ca005 100644 --- a/nuttx/libnx/nxmu/nx_mousein.c +++ b/nuttx/libnx/nxmu/nx_mousein.c @@ -46,7 +46,7 @@ #include <nuttx/nx/nx.h> #include <nuttx/nx/nxmu.h> -#ifdef CONFIG_NX_MOUSE +#ifdef CONFIG_NX_XYINPUT /**************************************************************************** * Pre-Processor Definitions @@ -97,4 +97,4 @@ int nx_mousein(NXHANDLE handle, nxgl_coord_t x, nxgl_coord_t y, uint8_t buttons) return nxmu_sendserver(conn, &outmsg, sizeof(struct nxsvrmsg_mousein_s)); } -#endif /* CONFIG_NX_MOUSE */ +#endif /* CONFIG_NX_XYINPUT */ diff --git a/nuttx/libnx/nxtk/nxtk_events.c b/nuttx/libnx/nxtk/nxtk_events.c index 513bc98a8..d22d04aa8 100644 --- a/nuttx/libnx/nxtk/nxtk_events.c +++ b/nuttx/libnx/nxtk/nxtk_events.c @@ -68,7 +68,7 @@ static void nxtk_position(NXWINDOW hwnd, FAR const struct nxgl_size_s *size, FAR const struct nxgl_point_s *pos, FAR const struct nxgl_rect_s *bounds, FAR void *arg); -#ifdef CONFIG_NX_MOUSE +#ifdef CONFIG_NX_XYINPUT static void nxtk_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos, uint8_t buttons, FAR void *arg); #endif @@ -92,7 +92,7 @@ const struct nx_callback_s g_nxtkcb = { nxtk_redraw, /* redraw */ nxtk_position /* position */ -#ifdef CONFIG_NX_MOUSE +#ifdef CONFIG_NX_XYINPUT , nxtk_mousein /* mousein */ #endif #ifdef CONFIG_NX_KBD @@ -218,7 +218,7 @@ static void nxtk_position(NXWINDOW hwnd, FAR const struct nxgl_size_s *size, * Name: nxtk_mousein ****************************************************************************/ -#ifdef CONFIG_NX_MOUSE +#ifdef CONFIG_NX_XYINPUT static void nxtk_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos, uint8_t buttons, FAR void *arg) { |