Lower the joystick threshold default to 40% to guarantee 50% on circular diagonals.

Ideally, this should be sqrt(2) - 1, but users would likely wonder about a value of 41 or 42.
This commit is contained in:
Brandon Wright 2010-10-20 20:55:59 -05:00
parent a6562ef3ae
commit 63b355430d
2 changed files with 1 additions and 3 deletions

View File

@ -104,7 +104,7 @@ Snes9xConfig::Snes9xConfig (void)
{
#ifdef USE_JOYSTICK
joystick = NULL;
joystick_threshold = 50;
joystick_threshold = 40;
#endif
#ifdef USE_OPENGL

View File

@ -504,10 +504,8 @@ event_about_clicked (GtkButton *widget, gpointer data)
top_level->splash);
monospace = pango_font_description_from_string ("Monospace 7");
gtk_widget_modify_font (about_dialog->get_widget ("about_text_view"),
monospace);
pango_font_description_free (monospace);
gtk_window_set_transient_for (about_dialog->get_window (),