PS4/DS4 Controller axis Trigger/Brake Mapping (MAC)

Post anything about MX Simulator here. Please. I'm begging you.
Post Reply
Guggen
Posts: 123
Joined: Sun Mar 03, 2013 10:07 pm
Team: Privateer

PS4/DS4 Controller axis Trigger/Brake Mapping (MAC)

Post by Guggen »

The time has finally come! I have been trying to figure out how to turn my triggers into axis for litterally years now, and mostly thanks to this older post: http://forum.mxsimulator.com/viewtopic.php?f=1&t=26586, I was able to figure out how to do this and of course will work on a MAC.

All that is needed is to locate your config file open it up with Text Edit and replace these lines (Depending on how you installed MXS on your MAC, your config location will differ.)

Code: Select all

throttle_key=(k)Joystick0 button X
front_brake_key=(k)Joystick0 button X
with this (Axis 5 on my computer is R2 and Axis 4 is L2.)

Code: Select all

throttle_key=(-1.000000,1.000000)Joystick0 axis 5
front_brake_key=(-1.000000,1.000000)Joystick0 axis 4
Note: This only worked for DS4 controller and not DS3. I tested DS3 but had no luck.

Let me know if this works for any of you MAC users. My setup is currently using Wineskin and my controller is connected via bluetooth.
BilabongAthlete
Posts: 24
Joined: Fri Jan 15, 2016 2:20 am

Re: PS4/DS4 Controller axis Trigger/Brake Mapping (MAC)

Post by BilabongAthlete »

It worked !! thank you so much ! whats weird is that you have to put axis 5 and 4 when in reality they are 6 and 7 as buttons but thanks again !
lipps199
Posts: 30
Joined: Sun Jun 21, 2015 4:47 pm
Team: Privateer

Re: PS4/DS4 Controller axis Trigger/Brake Mapping (MAC)

Post by lipps199 »

Guggen wrote:The time has finally come! I have been trying to figure out how to turn my triggers into axis for litterally years now, and mostly thanks to this older post: http://forum.mxsimulator.com/viewtopic.php?f=1&t=26586, I was able to figure out how to do this and of course will work on a MAC.

All that is needed is to locate your config file open it up with Text Edit and replace these lines (Depending on how you installed MXS on your MAC, your config location will differ.)

Code: Select all

throttle_key=(k)Joystick0 button X
front_brake_key=(k)Joystick0 button X
with this (Axis 5 on my computer is R2 and Axis 4 is L2.)

Code: Select all

throttle_key=(-1.000000,1.000000)Joystick0 axis 5
front_brake_key=(-1.000000,1.000000)Joystick0 axis 4
Note: This only worked for DS4 controller and not DS3. I tested DS3 but had no luck.

Let me know if this works for any of you MAC users. My setup is currently using Wineskin and my controller is connected via bluetooth.
Can you help me located the config folder on Mac? I used wine bottler and I dont have a personal folder. Please help me with this! Thanks!
lipps199
Posts: 30
Joined: Sun Jun 21, 2015 4:47 pm
Team: Privateer

Re: PS4/DS4 Controller axis Trigger/Brake Mapping (MAC)

Post by lipps199 »

Guggen wrote:The time has finally come! I have been trying to figure out how to turn my triggers into axis for litterally years now, and mostly thanks to this older post: http://forum.mxsimulator.com/viewtopic.php?f=1&t=26586, I was able to figure out how to do this and of course will work on a MAC.

All that is needed is to locate your config file open it up with Text Edit and replace these lines (Depending on how you installed MXS on your MAC, your config location will differ.)

Code: Select all

throttle_key=(k)Joystick0 button X
front_brake_key=(k)Joystick0 button X
with this (Axis 5 on my computer is R2 and Axis 4 is L2.)

Code: Select all

throttle_key=(-1.000000,1.000000)Joystick0 axis 5
front_brake_key=(-1.000000,1.000000)Joystick0 axis 4
Note: This only worked for DS4 controller and not DS3. I tested DS3 but had no luck.

Let me know if this works for any of you MAC users. My setup is currently using Wineskin and my controller is connected via bluetooth.
I dont have a personal folder on my mac. I cannot located to config file. Could you help me out?

Thanks
Post Reply