The Dink Network

Keycodes

Description
A list of the keycodes used for accessing non-normal keyboard keys.
Released:January 1st, 1990
File Size:0.00 KB
Release Notes:v1.00
Download Now
May 11th, 2011
v1.00
Score : 7.0 good
spike.gif
scratcher
Bard Male Finland bloop
cigarette bonca 
This is a list of the key-### codes that are used to make scripts correspond with a certain keyboard button. The info can be gleaned by playing Dink with debug mode turned on, but having it all laid out in a simple text file is much convenient.

Unfortunately the file includes only part of all keycodes that exist in the game. The main buttons like Control, Space, Alt, etc. are missing, as are any more exotic buttons that aren't found on a basic US keyboard. For that matter, some of the symbol keys are actually different on different keyboard layouts, a fact an author needs to be aware of as using such keys could mean the buttons are nigh unusable for people with different keyboard layouts in different countries.

Furthermore, at the time of this writing, some keycodes connect to different keys in FreeDink than in regular v108... This is a file that would really benefit from being a tutorial as much as a listing, but the most notable flaw remains the fact that the list is incomplete.

Nonetheless, Keycodes is a very handy summary to have around if you plan on adding new buttons into a dmod.