Fixed to remove usage of XKeycodeToKeysym which is deprecated and should not be used.  This version provides support for X11R5 and newer via XGetKeyboardMapping and for modern systems uses more efficient XkbKeycodeToKeysym if supported at compile time and available at runtime in the X server used for display.  This works in both physically connected frame buffers as well as virtual frame buffers such as VNC proxies.
Merge branch 'feature/deprecatedfix-XKeycodeToKeysym' into pr-request-made

* feature/deprecatedfix-XKeycodeToKeysym:
  Fixed to remove usage of XKeycodeToKeysym which is deprecated and should not be used.  This version provides support for X11R5 and newer via XGetKeyboardMapping and for modern systems uses more efficient XkbKeycodeToKeysym if supported at compile time and available at runtime in the X server used for display.  This works in both physically connected frame buffers as well as virtual frame buffers such as VNC proxies.