The information above is correct.
However...
You probably do not want to do that for Robotron. If you do, you will have to move the right stick to a diagonal (up and right) to go UP.
P1_JOYSTICKRIGHT_UP is the retting for UP on the righthand stick. It is NOT the setting for the Right Up diagonal direction.
Robotron should be setup like this:
P1_JOYSTICKLEFT_UP "KEYCODE_UP"
P1_JOYSTICKLEFT_DOWN "KEYCODE_DOWN"
P1_JOYSTICKLEFT_LEFT "KEYCODE_LEFT"
P1_JOYSTICKLEFT_RIGHT "KEYCODE_RIGHT"
P1_JOYSTICKRIGHT_UP "KEYCODE_R"
P1_JOYSTICKRIGHT_DOWN "KEYCODE_F"
P1_JOYSTICKRIGHT_LEFT "KEYCODE_D"
P1_JOYSTICKRIGHT_RIGHT "KEYCODE_G"
This setup works for Robotron, Crazy Climber, Black Widow, Battle Zone and other 1 player dual joystick games.