replaced int codes with a string so other users can modify easily (key codes for F-keys and PGUP etc)