diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-30 17:01:51 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-30 17:01:51 -0600 |
commit | d2844edf44290bceada76c5dc0092987a59c18bc (patch) | |
tree | a615f09788f294e36b8aa7ed84ed2bf39c2d6ef5 /NxWidgets/Kconfig | |
parent | 4a9bf5ea04ed5a843e2b029cc65a1d11d19f4bf4 (diff) | |
download | nuttx-d2844edf44290bceada76c5dc0092987a59c18bc.tar.gz nuttx-d2844edf44290bceada76c5dc0092987a59c18bc.tar.bz2 nuttx-d2844edf44290bceada76c5dc0092987a59c18bc.zip |
dd support for a USB keyboard as the NxConsole and text widget input. Not fully functional as of this initial check-in. Basic functionality is there, but there are conditions were the keyboard gets lost.
Diffstat (limited to 'NxWidgets/Kconfig')
-rw-r--r-- | NxWidgets/Kconfig | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/NxWidgets/Kconfig b/NxWidgets/Kconfig index 52aa90da1..3ee3bd123 100644 --- a/NxWidgets/Kconfig +++ b/NxWidgets/Kconfig @@ -855,13 +855,24 @@ config NXWM_KEYBOARD_DEVPATH string "Keyboard Device Path" default "/dev/console" ---help--- - The full path to the touchscreen device. Default: "/dev/console" + The full path to the keyboard device. Default: "/dev/console" + +config NXWM_KEYBOARD_USBHOST + bool "USB Keyboard Device" + default n + ---help--- + This setting indicates that NXWM_KEYBOARD_DEVPATH is a USB keyboard. + A USB Keyboard is a removable device. When it is inserted, then + device at NXWM_KEYBOARD_DEVPATH will appear; when it removed, + keyboard reads will fail and the device at NXWM_KEYBOARD_DEVPATH + will disappear. Selecting this option builds addtional logic into + the keyboard listener thread in order to handle this case. config NXWM_KEYBOARD_SIGNO int "Keyboard Task Signal Number" default 6 ---help--- - The realtime signal used to wake up the touchscreen listener thread. + The realtime signal used to wake up the keyboard listener thread. Default: 6 config NXWM_KEYBOARD_BUFSIZE @@ -874,10 +885,10 @@ config NXWM_KEYBOARD_LISTENERPRIO int "Keyboard Listener Task Priority" default 120 ---help--- - Priority of the touchscreen listener thread.This listener should - have a higher priority than most display-related tsks otherwise it - may miss touchscreen events (not really very likely because keyboard - input is relatively slow). Default: 120 + Priority of the keyboard listener thread. This listener should + have a higher priority than most display-related tasks otherwise it + may miss keyboard input (not really very likely because keyboard + input is relatively slow). Default: 120 config NXWM_KEYBOARD_LISTENERSTACK int "Keyboard Listener Task Stack Size" |