summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/src/cnxconsole.cxx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-30 17:01:51 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-30 17:01:51 -0600
commitd2844edf44290bceada76c5dc0092987a59c18bc (patch)
treea615f09788f294e36b8aa7ed84ed2bf39c2d6ef5 /NxWidgets/nxwm/src/cnxconsole.cxx
parent4a9bf5ea04ed5a843e2b029cc65a1d11d19f4bf4 (diff)
downloadnuttx-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/nxwm/src/cnxconsole.cxx')
-rw-r--r--NxWidgets/nxwm/src/cnxconsole.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/NxWidgets/nxwm/src/cnxconsole.cxx b/NxWidgets/nxwm/src/cnxconsole.cxx
index e78e91631..d9bab9cfd 100644
--- a/NxWidgets/nxwm/src/cnxconsole.cxx
+++ b/NxWidgets/nxwm/src/cnxconsole.cxx
@@ -1,7 +1,7 @@
/********************************************************************************************
* NxWidgets/nxwm/src/cnxconsole.cxx
*
- * Copyright (C) 2012 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2012. 2104 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -60,6 +60,11 @@
/********************************************************************************************
* Pre-Processor Definitions
********************************************************************************************/
+/* Configuration ****************************************************************************/
+
+#ifdef CONFIG_NSH_USBKBD
+# warning You probably do not really want CONFIG_NSH_USBKBD, try CONFIG_NXWM_KEYBOARD_USBHOST
+#endif
/********************************************************************************************
* Private Types