Key Codes Reference Spreadsheet - ASCII, QT, X11, Etc.

  • report
    Disclaimer
    Click for Disclaimer
    This post is over a year old (first published about 7 years ago). As such, please keep in mind that some of the information may no longer be accurate, best practice, or a reflection of how I would approach the same thing today.
  • infoFull Mini-Tool Details
    info_outlineClick for Full Mini-Tool Details
    Date Created:
    2/13/2019
    Last Updated:
    4/4/2019
  • classTags
    classClick for Tags

Links:


I've just started working on a project that involves keypresses and character codes, and just skimming the surface of what it entails, I can tell this is going to be a headache to implement. From a cursory glance, it seems like a lot of this information is spread out all over the place, from OS to OS, to framework to framework.

I'm trying to use this post as a way to compile some of the more crucial information, mostly for myself, but I also thought others might find it useful as well.


Update 4/3/2019 - Added Mac Keycodes to master Google Sheet. Mac/OSX uses CGKeyCode provided through the macOS SDK.