When it comes to the PC port of FFVIII, I imagine that there's only two views to take of the train mission. Either its creator was a kind soul for giving you plenty of time, or your mind might flash to Robin Williams' line in Mrs. Doubtfire about the masochistic bastard who invented high heels, and picturing some game porter with a set of nine inch heels jammed up their butt.
My simple solution to the translation problem:
numeric code -> on screen key map -> actual controller map
Is to configure the game's keyboard settings to use 1, 2, 3, 4 for the specified actions. Taking advantage of the fact that the game basically requires the same number of buttons the original GameBoy worked with.
While the button miss-ordering is apparently a known issue with the port, I rather hope that the U.S. PlayStation release didn't have a similar grumble to it, lol.