We need to be careful about data types here so when we port to a 64-bit arch we don't have a lot to cleanup.  That said, `keyCode` should be a `SHORT` as defined by Windows.