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 pull request #154 from dwimsey/feature/deprecatedfix-XKeycodeToKeysym

Removes usage of deprecated XKeycodeToKeysym function in X11 example.