I recently got the Winwing Ursa Minor Space L and Fighter R. My OS registers all buttons and axes in evtest. When I try to set up key binds in ED it doesn’t register most of the inputs from either stick. I have tried with steam input disabled and enabled, and it seems to not change anything.

I’m running Linux Mint 22.1. If any other info is helpful to troubleshoot, let me know.

  • ScrambledLogic@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    I don’t have experience with those particular sticks, but back when Elite only supported 32 buttons per device (I think they upped this to 128 a year or two ago) I used AntimicroX to map the buttons Elite couldn’t see to keyboard keys, which the game then allowed me to map. Might be worth trying in your case, too.

  • Beko Pharm@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    Hey. Only reading this now. The problem is that Wine or Proton love to default additional devices to XINPUT but what you really want is HID. This is set in the system reg file of the WINEPREFIX that Steam created. oc you must also disable controller remapping for the sticks in Steam. That’s Game Settings => Controller => Steam Input Deactivated.

    There are a couple of options to fix this. Locate the wine / proton prefix in question and set it to WINEPREFIX so wine can find it. Make sure the game is NOT running. Have an idea how this might look (you WILL have to adjust that path):

    export WINEPREFIX=/mnt/games/steamapps/compatdata/359320/pfx
    wine regedit
    

    This launches the registry editor. Now locate HKEY_LOCAL_MACHINE => System => CurrentControlSet => Enum

    Here are two categories: WINEBUS and WINEXINPUT. The joysticks are saved here as “VID_” + $VendorID + $ModelID.

    Check all for the key “Service” and make sure they are set to “winehid” and not “xinput”. Check all for the key “CompatibleIDs” and make sure they are set to “WINEBUS\WINE_COMP_HID” Check all for the key “Class” and make sure they are set to “HIDClass”

    You can prevent this somewhat with various DWORDs. See https://gitlab.winehq.org/wine/wine/-/wikis/Useful-Registry-Keys for reference.

    Particular useful are: “Enable SDL” = 0, “Map Controllers” = 0, “DisableHidraw” => 0

    You can also start the GameController Setup and set some of these here:

    export WINEPREFIX=/mnt/games/steamapps/compatdata/359320/pfx
    wine control
    

    If some device still shows up as XInput select it and click Override. Test on the DInput tab if everything works. Mind that some older Wine versions will only show 32 buttons but this is a graphical limitation and the buttons do register.

    When all that is done/checked quit all wine processes and try again with Steam.