• Welcome to MX Bikes Official Forum. Please login or sign up.
 
August 26, 2019, 05:39:40 am

News:

MX Bikes beta11d available! :)


Input Plugins

Started by PiBoSo, April 21, 2014, 11:37:42 pm

Previous topic - Next topic

PiBoSo

April 21, 2014, 11:37:42 pm Last Edit: April 09, 2019, 04:30:32 pm by PiBoSo
It is possible to write a DLL that sends input data to MX Bikes.

The interface can be downloaded at: http://www.mx-bikes.com/?page=downloads

Please note that all function calls are blocking, so control should be returned to simulation as soon as possible to avoid framerate issues.

The DLL must be compiled for 64 bit.

The plugin must have the file extension renamed to DLI and it must be copied to the "plugins" directory in MX Bikes installation folder.

PiBoSo


Source code updated to the latest interface.

PiBoSo


Please note that, starting with Beta8, input plugins must be compiled for 64 bit.

Azazel

Hi,

Is it possible to add more details to explain how to use this plugin.

I think to use for example, to change automatically camera in game to using SControllerData_t.

I try to use it, but I think I misunderstood what it's all about.

Thanks