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 driver 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]