xarcade-xinput icon indicating copy to clipboard operation
xarcade-xinput copied to clipboard

Ability to Give Controllers Unique IDs or Names

Open UncleLeoTheDad opened this issue 4 years ago • 1 comments

Currently when you map more than one controller, you provide an index:

{
    "LShiftKey": [0, "A"],
    "Z": [0, "B"],
    "LControlKey": [0, "X"],
    "LMenu": [0, "Y"],

    "D1": [0, "Start"],
    "D5": [0, "Back"],
    
    "Up": [0, "Up"],
    "Down": [0, "Down"],
    "Left": [0, "Left"],
    "Right": [0, "Right"],

    "Space": [0, "RightBumper"],
    "X": [0, "RightTrigger"],



    "W": [1, "A"],
    "C": [1, "B"],
    "A": [1, "X"],
    "S": [1, "Y"],

    "D2": [1, "Start"],
    "D6": [1, "Back"],
    
    "R": [1, "Up"],
    "F": [1, "Down"],
    "D": [1, "Left"],
    "G": [1, "Right"],

    "Q": [1, "RightBumper"],
    "T": [1, "RightTrigger"],
    ...
}

However, when the controller is created in Windows, it shows up with the same exact same device name: image

The only way to see the difference between these two is by digging into the Hardware tab: image

But it would be great if the NAME would differ so you could reliably refer to them and program them in other apps like Steam: image

Thanks!

UncleLeoTheDad avatar Jan 14 '21 22:01 UncleLeoTheDad

The driver this project uses doesn't allow for anything like that unfortunately.

mikew avatar Jan 14 '21 23:01 mikew