Skip to content
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

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

Open
747DB66FBC opened this issue May 9, 2023 · 3 comments
Open

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

747DB66FBC opened this issue May 9, 2023 · 3 comments

Comments

@747DB66FBC
Copy link

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?

@lesliehu16
Copy link

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

@747DB66FBC
Copy link
Author

@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
Copy link

imedox commented Jul 3, 2023

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        
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants