Xbox Controller now working - FS22 Mac M1 Pro

ntrmnd
Posts: 2
Joined: Thu Apr 21, 2022 5:47 pm

Re: Xbox Controller now working - FS22 Mac M1 Pro

Post by ntrmnd »

Update on my Post above:
Controller is working now except the triggers. I can remap all buttons on the controller but the triggers wont be recognised.

anyone got a fix for that or a mapping i could use?
hpz937
Posts: 5
Joined: Thu Apr 11, 2019 6:15 pm

Re: Xbox Controller now working - FS22 Mac M1 Pro

Post by hpz937 »

I had a slight tweak to get all my buttons correct as well as the triggers for a series x controller.

Create file XboxSeriesXWirelessController.xml

Code: Select all

<deviceMapping backends="rawInput;directInput;macosXSdl">
    <productKey productId="0B13" vendorId="045E" /> <!-- Xbox One Series X wireless -->
    <productName vendorId="045E">
        <keyword text="xbox" />
        <keyword text="series x" />
        <keyword text="wireless" />
        <keyword text="controller" />
    </productName>
    <category>gamepad</category>  <!-- gamepad, wheel, joystick, farmWheel, farmSidePanel -->
    <buttonMappings>
        <buttonMapping physical="0" logical="1" label="A" />
        <buttonMapping physical="1" logical="2" label="B" />
        <buttonMapping physical="2" logical="0" label="X" />
        <buttonMapping physical="3" logical="3" label="Y" />
        <buttonMapping physical="9" logical="4" label="LB" />
        <buttonMapping physical="10" logical="5" label="RB" />
        <buttonMapping physical="7" logical="10" label="LS" />
        <buttonMapping physical="8" logical="11" label="RS" />
        <buttonMapping physical="6" logical="9" label="Start" />
        <buttonMapping physical="4" logical="8" label="Back" />
        <buttonMapping physical="5" logical="12" label="PS" />
        <buttonMapping physical="11" logical="16" label="DP-Up"/>
        <buttonMapping physical="12" logical="18" label="DP-Down"/>
        <buttonMapping physical="13" logical="19" label="DP-Left"/>
        <buttonMapping physical="14" logical="17" label="DP-Right"/>
    </buttonMappings>
    <axisMappings>
        <axisMapping physical="Z" logical="11" scale="-1" offset="0" label="LT" />
        <axisMapping physical="RZ" logical="10" scale="-1" offset="0" label="RT" />
        <axisMapping physical="X" logical="0" scale="1" offset="0" label="LS-X" />
        <axisMapping physical="Y" logical="1" scale="1" offset="0" label="LS-Y" />
        <axisMapping physical="RX" logical="2" scale="1" offset="0" label="RS-X" />
        <axisMapping physical="RY" logical="3" scale="1" offset="0" label="RS-Y" />
    </axisMappings>
</deviceMapping>
edit: updated file
John22132
Posts: 1
Joined: Sat Jun 18, 2022 11:16 pm

Re: Xbox Controller now working - FS22 Mac M1 Pro

Post by John22132 »

Has anyone got their x-box controllers to work with an M1 Mac? Which controllers do work with an M1 Mac and FS22? Thanks very much for the above tips. I’ve tried but to no avail.
jano90
Posts: 1
Joined: Mon Oct 24, 2022 7:33 pm

Re: Xbox Controller now working - FS22 Mac M1 Pro

Post by jano90 »

Great!!!! Thanks a lot ;-)
On my MacBook Air M1 2020 it works!

I have uploaded the file which you have to create like hpz937 has written. You must save it in the folder "inputDevices"

The path is: "/Users/YOURUSERNAME/Library/Application Support/FarmingSimulator2022/inputDevices"
But maybe it's different when installed via Steam. Just google it.

If you have already changed the "XboxOneWiredController.xml" with the additional Series X controller, you have to delete the line:

<productKey productId="0B13" vendorId="045E" /> <!-- Xbox One Series X wireless -->

After all I deleted the "inputBinding.xml" and started the game. LB and so on will work correctly!

hpz937 wrote: Fri Apr 29, 2022 4:27 am I had a slight tweak to get all my buttons correct as well as the triggers for a series x controller.

Create file XboxSeriesXWirelessController.xml

Code: Select all

<deviceMapping backends="rawInput;directInput;macosXSdl">
    <productKey productId="0B13" vendorId="045E" /> <!-- Xbox One Series X wireless -->
    <productName vendorId="045E">
        <keyword text="xbox" />
        <keyword text="series x" />
        <keyword text="wireless" />
        <keyword text="controller" />
    </productName>
    <category>gamepad</category>  <!-- gamepad, wheel, joystick, farmWheel, farmSidePanel -->
    <buttonMappings>
        <buttonMapping physical="0" logical="1" label="A" />
        <buttonMapping physical="1" logical="2" label="B" />
        <buttonMapping physical="2" logical="0" label="X" />
        <buttonMapping physical="3" logical="3" label="Y" />
        <buttonMapping physical="9" logical="4" label="LB" />
        <buttonMapping physical="10" logical="5" label="RB" />
        <buttonMapping physical="7" logical="10" label="LS" />
        <buttonMapping physical="8" logical="11" label="RS" />
        <buttonMapping physical="6" logical="9" label="Start" />
        <buttonMapping physical="4" logical="8" label="Back" />
        <buttonMapping physical="5" logical="12" label="PS" />
        <buttonMapping physical="11" logical="16" label="DP-Up"/>
        <buttonMapping physical="12" logical="18" label="DP-Down"/>
        <buttonMapping physical="13" logical="19" label="DP-Left"/>
        <buttonMapping physical="14" logical="17" label="DP-Right"/>
    </buttonMappings>
    <axisMappings>
        <axisMapping physical="Z" logical="11" scale="-1" offset="0" label="LT" />
        <axisMapping physical="RZ" logical="10" scale="-1" offset="0" label="RT" />
        <axisMapping physical="X" logical="0" scale="1" offset="0" label="LS-X" />
        <axisMapping physical="Y" logical="1" scale="1" offset="0" label="LS-Y" />
        <axisMapping physical="RX" logical="2" scale="1" offset="0" label="RS-X" />
        <axisMapping physical="RY" logical="3" scale="1" offset="0" label="RS-Y" />
    </axisMappings>
</deviceMapping>
edit: updated file
Attachments
XboxSeriesXWirelessController.xml
(1.95 KiB) Downloaded 352 times
Filefolder3
Posts: 9
Joined: Wed Jun 10, 2020 3:05 am

Re: Xbox Controller now working - FS22 Mac M1 Pro

Post by Filefolder3 »

I have tried all the steps you went through and I still can't get it to work. I have the Elite 2 on an M2 air. Doesn't recognize the triggers. Also the 4 paddles all seem to be the same input. Any tips?
Chatter86
Posts: 1
Joined: Mon Sep 11, 2023 4:15 pm

Re: Xbox Controller now working - FS22 Mac M1 Pro

Post by Chatter86 »

Following all of these steps finally worked for me on my M2 with the Series X Wireless controller. Thank you!
vajkooo
Posts: 1
Joined: Fri Nov 17, 2023 8:08 pm

Re: Xbox Controller now working - FS22 Mac M1 Pro

Post by vajkooo »

Hi, I have problem with elite2 xbox controller. Do anybody have xml file for this controller, please?

Thanks.
jtonofrey
Posts: 8
Joined: Mon Feb 05, 2024 1:10 pm

Re: Xbox Controller now working - FS22 Mac M1 Pro

Post by jtonofrey »

I to am wonder about an xml for elite2 controller
Post Reply