Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Window application listens for NX server events by calling nx_eventhandler() (libs/libnx/nx_eventhandler) on another listener thread.  If the window has focus when the key press is entered, nx_eventhandler()will forward the key press information to the registered window even event handler.

In apps/examples/nxterm, nxterm_listener.c is the thread that driversdrives nx_eventhandler(). The "normal" window NX keyboard callback is the function nxwndo_kbdin() in nxterm_wndo.c. It   That callback function just writes the keyboard data to stdout.

...