diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-20 16:05:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-20 16:05:15 +0000 |
commit | c5ff7843f26438947da8fa0b0fc9b255aeb1d638 (patch) | |
tree | e65e63a60460b1d22feab6e360180c83bd51007e /nuttx/Documentation/NXGraphicsSubsystem.html | |
parent | 3e251944675bb1731344ff92e38043806c015a78 (diff) | |
download | px4-nuttx-c5ff7843f26438947da8fa0b0fc9b255aeb1d638.tar.gz px4-nuttx-c5ff7843f26438947da8fa0b0fc9b255aeb1d638.tar.bz2 px4-nuttx-c5ff7843f26438947da8fa0b0fc9b255aeb1d638.zip |
Add NX kbd input support to NxConsole
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4753 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NXGraphicsSubsystem.html')
-rw-r--r-- | nuttx/Documentation/NXGraphicsSubsystem.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nuttx/Documentation/NXGraphicsSubsystem.html b/nuttx/Documentation/NXGraphicsSubsystem.html index 2a6e88c9d..4408de6cf 100644 --- a/nuttx/Documentation/NXGraphicsSubsystem.html +++ b/nuttx/Documentation/NXGraphicsSubsystem.html @@ -3358,10 +3358,17 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height, <h2>B.7 <a name="nxconsoleconfig">NxConsole Configuration Settings</a></h2> +<p>General NxConsole settings.</p> <ul> <dl> <dt><code>CONFIG_NXCONSOLE</code>: <dd>Enables building of the NxConsole driver. + </dl> +</ul> + +<p>NxConsole output text/graphics options:</p> +<ul> + <dl> <dt><code>CONFIG_NXCONSOLE_BPP</code>: <dd>Currently, NxConsole supports only a single pixel depth. This configuration setting must be provided to support that single pixel depth. @@ -3399,6 +3406,23 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height, </dl> </ul> +<p>NxConsole input options:</p> +<ul> + <dl> + <dt><code>CONFIG_NXCONSOLE_NXKBDIN</code>: + <dd>Take input from the NX keyboard input callback. + By default, keyboard input is taken from stdin (<code>/dev/console</code>). + If this option is set, then the interface<code>nxcon_kdbin()</code> is enabled. + That interface may be driven by window callback functions so that keyboard input <i>only</i> goes to the top window. + <dt><code>CONFIG__NXCONSOLE_KBDBUFSIZE</code>: + <dd>If <code>CONFIG_NXCONSOLE_NXKBDIN</code> is enabled, then this value may be used to + define the size of the per-window keyboar input buffer. Default: 16 + <dt><code>CONFIG_NXCONSOLE_NPOLLWAITERS</code>: + <dd>The number of threads that can be waiting for read data available. + Default: 4 + </dl> +</ul> + <table width ="100%"> <tr bgcolor="#e4e4e4"> <td> |