Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invert Y axis setting broken #75

Open
beaumartinez opened this issue Aug 2, 2019 · 0 comments
Open

Invert Y axis setting broken #75

beaumartinez opened this issue Aug 2, 2019 · 0 comments

Comments

@beaumartinez
Copy link

beaumartinez commented Aug 2, 2019

7403e25 had the unfortunate side effect of breaking the invert y axis setting. The patch below restores it.

diff --git a/common/libretro_core_options.h b/common/libretro_core_options.h
index 06974f6..1694bcf 100644
--- a/common/libretro_core_options.h
+++ b/common/libretro_core_options.h
@@ -94,16 +94,11 @@ struct retro_core_option_definition option_defs_us[] = {
       "Invert Y Axis",
       "Invert the gamepad right analog stick's Y axis.",
       {
-         { "0", NULL },
-         { "5", NULL },
-         { "10", NULL },
-         { "15",  NULL },
-         { "20",  NULL },
-         { "25",  NULL },
-         { "30",  NULL },
+         { "disabled",  "Disabled" },
+         { "enabled",   "Enabled" },
          { NULL, NULL },
       },
-      "15"
+      "disabled"
    },
    {
       "tyrquake_analog_deadzone",

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant