From 8c194ec17b4fc4810bde451e803d9cb29db28e59 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 14 May 2012 20:46:47 +0000 Subject: NxWM: Calibration is now done on a separate thread; Change mechanism for reporting calibration data; add method to determine if the application is full-screen git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4736 42af7a65-404d-4744-a932-0658087f49c3 --- NxWidgets/nxwm/include/nxwmconfig.hxx | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'NxWidgets/nxwm/include/nxwmconfig.hxx') diff --git a/NxWidgets/nxwm/include/nxwmconfig.hxx b/NxWidgets/nxwm/include/nxwmconfig.hxx index 359f7d095..88c2ea8db 100644 --- a/NxWidgets/nxwm/include/nxwmconfig.hxx +++ b/NxWidgets/nxwm/include/nxwmconfig.hxx @@ -333,6 +333,10 @@ * Default: "/dev/input0" * CONFIG_NXWM_TOUCHSCREEN_SIGNO - The realtime signal used to wake up the * touchscreen listener thread. Default: 5 + * CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO - Priority of the touchscreen listener + * thread. Default: SCHED_PRIORITY_DEFAULT + * CONFIG_NXWM_TOUCHSCREEN_LISTENERSTACK - Touchscreen listener thread stack + * size. Default 2048 */ #ifndef CONFIG_NXWM_TOUCHSCREEN_DEVNO @@ -347,6 +351,14 @@ # define CONFIG_NXWM_TOUCHSCREEN_SIGNO 5 #endif +#ifndef CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO +# define CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO SCHED_PRIORITY_DEFAULT +#endif + +#ifndef CONFIG_NXWM_TOUCHSCREEN_LISTENERSTACK +# define CONFIG_NXWM_TOUCHSCREEN_LISTENERSTACK 2048 +#endif + /* Calibration display ******************************************************/ /** * Calibration display settings: @@ -363,6 +375,12 @@ * MKRGB(255, 255, 96) (very light yellow) * CONFIG_NXWM_CALIBRATION_ICON - The ICON to use for the touchscreen * calibration application. Default: NxWM::g_calibrationBitmap + * CONFIG_NXWM_CALIBRATION_SIGNO - The realtime signal used to wake up the + * touchscreen calibration thread. Default: 5 + * CONFIG_NXWM_CALIBRATION_LISTENERPRIO - Priority of the touchscreen listener + * thread. Default: SCHED_PRIORITY_DEFAULT + * CONFIG_NXWM_CALIBRATION_LISTENERSTACK - Touchscreen listener thread stack + * size. Default 2048 */ #ifndef CONFIG_NXWM_CALIBRATION_BACKGROUNDCOLOR @@ -385,6 +403,18 @@ # define CONFIG_NXWM_CALIBRATION_ICON NxWM::g_calibrationBitmap #endif +#ifndef CONFIG_NXWM_CALIBRATION_SIGNO +# define CONFIG_NXWM_CALIBRATION_SIGNO 5 +#endif + +#ifndef CONFIG_NXWM_CALIBRATION_LISTENERPRIO +# define CONFIG_NXWM_CALIBRATION_LISTENERPRIO SCHED_PRIORITY_DEFAULT +#endif + +#ifndef CONFIG_NXWM_CALIBRATION_LISTENERSTACK +# define CONFIG_NXWM_CALIBRATION_LISTENERSTACK 2048 +#endif + /**************************************************************************** * Global Function Prototypes ****************************************************************************/ -- cgit v1.2.3