Xbox Controller now working - FS22 Mac M1 Pro
Xbox Controller now working - FS22 Mac M1 Pro
I cannot get FS22 to recognize my Xbox Series S/X Wireless controller attached to my Macbook Pro M1 Pro. The Macbook sees it and I can use it to start Launchpad and start the game but nothing works in the game. I won't even let me assign the buttons on the gamepad setup screen.
Has anyone else gotten an Xbox controller to work on the Mac version? FS22 is showing as a "Universal" application and is not running under Rosetta and I would like to keep it that way.
Has anyone else gotten an Xbox controller to work on the Mac version? FS22 is showing as a "Universal" application and is not running under Rosetta and I would like to keep it that way.
Re: Xbox Controller now working - FS22 Mac M1 Pro
Hello and welcome to the forum!
If the controller is detected correcxtly by the OS and can be used in other games then it should work in FS22 as well.
You can check in the log.txt of the game if the controller is detected correctly as a gamepad.
If it is not listed there at all, or the type is shown as 'UNKNOWN' instead of 'GAMEPAD', I'd recommend to open a report in the GIANTS bug tracker for this: https://feedback.giants-software.com/login_page.php
If the controller is detected correcxtly by the OS and can be used in other games then it should work in FS22 as well.
You can check in the log.txt of the game if the controller is detected correctly as a gamepad.
If it is not listed there at all, or the type is shown as 'UNKNOWN' instead of 'GAMEPAD', I'd recommend to open a report in the GIANTS bug tracker for this: https://feedback.giants-software.com/login_page.php
Gruß/Regards,
don_apple
Apple iMac 27" (2017), Quad-Core i7 4.2 GHz, 48GB, AMD Radeon R580 8GB
Bitte benutzt das öffentliche Forum für Supportfragen und nicht PN/Please use the public forum for support questions and not PM
FS22 Bugtracker log.txt Image Server Forenregeln Board rules
don_apple
Apple iMac 27" (2017), Quad-Core i7 4.2 GHz, 48GB, AMD Radeon R580 8GB
Bitte benutzt das öffentliche Forum für Supportfragen und nicht PN/Please use the public forum for support questions and not PM
FS22 Bugtracker log.txt Image Server Forenregeln Board rules
Re: Xbox Controller now working - FS22 Mac M1 Pro
It shows up as being recognized in log.txt but the category is UNKNOWN.
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Devices:
Xbox One Series X Controller (VID: 0B13 PID: 045E VER: FFFF Cat: UNKNOWN)
Number of Axes: 6
Number of Buttons: 15
I will open a report in the bug tracker for this. Thanks for the help!
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Devices:
Xbox One Series X Controller (VID: 0B13 PID: 045E VER: FFFF Cat: UNKNOWN)
Number of Axes: 6
Number of Buttons: 15
I will open a report in the bug tracker for this. Thanks for the help!
Re: Xbox Controller now working - FS22 Mac M1 Pro
With nothing to do on a holiday I did a little more digging.. I added the following line to /Applications/Farming Simulator 2022.app/Contents/Resources/shared/inputDevices/XboxOneWiredController.xml to match the values it was seeing on startup.
<productKey productId="0B13" vendorId="045E" /> <!-- Xbox One Series X wireless -->
I then removed the inputBinding.xml file in /Users/myuser/Library/Application Support/FarmingSimulator2022 and let it build a new inputBinding.xml and refresh the XML files in inputDevices directory. It now recognizes the device as a GAMEPAD in log.txt (see below) and the controls are mapped in Gamepad settings within FS22 (verses being blank before). But, it still does not work in the game. Dang, thought I had it. I will update all of this in my bug tracker case.
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Devices:
Xbox One Series X Controller (VID: 0B13 PID: 045E VER: FFFF Cat: GAMEPAD)
Number of Axes: 6
Number of Buttons: 15
<productKey productId="0B13" vendorId="045E" /> <!-- Xbox One Series X wireless -->
I then removed the inputBinding.xml file in /Users/myuser/Library/Application Support/FarmingSimulator2022 and let it build a new inputBinding.xml and refresh the XML files in inputDevices directory. It now recognizes the device as a GAMEPAD in log.txt (see below) and the controls are mapped in Gamepad settings within FS22 (verses being blank before). But, it still does not work in the game. Dang, thought I had it. I will update all of this in my bug tracker case.
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Devices:
Xbox One Series X Controller (VID: 0B13 PID: 045E VER: FFFF Cat: GAMEPAD)
Number of Axes: 6
Number of Buttons: 15
-
- Posts: 2
- Joined: Tue Aug 20, 2019 10:35 am
Re: Xbox Controller now working - FS22 Mac M1 Pro
On my iMac this works, I have changed this in the XboxOneWiredController.xml:
<productKey productId="02FD" vendorId="045E" /> <!-- Xbox One Series X wireless -->
<productName vendorId="045E">
<keyword text="Xbox" />
<keyword text="One" />
<keyword text="S" />
<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="4" logical="8" label="Start" />
<buttonMapping physical="6" logical="9" 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>
Now showing in log:
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Devices:
Xbox One S Controller (VID: 02FD PID: 045E VER: FFFF Cat: GAMEPAD)
Number of Axes: 6
Number of Buttons: 15
<productKey productId="02FD" vendorId="045E" /> <!-- Xbox One Series X wireless -->
<productName vendorId="045E">
<keyword text="Xbox" />
<keyword text="One" />
<keyword text="S" />
<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="4" logical="8" label="Start" />
<buttonMapping physical="6" logical="9" 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>
Now showing in log:
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Devices:
Xbox One S Controller (VID: 02FD PID: 045E VER: FFFF Cat: GAMEPAD)
Number of Axes: 6
Number of Buttons: 15
Re: Xbox Controller now working - FS22 Mac M1 Pro
I got a note on the issue ticket I have open with Giants for this. It is fixed in an upcoming patch.
Re: Xbox Controller now working - FS22 Mac M1 Pro
Following the advice above, I managed to get FS22 to recognise inputs from my Elite 2 controller by changing the name in the XboxOneWiredController.xml file, but I was unable to get the game to recognise inputs from my standard xbox series x controller - even when matching the name in the game's log.txt file (it is showing in the log.txt with the correct name and as a gamepad).
My issue now is that the controller (Elite 2) bindings are incorrect in the game - when mapping via the main menu options, if you press for example "LB" it registers it as the "BACK" button. The only buttons that are correct are "A","B","X","Y" and the stick axis, in addition the game's log file states the controller has 19 inputs when I believe it only has 16. I used the gamepad tester (https://gamepad-tester.com) and all of the buttons are working correctly (plus I can use both on xbox cloud gaming without issue) - furthermore the bindings in the XboxOneWiredController.xml file all seem to be normal with the correct labelling with the button numbers.
So I've resorted to manually mapping everything, which is taking some time - plus I'm not sure how the menu /controller help labels will be post mapping.
Any ideas?
Any update on when the patch will be released?
On a positive, the game looks and performs brilliant so far on the 2021 MacBook Pro 14". Comparing side by side its looks just as good as the Xbox series X connected to a 4K HDR TV.
My issue now is that the controller (Elite 2) bindings are incorrect in the game - when mapping via the main menu options, if you press for example "LB" it registers it as the "BACK" button. The only buttons that are correct are "A","B","X","Y" and the stick axis, in addition the game's log file states the controller has 19 inputs when I believe it only has 16. I used the gamepad tester (https://gamepad-tester.com) and all of the buttons are working correctly (plus I can use both on xbox cloud gaming without issue) - furthermore the bindings in the XboxOneWiredController.xml file all seem to be normal with the correct labelling with the button numbers.
So I've resorted to manually mapping everything, which is taking some time - plus I'm not sure how the menu /controller help labels will be post mapping.
Any ideas?
Any update on when the patch will be released?
On a positive, the game looks and performs brilliant so far on the 2021 MacBook Pro 14". Comparing side by side its looks just as good as the Xbox series X connected to a 4K HDR TV.
Re: Xbox Controller now working - FS22 Mac M1 Pro
So disappointing that my XBox wireless controller is still not working after the patch today. I'm not having luck following the advice on here. Macbook Pro M1MAX.
Anyone get theirs working with today's patch? Any additional instructions?
Anyone get theirs working with today's patch? Any additional instructions?
Re: Xbox Controller now working - FS22 Mac M1 Pro
Yes, it is working for me, definitely different to before the patch.
Needed to adapt the file for the input device (add the 0B13 device identifier and some remapping of the buttons).
Just put this definition into the "inputDevicesManual" Folder.
Needed to adapt the file for the input device (add the 0B13 device identifier and some remapping of the buttons).
Just put this definition into the "inputDevicesManual" Folder.
- Attachments
-
- XboxOneWirelessController.xml
- (1.94 KiB) Downloaded 761 times
Re: Xbox Controller now working - FS22 Mac M1 Pro
You definitely have to do some manual changes to get the controller to work after the update. They updated the master configuration file under the application package folder but the update does not update the ones under your User login. if you copy the XboxOneWirelessController.xml to the inputDevices folder under your user login it will overwrite them every time on startup whenever the date changes. It is writing out the old file without the changes from the update. I have no idea where it gets it from though. I would have thought it would copy the one from the application package there. If you remove the inpuDevices folder under User folder it will create it but still does not have the change from the update.
After it updates the XboxOneWiredController.xml file, the games sees the controller but the mapping is all wrong and it acts like the right joystick is stuck and the view just keeps spinning in circles. I'm going to try putting the XboxOneWiredController.xml file in the inputDevicesManual folder under the User and see if that fixes it.
After it updates the XboxOneWiredController.xml file, the games sees the controller but the mapping is all wrong and it acts like the right joystick is stuck and the view just keeps spinning in circles. I'm going to try putting the XboxOneWiredController.xml file in the inputDevicesManual folder under the User and see if that fixes it.
Last edited by DanDanTMM on Mon Dec 20, 2021 7:10 am, edited 1 time in total.
Re: Xbox Controller now working - FS22 Mac M1 Pro
Copying the XboxOneWiredController.xml from the application package folder to inputDevicesManual under the FS22 folder in the users folder seems to have it working now. Will have to see what happens tomorrow, but it was getting the spinning view issue so I quit FS22, copied the file, and then restarted and now it seems to be working correctly.
I copied this file: /Applications/Farming Simulator 2022.app/Contents/Resources/shared/inputDevices/XboxOneWiredController.xml
to this folder: /Users/<my user>/Library/Application Support/FarmingSimulator2022/inputDevicesManual
I copied this file: /Applications/Farming Simulator 2022.app/Contents/Resources/shared/inputDevices/XboxOneWiredController.xml
to this folder: /Users/<my user>/Library/Application Support/FarmingSimulator2022/inputDevicesManual
Re: Xbox Controller now working - FS22 Mac M1 Pro
DanDanTMM - what device ID does your controller have? For me it is recognized as 0B13.
Indeed, the file (that you adapt) should be copied to inputDevicesManual. What I also did see - in case some buttons are wrongly assigned (for whatever reason !?!?!) you only should adapt the physical id of the button - the logical ID seems to be used internally for the default mapping.
So what I did: I first just added the 0B13 in my own "input device" file. Then I tested the buttons in the game to find out what key is mapped to what.
After that I just changed the physical assignment to the right ones.
Indeed, the file (that you adapt) should be copied to inputDevicesManual. What I also did see - in case some buttons are wrongly assigned (for whatever reason !?!?!) you only should adapt the physical id of the button - the logical ID seems to be used internally for the default mapping.
So what I did: I first just added the 0B13 in my own "input device" file. Then I tested the buttons in the game to find out what key is mapped to what.
After that I just changed the physical assignment to the right ones.
Re: Xbox Controller now working - FS22 Mac M1 Pro
Mine is 0B13 as well. I tweaked the buttons in the game too. Things are working ok for me now.
-
- Posts: 2
- Joined: Tue Aug 20, 2019 10:35 am
Re: Xbox Controller now working - FS22 Mac M1 Pro
Hi Lads, made a new file XboxOneSController.xml and put it in the inputDevicesManual folder
First I copy this one in the input folder, but every time I newly started the game, it deleted itself...?
Now in the manual folder it stays and work fine every time.
The settings may not all be as before, but is perfectly playable.
XML file content see below:
<deviceMapping backends="rawInput;directInput;macosXSdl">
<productKey productId="02D1" vendorId="045E" /> <!-- Xbox One original firmware -->
<productKey productId="02DD" vendorId="045E" /> <!-- Xbox One 2015 firmware -->
<productKey productId="02E3" vendorId="045E" /> <!-- Xbox One Elite -->
<productKey productId="02EA" vendorId="045E" /> <!-- Xbox One S -->
<productKey productId="028E" vendorId="045E" /> <!-- Xbox 360 -->
<productKey productId="02FF" vendorId="045E" /> <!-- Xbox One wireless -->
<productKey productId="02FD" vendorId="045E" /> <!-- Xbox One Series X wireless -->
<productName vendorId="045E">
<keyword text="Xbox" />
<keyword text="One" />
<keyword text="S" />
<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="4" logical="8" label="Start" />
<buttonMapping physical="6" logical="9" 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="RT" />
<axisMapping physical="RZ" logical="10" scale="-1" offset="0" label="LT" />
<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>
First I copy this one in the input folder, but every time I newly started the game, it deleted itself...?
Now in the manual folder it stays and work fine every time.
The settings may not all be as before, but is perfectly playable.
XML file content see below:
<deviceMapping backends="rawInput;directInput;macosXSdl">
<productKey productId="02D1" vendorId="045E" /> <!-- Xbox One original firmware -->
<productKey productId="02DD" vendorId="045E" /> <!-- Xbox One 2015 firmware -->
<productKey productId="02E3" vendorId="045E" /> <!-- Xbox One Elite -->
<productKey productId="02EA" vendorId="045E" /> <!-- Xbox One S -->
<productKey productId="028E" vendorId="045E" /> <!-- Xbox 360 -->
<productKey productId="02FF" vendorId="045E" /> <!-- Xbox One wireless -->
<productKey productId="02FD" vendorId="045E" /> <!-- Xbox One Series X wireless -->
<productName vendorId="045E">
<keyword text="Xbox" />
<keyword text="One" />
<keyword text="S" />
<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="4" logical="8" label="Start" />
<buttonMapping physical="6" logical="9" 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="RT" />
<axisMapping physical="RZ" logical="10" scale="-1" offset="0" label="LT" />
<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>
West Cork Vince wrote: ↑Fri Nov 26, 2021 9:20 pm On my iMac this works, I have changed this in the XboxOneWiredController.xml:
<productKey productId="02FD" vendorId="045E" /> <!-- Xbox One Series X wireless -->
<productName vendorId="045E">
<keyword text="Xbox" />
<keyword text="One" />
<keyword text="S" />
<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="4" logical="8" label="Start" />
<buttonMapping physical="6" logical="9" 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>
Now showing in log:
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Devices:
Xbox One S Controller (VID: 02FD PID: 045E VER: FFFF Cat: GAMEPAD)
Number of Axes: 6
Number of Buttons: 15
Re: Xbox Controller now working - FS22 Mac M1 Pro
Everything stated above doesnt work for me. Im on Mac mini M1. I tried all steps that are listed above. But i cant edit xml files for some reason.
I downloaded the XML that someone above posted but still nothing works.
Im using a Xbox Elite Series 2 Controller. It doesnt work wireless nor wired. On Nvidia Geforce Now it works perfectly fine with a cable and FS22.
But Native i cant get anything running. My old Controller the Elite Series 1 is also not working.
Can anyone help me or provide the xml files i need since i cant edit them?
I downloaded the XML that someone above posted but still nothing works.
Im using a Xbox Elite Series 2 Controller. It doesnt work wireless nor wired. On Nvidia Geforce Now it works perfectly fine with a cable and FS22.
But Native i cant get anything running. My old Controller the Elite Series 1 is also not working.
Can anyone help me or provide the xml files i need since i cant edit them?