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

  • report
    Click for Disclaimer
    This Custom Built Tool is over a year old (first published about 5 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 Custom Built Tool Details
    info_outlineClick for Full Custom Built Tool Details
    Date Posted:
    Feb. 13, 2019
    Last Updated:
    Apr. 03, 2019
  • classTags
    classClick for Tags


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.


Leave a Reply

Your email address will not be published.