mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-02 07:03:07 +00:00
Update ChangeLog
This commit is contained in:
parent
a39743bbf3
commit
70db994200
14 changed files with 96 additions and 93 deletions
|
|
@ -45,7 +45,7 @@
|
|||
#include <debug.h>
|
||||
|
||||
#ifdef CONFIG_NXTERM_NXKBDIN
|
||||
# include <nuttx/nx/nxconsole.h>
|
||||
# include <nuttx/nx/nxterm.h>
|
||||
#endif
|
||||
|
||||
#include "cwidgetcontrol.hxx"
|
||||
|
|
@ -88,7 +88,7 @@ CCallback::CCallback(CWidgetControl *widgetControl)
|
|||
// Keyboard input is initially direct to the widgets within the window
|
||||
|
||||
#ifdef CONFIG_NXTERM_NXKBDIN
|
||||
m_nxconsole = (NXCONSOLE)0;
|
||||
m_nxterm = (NXTERM)0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -206,15 +206,15 @@ void CCallback::newKeyboardEvent(NXHANDLE hwnd, uint8_t nCh,
|
|||
CCallback *This = (CCallback *)arg;
|
||||
|
||||
// Is NX keyboard input being directed to the widgets within the window
|
||||
// (default) OR is NX keyboard input being re-directed to an NxConsole
|
||||
// (default) OR is NX keyboard input being re-directed to an NxTerm
|
||||
// driver?
|
||||
|
||||
#ifdef CONFIG_NXTERM_NXKBDIN
|
||||
if (This->m_nxconsole)
|
||||
if (This->m_nxterm)
|
||||
{
|
||||
// Keyboard input is going to an NxConsole
|
||||
// Keyboard input is going to an NxTerm
|
||||
|
||||
nxcon_kbdin(This->m_nxconsole, str, nCh);
|
||||
nxcon_kbdin(This->m_nxterm, str, nCh);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue