My brother used one of these in a FPS type game and used a key mapping software to imitate the arrows used for looking around.
Have you tried enabling the game controller in the Launcher before starting?
Once the mouse is initialized, you can then try setting up the functions in the Trainz settings (within the actual Trainz program) for the various controls including mouse and camera movement.