You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/05 08:05:44 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #4881: libc: Update include/nuttx/input/x11_keysymdef.h to the latest version

xiaoxiang781216 commented on a change in pull request #4881:
URL: https://github.com/apache/incubator-nuttx/pull/4881#discussion_r778614713



##########
File path: drivers/video/vnc/vnc_keymap.c
##########
@@ -29,13 +29,8 @@
 #include <errno.h>
 
 #include <nuttx/ascii.h>
-
-#define XK_MISCELLANY 1 /* Select X11 character set */
-#define XK_LATIN1     1
-#define XK_XKB_KEYS   1
-
 #include <nuttx/video/vnc.h>
-#include <nuttx/input/x11_keysymdef.h>
+#include <nuttx/input/x11_keysym.h>

Review comment:
       Here is our plan:
   
   1. Update x11 keysym to the latest version
   2. Switch the internal encoding in nuttx/input/kbd_codec.h to x11
   3. Remove vnc_keymap.c from the code base
   4. Implement sim keyboard on top of PC x11
   5. Modify the related component to the new encoding
   
   Since x11 keysym is widely used on many POSIX environment, it make the integration with the high level graphic stack more smooth.
   
   > is it intentional to enable more groups for vnc? if yes, can you mention it in the commit message?
   
   Done.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org