Line 286:
Line 286:
} //end of pool event
} //end of pool event
−
fontmap_printf( jaxis_which * (FONTMAP_SIZE * offset_x), FONTMAP_SIZE * (SDL_JoystickNumButtons(joysticks[jaxis_which]) + offset_y + 2), screen, "IR X %d IR Y %d", p1_x, p1_y);
+
fontmap_printf( jaxis_which * (FONTMAP_SIZE * offset_x), FONTMAP_SIZE * (SDL_JoystickNumButtons(joysticks[jaxis_which]) + offset_y), screen, "IR X %d IR Y %d", p1_x, p1_y);
−
fontmap_printf( jaxis_which * (FONTMAP_SIZE * offset_x), FONTMAP_SIZE * (SDL_JoystickNumButtons(joysticks[jaxis_which]) + offset_y), screen, "AXIS MOTION %d\nAXIS %d\nVALUE %.4d", jaxis_which, jaxis_axis, jaxis_value);
+
fontmap_printf( jaxis_which * (FONTMAP_SIZE * offset_x), FONTMAP_SIZE * (SDL_JoystickNumButtons(joysticks[jaxis_which]) + offset_y + 1), screen, "JOYAXISMOTION OF PAD %d\nAXIS %d\nVALUE %.4d", jaxis_which, jaxis_axis, jaxis_value);
// The hat report the Directional PAD status
// The hat report the Directional PAD status
Line 337:
Line 337:
y_move=SDL_JoystickGetAxis(joysticks[joy_number], 1);
y_move=SDL_JoystickGetAxis(joysticks[joy_number], 1);
−
fontmap_printf( joy_number * (FONTMAP_SIZE * offset_x), FONTMAP_SIZE * (SDL_JoystickNumButtons(joysticks[joy_number])+ offset_y + 1), screen, "X MOVE %d Y MOVE %d", x_move, y_move);
+
fontmap_printf( joy_number * (FONTMAP_SIZE * offset_x), FONTMAP_SIZE * (SDL_JoystickNumButtons(joysticks[joy_number])+ offset_y + 5), screen, "JOYSTICKGETAXIS\nX MOVE %d Y MOVE %d", x_move, y_move);
}
}