Community Forum

FS19 Modding - Set controller axis and get usb information from windows

Forum Overview >> Editor

CategoryEditor
Created15.12.2018 11:10


Matt Bert (Unknown) 15.12.2018 11:10
Hi guys,
I made a button box with 28 button and 3 joysticks using arduino and Joystick library that work very well with FS17 (that emulate 3 joysticks) but FS19 recognise the 3 joysticks but won't update it from usb.So, I want to create a mod that take a message from usb port (I will change my program on my arduino card and stop emulating the 3 joysticks) and set FS19 axis in game. How I can do this because I can't find how to emulate pressed key in FS engine (I think it's an hidden feature) and how I can get USB information from windows?
Thanks you in advance

EDIT : I found how read the USB port, now I just need to know how to emulate pressed key in FS engine

Bilbo Beutlin (BBeutlin) 15.12.2018 14:40
There are guides in web how to program arduino (and similiar) to emulate a game controller as usual USB device.
If it follows the DirectX input guidelines (see Microsoft) it should be accepted by the FS as gamecontroller.

Matt Bert (Unknown) 15.12.2018 15:25
It's not detected by FS19, this is the problem (it's a bug already reported to the dev). I found how read the USB port, now I just need to know how to emulate pressed key in FS engine

Bilbo Beutlin (BBeutlin) 15.12.2018 16:27
What about Windows? Is it accepted as game controller and does all work in test?
If yes, try to setup a translation table according to FS19\shared\inputDevices.

Matt Bert (Unknown) 16.12.2018 11:46
I think I not describe very well my problem so let's start over : I made a button box that work very well with FS17 (that emulate 3 joysticks) but FS19 recognise the 3 joysticks but won't update it from usb (but windows get update . So yes I think I need to do something like a translation table but I don't know how. And what is FS19\shared\inputDevices? (I'm completely new with FS modding)


Note: Log in to post. Create a new account here.