docs icon indicating copy to clipboard operation
docs copied to clipboard

[CONSULTATION NEEDED] Update input-controller-drivers.md: Updated the "Linux Controller Drivers" section

Open davidhedlund opened this issue 1 year ago • 4 comments

Not documented yet:

Please document the following controller drivers in this PR before we approve it:

Added "parport"

Available for RetroArch in the Flatpak, AppImage, or APT package formats.

Removed "hid"

Found via sudo apt-get install retroarch in Ubuntu MATE 22.04 but it's broken.[1] Not found in Ubuntu MATE 23.04 or 24.04. "hid" is not found in the Flatpak or AppImage packages.

Perhaps it is utilized by other distros? Can anyone else please confirm that it should be removed from the "Linux Controller Drivers" section?

I didn't remove "hid" from https://docs.libretro.com/guides/input-controller-drivers/#windows

1: a) Change the controller driver b) Restart RetroArch for the Setting to take effect. c) Settings -> Input -> Input User 1 Binds -> User 1 Bind All

Removed "xinput"

A proprietary controller driver developed by Microsoft not available for RetroArch in the Flatpak, AppImage, or APT package formats.

Can anyone else please confirm that it should be removed from the "Linux Controller Drivers" section?

I didn't remove "xinput" from https://docs.libretro.com/guides/input-controller-drivers/#windows

davidhedlund avatar Sep 03 '24 00:09 davidhedlund

According to configuration.c and input/drivers/x11_input.c, the x driver is the X11 input driver. Either there's a few things left over from back when the joypad and input drivers were a single setting, or there's something I've missed and it actually does use those 2 autoconfig files somehow... @RobLoach can you remember why you created those 2 files 7 years ago?

input/input_driver.c says hid is on any platform with libusb and threading, so Linux definitely has it.

There are actually at least 5 different XInput drivers for Linux: xboxdrv, xpad, xpadneo, xow, and xone. They're all accessed via udev though, so I think it's right to remove the xinput driver, yes.

landfillbaby avatar Sep 22 '24 07:09 landfillbaby

No recollection 🫠

RobLoach avatar Sep 22 '24 14:09 RobLoach

Anything that needs to be renamed/moved in auto config?

RobLoach avatar Sep 22 '24 14:09 RobLoach

I'm going to assume this can be merged without further delay.

If anything more needs to be done, send a new PR.

LibretroAdmin avatar Nov 24 '24 18:11 LibretroAdmin

input/input_driver.c says hid is on any platform with libusb and threading, so Linux definitely has it.

Should I restore "hid" for GNU/Linux (please see the changes)?

davidhedlund avatar Nov 24 '24 19:11 davidhedlund