mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Disable mFI secondary_joypad behavior (#16129)
Some controllers show up as both HID and mFI. In that case we probably want to let the user pick which driver to use, rather than balance across them. This fixes issues with the analog stick moving in the wrong direction on the y axis.
This commit is contained in:
parent
572b15a0e9
commit
e6eadecabd
@ -3717,7 +3717,7 @@ void joypad_driver_reinit(void *data, const char *joypad_driver_name)
|
||||
#endif
|
||||
if (!input_driver_st.primary_joypad)
|
||||
input_driver_st.primary_joypad = input_joypad_init_driver(joypad_driver_name, data);
|
||||
#ifdef HAVE_MFI
|
||||
#if 0
|
||||
if (!input_driver_st.secondary_joypad)
|
||||
input_driver_st.secondary_joypad = input_joypad_init_driver("mfi", data);
|
||||
#endif
|
||||
@ -3800,7 +3800,7 @@ void input_driver_init_joypads(void)
|
||||
input_driver_st.primary_joypad = input_joypad_init_driver(
|
||||
settings->arrays.input_joypad_driver,
|
||||
input_driver_st.current_data);
|
||||
#ifdef HAVE_MFI
|
||||
#if 0
|
||||
if (!input_driver_st.secondary_joypad)
|
||||
input_driver_st.secondary_joypad = input_joypad_init_driver(
|
||||
"mfi",
|
||||
|
Loading…
x
Reference in New Issue
Block a user