Please rate this asset if you have it. Your feedback helps me improve. Thank you!
A simple utility to help you with getting the values GameMaker sees when a keyboard key is pressed.
Run the project, press a key on the keyboard. The keyboard's numeric code and character (if any) will be displayed.
Left-click the mouse to clear, or press a new key to get another value.
Bugfix: io_clear() after each keystroke is captured, so that when a key representing a non-printing character (eg., Insert, Delete, Esc, Page Up, Page Down, etc.) is pressed, the last character recorded in keyboard_lastchar will be blank as it should be.