Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Mapping XBox One controller triggers not working


Recommended Posts

Posted

I'm trying to use my XBox One controller via USB with Pinball X. In the setup program under Joystick Input settings, when I try to bind Left & Right to the controller's Left & Right Trigger buttons, nothing happens. I click the 3 dots, it says Press a button..., I press left or right trigger, and then the dialog disappears but nothing gets bound, or at least the text box is empty. All other buttons on the controller appear to bind correctly.

 

Using latest Pinball X as of this post date (6.87). Trying to do this via the Settings.exe app.

Posted

I don't have an xbox one controller to check, but thought Tom is using Xinput so all buttons should work.
Can you check if showjoypad.exe that is in @joyrider3774his PinballX launcher shows any button ?   https://github.com/joyrider3774/PinballX_Launcher_app


Anything saved in your pinballX.ini ?
Sometimes this will help as well : https://github.com/csutorasa/XOutput

Posted

Also, please attach copies of your pinballx.ini and log.txt files whenever reporting an issue or requesting assistance!

  • Like 1
Posted

Attached ini and logs

There's nothing in the ini for those binds under the joystick section.

ShowJoypad.exe only shows a change in Joypad Z-Axis (Value = 2). Left is "1", Right is "-1"

Also my PinballX.ini is named PinballX-PC.ini because I git control my Pinball X media + configs for my main PC and my virtual cab, and I symlink PinballX.ini to one of these configs. Symlinking looks like it works fine.

PinballX-PC.ini log.txt SetupWizard.log

Posted

I don't use an xbox controller, but i suspect as the axis controls are analogue (not just on/off like buttons) you'll need to use something like joytokey to map them to keyboard inputs.

  • Like 1
Posted
54 minutes ago, Storm312 said:

On this site: Gamepad Tester - Check Controllers and Joysticks Online it says

Xbox 360 Controller

XInput STANDARD GAMEPAD

Left trigger is "B6" (0.0-1.0) and right trigger is "B7" (0.0 - 1.0)

 

That's exactly the issue I wanted to point you to in the first place.

And as scutters said, the buttons are seen as axes and not binary.

See https://www.reddit.com/r/xbox/comments/qer8pv/xbox_controller_right_and_left_trigger_merged/

the tool I mentioned before should help you with it. 

Posted

It looks like Joy2Key solves my issue. I load a profile for PinballX.exe and Settings.exe that maps the triggers to Left and Right arrow keys. Fortunately, the profile switching works with focus change, so in game I don't need to remap anything while PinballX is in the background.

If the problem is axes related, why do the bindings for the controller sticks left & right seem to work? I could bind the left/right to left control stick left and right and it works when scrolling tables. Judging by the reddit post it seems like a complicated issue.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...