summaryrefslogtreecommitdiff
path: root/NxWidgets/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/Kconfig')
-rw-r--r--NxWidgets/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/NxWidgets/Kconfig b/NxWidgets/Kconfig
index 8399e23c4..5f956df54 100644
--- a/NxWidgets/Kconfig
+++ b/NxWidgets/Kconfig
@@ -738,6 +738,22 @@ if NXWM_TOUCHSCREEN
comment "Touchscreen device settings"
+config NXWM_TOUCHSCREEN_DEVINIT
+ bool "Touchscreen Device Initialization"
+ default y
+ depends on !NUTTX_KERNEL
+ ---help---
+ It this option is selected, then the NxWM:CTouchscreen listener
+ thread will call a function arch_tcinitialize(NXWM_TOUCHSCREEN_DEVNO)
+ in order to instantiate the touchscreen driver at path
+ NXWM_TOUCHSCREEN_DEVPATH. If NXWM_TOUCHSCREEN_DEVINIT is not
+ selected, then the NxWM:CTouchscreen listener thread will assume
+ that the driver has already been initialized at
+ NXWM_TOUCHSCREEN_DEVPATH.
+
+ NOTE that in the kernel build, all touchscreen initialize must be
+ performed in kernel logic prior to the execution of NxWM.
+
config NXWM_TOUCHSCREEN_DEVNO
int "Touchscreen Device Number"
default 0