csutorasa/XOutput

Can i map a dpad-stick to analog-stick?

747DB66FBC opened this issue · 3 comments

Hi,

by the way: thanks for the great tool!

I have an "pc-modded" arcade cab (Legends Ultimate) and try to map the dpad Sticks i. e. P1 to the emulated analog controlstick, but without luck. The emulated stick is not centered. I think cause of the mapping -> "one dpad direction" to one axsis.. Maybe I missed something?

It happens to me too. As i remember, what i did is edit the .ini file and set the value of axis to -1.0 and 1.0 or -100 and 100. Can't clearly remember the value but that is the fix i found

@lesliehu16 Thanks for the hint.

Finally, i've managed to map a dpad-stick to an emulated analog one by looking into the config file "settings.json" and some trial and error:

grafik

This is just a work-around. The possibility of mapping d-pad to analog stick in the UI is still malfunctioning.

imedox commented

for me with keyboard it work well with Z,S,Q,D keys

    "LX": {
      "Mappers": [
       {
           "InputDevice": "Keyboard",
           "InputType": "60",
           "MinValue": 0.5,
           "MaxValue": -0.5,
           "Deadzone": 0.0
       },
       {
           "InputDevice": "Keyboard",
           "InputType": "47",
           "MinValue": 0.0,
           "MaxValue": 2.0,
           "Deadzone": 0.0
       }
     ],
     "CenterPoint": 0.0
    },
    "LY": {
      "Mappers": [
       {
           "InputDevice": "Keyboard",
           "InputType": "62",
           "MinValue": 0.5,
           "MaxValue": -0.5,
           "Deadzone": 0.0
       },
       {
           "InputDevice": "Keyboard",
           "InputType": "69",
           "MinValue": 0.0,
           "MaxValue": 2.0,
           "Deadzone": 0.0
       }
     ],
     "CenterPoint": 0.0        
    },