VNC: Add X11-to-NuttX character mapping

This commit is contained in:
Gregory Nutt
2016-04-14 16:19:04 -06:00
parent 2ec0ac6eaa
commit 38cc8355c2
5 changed files with 496 additions and 2 deletions
+21
View File
@@ -226,6 +226,27 @@ int vnc_session(FAR struct vnc_session_s *session);
FAR struct vnc_session_s *vnc_find_session(int display);
/****************************************************************************
* Name: vnc_key_map
*
* Description:
* Map the receive X11 keysym into something understood by NuttX and route
* that through NX to the appropriate window.
*
* Input Parameters:
* session - An instance of the session structure allocated by
* vnc_create_session().
* keysym - The X11 keysym value (see include/nuttx/inputx11_keysymdef)
* keydown - True: Key pressed; False: Key released
*
* Returned Value:
* None
*
****************************************************************************/
void vnc_key_map(FAR struct vnc_session_s *session, uint32_t keysym,
bool keydown);
#undef EXTERN
#ifdef __cplusplus
}