mirror of https://github.com/snes9xgit/snes9x.git
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:
parent
a6562ef3ae
commit
63b355430d
|
@ -104,7 +104,7 @@ Snes9xConfig::Snes9xConfig (void)
|
||||||
{
|
{
|
||||||
#ifdef USE_JOYSTICK
|
#ifdef USE_JOYSTICK
|
||||||
joystick = NULL;
|
joystick = NULL;
|
||||||
joystick_threshold = 50;
|
joystick_threshold = 40;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_OPENGL
|
#ifdef USE_OPENGL
|
||||||
|
|
|
@ -504,10 +504,8 @@ event_about_clicked (GtkButton *widget, gpointer data)
|
||||||
top_level->splash);
|
top_level->splash);
|
||||||
|
|
||||||
monospace = pango_font_description_from_string ("Monospace 7");
|
monospace = pango_font_description_from_string ("Monospace 7");
|
||||||
|
|
||||||
gtk_widget_modify_font (about_dialog->get_widget ("about_text_view"),
|
gtk_widget_modify_font (about_dialog->get_widget ("about_text_view"),
|
||||||
monospace);
|
monospace);
|
||||||
|
|
||||||
pango_font_description_free (monospace);
|
pango_font_description_free (monospace);
|
||||||
|
|
||||||
gtk_window_set_transient_for (about_dialog->get_window (),
|
gtk_window_set_transient_for (about_dialog->get_window (),
|
||||||
|
|
Loading…
Reference in New Issue