-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[IMPORTANT] Document that input_device
is utilized by the android, and sdl2 controller drivers
#16920
Comments
input_device
in autoconfig files generated by the android, and sdl2 controller driversinput_device
in autoconfig files generated by the android, and sdl2 controller drivers
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - libretro/RetroArch#16920
SDL joypad driver seems to handle name along with vendor / product IDs: RetroArch/input/drivers_joypad/sdl_joypad.c Line 155 in 329b16d
Android also fills the name, it even has some extra processing for that field: RetroArch/input/drivers/android_input.c Line 1330 in 329b16d
These drivers are operating the same way as udev in #16904, adding all possible identification info for the structure, so it seems to be correct. |
input_device
in autoconfig files generated by the android, and sdl2 controller driversinput_device
is utilized by the android, and sdl2 controller drivers
Thank you very much for taking the time to assist Zoltanvb! |
Description
The
input_device
is utilized by the udev and linuxraw controller drivers, whileinput_vendor_id
andinput_product_id
are not used by these drivers. Conversely, theinput_vendor_id
andinput_product_id
are used by the Android and SDL2 controller drivers, whereinput_device
is not utilized. This discrepancy is highlighted in the related issue #16904.Expected behavior
The "Save Controller Profile" feature should not add
input_device
to the autoconfig file when using Android or SDL2 drivers.Actual behavior
Currently, "Save Controller Profile" adds
input_device
to the autoconfig file, which is unnecessary for Android and SDL2 drivers.Steps to reproduce the bug
Example of a Sony DualSense generated file called "PS5 Controller.cfg":
input_device
is redundant.Version/Commit
The text was updated successfully, but these errors were encountered: